Home
last modified time | relevance | path

Searched refs:toArray (Results 1 – 15 of 15) sorted by relevance

/edtt-3.6.0-3.5.0-3.4.0/src/components/
Dattdata.py109 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 …]
Daddata.py341 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 …]
Dsmpdata.py116 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;
Dpreambles.py262 _success, localHash = __encrypt(transport, idx, key, toArray(nrand, 16), trace);
267 return success, toArray(address, 6);
276 _success, localHash = __encrypt(transport, idx, key, toArray(nrand, 16), trace);
281 return success, toArray(address, 6);
330 _success, dhk = __encrypt(transport, idx, toArray(ir, 16), toArray(0x02, 16), trace);
336 _success, ltk = __encrypt(transport, idx, toArray(er, 16), div, trace);
340 ediv = toArray(toNumber(y) ^ toNumber(div), 16);
356 status = write_bd_addr(transport, idx, toArray(address, 6), 100);
394 status = le_set_random_address(transport, idx, toArray(address, 6), 100);
424 …success, irk, randAddress = preamble_random_address_calculated(transport, idx, toArray(ir, 16), tr…
[all …]
Daddress.py36 self.address = toArray(address, 6);
38 self.address = toArray(0, 6);
Dpairing.py108 …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));
Dutils.py385 def toArray(number, size): function
Dbasic_commands.py3408 …cmd_parameters = [HCICommands.BT_HCI_OP_LE_SET_CIG_PARAMETERS, CigId, *toArray(SduIntervalMToS, 3),
3409 … *toArray(SduIntervalSToM, 3), PeripheralsClockAccuracy, Packing, Framing, MaxTransportLatencyMToS,
3430 …cmd_parameters = [HCICommands.BT_HCI_OP_LE_SET_CIG_PARAMETERS_TEST, CigId, *toArray(SduIntervalMTo…
3431 …*toArray(SduIntervalSToM, 3), FtMToS, FtSToM, IsoInterval, PeripheralsClockAccuracy, Packing, Fram…
3567 …ConnectionHandle, DataPathDirection, DataPathId, *CodecId, *toArray(ControllerDelay, 3), CodecConf…
/edtt-3.6.0-3.5.0-3.4.0/src/tests/
Dgap_verification.py44 … "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 …]
Dhci_verification.py41 NumRsp, length, lap = 0, 1, toArray(0x9E8B00, 3);
294 status = inquire(transport, idx, toArray(0x9E8B00, 3), 1, 1, 100);
582 PrimMinInterval = toArray(0x0140, 3); # Minimum Advertise Interval = 320 x 0.625 ms = 200.00 ms
583 PrimMaxInterval = toArray(0x0140, 3); # Maximum Advertise Interval = 320 x 0.625 ms = 200.00 ms
587 PeerAddress = toArray(0, 6);
642 PrimMinInterval = toArray(0x0140, 3); # Minimum Advertise Interval = 320 x 0.625 ms = 200.00 ms
643 PrimMaxInterval = toArray(0x0140, 3); # Maximum Advertise Interval = 320 x 0.625 ms = 200.00 ms
647 PeerAddress = toArray(0, 6);
Dll_verification.py164 …nUsing scanner address: %s SCAN_RSP data length: %d\n" % (formatAddress( toArray(address, 6), Simp…
198 …trace.trace(6, "\nUsing initiator address: %s\n" % formatAddress( toArray(address, 6), SimpleAddre…
659 PrimMinInterval = toArray(0x0020, 3); # Minimum Advertise Interval = 32 x 0.625 ms = 20.00 ms
660 PrimMaxInterval = toArray(0x0022, 3); # Maximum Advertise Interval = 34 x 0.625 ms = 21.25 ms
741 PrimMinInterval = toArray(advInterval, 3)
742 PrimMaxInterval = toArray(advInterval, 3)
746 PeerAddress = toArray(0x456789ABCDEF, 6)
820 PrimMinInterval = toArray(advInterval, 3)
821 PrimMaxInterval = toArray(advInterval, 3)
825 PeerAddress = toArray(0x456789ABCDEF, 6)
[all …]
Dtest_utils.py79 status = le_set_host_channel_classification(transport, idx, toArray(channelMap, 5), 100);
229 return success, handle, toArray(features,8);
335 address = toArray(toNumber(address) | 0xC00000000000, 6);
347 address = toArray(toNumber(address) & 0x3FFFFFFFFFFF, 6);
Dll_multiple_connections.py37 …trace.trace(1, "\nUsing initiator address: %s\n" % formatAddress( toArray(rawPeerAddress, 6), Simp…
Dgatt_verification.py132 …a.encode( ATTOpcode.ATT_FIND_BY_TYPE_VALUE_REQUEST, handle, 0xffff, 0x2800, toArray( serviceUUID, \
/edtt-3.6.0-3.5.0-3.4.0/src/
Dedttool.py9 from components.utils import toArray
199 trace.btsnoop.send_index_added(0, toArray(address, 6), "UpperTester")
200 trace.btsnoop.send_index_added(1, toArray(address, 6), "LowerTester")