Searched refs:toArray (Results 1 – 13 of 13) sorted by relevance
109 self.data = [ opcode ] + toArray( args[0], 2 );115 self.data = [ opcode ] + toArray( args[0], 2 ) + toArray( args[1], 2 );121 … self.data = [ opcode ] + toArray( args[0], 2 ) + toArray( args[1], 2 ) + toArray( args[2], 2 );129 …self.data = [ opcode ] + toArray( args[0], 2 ) + toArray( args[1], 2 ) + toArray( args[2], 2 if ar…135 self.data = [ opcode ] + toArray( args[0], 2 );141 self.data = [ opcode ] + toArray( args[0], 2 ) + toArray( args[1], 2 );149 self.data += toArray( arg, 2 );155 …self.data = [ opcode ] + toArray( args[0], 2 ) + toArray( args[1], 2 ) + toArray( args[2], 2 if ar…161 self.data = [ opcode ] + toArray( args[0], 2 );169 self.data = [ opcode ] + toArray( args[0], 2 ) + toArray( args[1], 2 );[all …]
341 self.data += toArray(arg, 2);350 self.data += toArray(arg, 4);359 self.data += toArray(arg, 16);373 self.data = [ 4, adType ] + toArray(args[0], 3);380 self.data = [ 17, adType ] + toArray(args[0], 16);385 self.data = [ 5, adType ] + toArray(args[0], 2) + toArray(args[1], 2);390 self.data = [ 2+len(args), adType ] + toArray(args[0],2);398 self.data = [ 4+len(args), adType ] + toArray(args[0], 4);406 self.data = [ 16+len(args), adType ] + toArray(args[0], 16);417 self.data += toArray(arg, 6);[all …]
116 self.data = [ opcode ] + toArray( args[0], 16 );122 self.data = [ opcode ] + toArray( args[0], 16 );134 self.data = [ opcode ] + toArray( args[0], 16 );140 self.data = [ opcode ] + toArray( args[0], 2 ) + toArray( args[1], 8 );146 self.data = [ opcode ] + toArray( args[0], 16 );152 self.data = [ opcode ] + [ args[0] ] + toArray( args[1], 6 );158 self.data = [ opcode ] + toArray( args[0], 16 );170 self.data = [ opcode ] + toArray( args[0], 32 ) + toArray( args[1], 32 );176 self.data = [ opcode ] + toArray( args[0], 16 );187 self.data = toArray( len(self.data), 2 ) + toArray( SMP_CID, 2 ) + self.data;
247 _success, localHash = __encrypt(transport, idx, key, toArray(nrand, 16), trace);252 return success, toArray(address, 6);261 _success, localHash = __encrypt(transport, idx, key, toArray(nrand, 16), trace);266 return success, toArray(address, 6);315 _success, dhk = _-encrypt(transport, idx, toArray(ir, 16), toArray(0x02, 16), trace);321 _success, ltk = __encrypt(transport, idx, toArray(er, 16), div, trace);324 ediv = toArray(toNumber(y) ^ toNumber(div), 16);339 status = write_bd_addr(transport, idx, toArray(address, 6), 100);377 status = le_set_random_address(transport, idx, toArray(address, 6), 100);407 …success, irk, randAddress = preamble_random_address_calculated(transport, idx, toArray(ir, 16), tr…[all …]
36 self.address = toArray(address, 6);38 self.address = toArray(0, 6);
108 …status, encrypted = le_encrypt(self.transport, idx, toArray(key, 16), toArray(plaintext, 16), 2000…430 …transport, self.initiator.initiator, self.initiator.handles[0], rand, ediv, toArray(ltk, 16), 200);446 …le_long_term_key_request_reply(self.transport, self.initiator.peer, handle, toArray(ltk, 16), 200);679 … self.trace.trace(6, "Responders ADDR = %s" % formatAddress(toArray(address, 6), addressType));
331 def toArray(number, size): function
3235 … CigId, *toArray(SduIntervalMToS, 3), *toArray(SduIntervalSToM, 3), SlavesClockAccuracy, Packing,3270 …CigId, *toArray(SduIntervalMToS, 3), *toArray(SduIntervalSToM, 3), FtMToS, FtSToM, IsoInterval, Sl…3410 …ConnectionHandle, DataPathDirection, DataPathId, *CodecId, *toArray(ControllerDelay, 3), CodecConf…
44 … "Found device with address: %s complete local name: %s" % (formatAddress( toArray( address, 6 ), \74 … "Found device with address: %s complete local name: %s" % (formatAddress( toArray( address, 6 ), \104 … "Found device with address: %s complete local name: %s" % (formatAddress( toArray( address, 6 ), \133 … "Found device with address: %s complete local name: %s" % (formatAddress( toArray( address, 6 ), \162 … "Found device with address: %s complete local name: %s" % (formatAddress( toArray( address, 6 ), \191 … "Found device with address: %s complete local name: %s" % (formatAddress( toArray( address, 6 ), \220 … "Found device with address: %s complete local name: %s" % (formatAddress( toArray( address, 6 ), \249 … "Found device with address: %s complete local name: %s" % (formatAddress( toArray( address, 6 ), \278 … "Found device with address: %s complete local name: %s" % (formatAddress( toArray( address, 6 ), \307 … "Found device with address: %s complete local name: %s" % (formatAddress( toArray( address, 6 ), \[all …]
37 …trace.trace(1, "\nUsing initiator address: %s\n" % formatAddress( toArray(rawPeerAddress, 6), Simp…
97 status = le_set_host_channel_classification(transport, idx, toArray(channelMap, 5), 100);241 return success, handle, toArray(features,8);295 address = toArray(toNumber(address) | 0xC00000000000, 6);307 address = toArray(toNumber(address) & 0x3FFFFFFFFFFF, 6);549 …nUsing scanner address: %s SCAN_RSP data length: %d\n" % (formatAddress( toArray(address, 6), Simp…583 …trace.trace(6, "\nUsing initiator address: %s\n" % formatAddress( toArray(address, 6), SimpleAddre…1044 PrimMinInterval = toArray(0x0020, 3); # Minimum Advertise Interval = 32 x 0.625 ms = 20.00 ms1045 PrimMaxInterval = toArray(0x0022, 3); # Maximum Advertise Interval = 34 x 0.625 ms = 21.25 ms1947 …ng channel %s and Lower Tester address %s\n" % (str(channel), formatAddress(toArray(address, 6))));4986 …status = le_set_random_address(transport, upperTester, toArray(address_scramble_OUI( toNumber(uppe…[all …]
40 NumRsp, length, lap = 0, 1, toArray(0x9E8B00, 3);293 status = inquire(transport, idx, toArray(0x9E8B00, 3), 1, 1, 100);
132 …a.encode( ATTOpcode.ATT_FIND_BY_TYPE_VALUE_REQUEST, handle, 0xffff, 0x2800, toArray( serviceUUID, \