Searched refs:adType (Results 1 – 1 of 1) sorted by relevance
320 def encode(self, adType, *args): argument324 if ( adType == ADType.TX_POWER_LEVEL ):325 self.data = [ 2, adType, args[0] if args[0] >= 0 else 256+args[0] ];331 …elif ( adType == ADType.FLAGS or adType == ADType.SEC_MANAGER_OBF or adType == ADType.DEVICE_ROLE …332 self.data = [ 2, adType, args[0] ];338 …elif ( adType == ADType.ILIST_UUIDS_16 or adType == ADType.CLIST_UUIDS_16 or adType == ADType.SS_U…339 self.data = [ 1+2*len(args), adType ];347 …elif ( adType == ADType.ILIST_UUIDS_32 or adType == ADType.CLIST_UUIDS_32 or adType == ADType.SS_U…348 self.data = [ 1+4*len(args), adType ];356 …elif ( adType == ADType.ILIST_UUIDS_128 or adType == ADType.CLIST_UUIDS_128 or adType == ADType.SS…[all …]