Home
last modified time | relevance | path

Searched refs:toNumber (Results 1 – 12 of 12) sorted by relevance

/edtt-2.7.6/src/components/
Dattdata.py213 size = toNumber( data[:2] );
214 cid = toNumber( data[2:4] );
224 result["handle"] = [ toNumber( data[6:8] ) ];
231 result["mtu"] = toNumber( data[5:7] );
243 result["handle"] += [ toNumber( data[n:n+2] ) ];
244 result["uuid"] += [ toNumber( data[n+2:n+length] ) ];
255 result["handle"] += [ toNumber( data[n:n+2] ) ];
268 result["handle"] += [ toNumber( data[n:n+2] ) ];
300 result["first_handle"] += [ toNumber( data[n:n+2] ) ];
301 result["last_handle"] += [ toNumber( data[n+2:n+4] ) ];
[all …]
Dsmpdata.py192 size = toNumber( data[:2] );
193 cid = toNumber( data[2:4] );
224 result["value"] = toNumber( data[5:21] );
230 result["value"] = toNumber( data[5:21] );
242 result["ltk"] = toNumber( data[5:21] );
248 result["ediv"] = toNumber( data[5:7] );
249 result["rand"] = toNumber( data[7:15] );
255 result["irk"] = toNumber( data[5:21] );
262 result["address"] = toNumber( data[6:12] );
268 result["csrk"] = toNumber( data[5:21] );
[all …]
Daddata.py494 result[adType] += [ toNumber( data[i:i+2] ) ];
503 result[adType] += [ toNumber( data[i:i+4] ) ];
512 result[adType] += [ toNumber( data[i:i+16] ) ];
524 result[adType] = toNumber( data[n:n+length] );
531 result[adType] = toNumber( data[n:n+length] );
538 result[adType] += [ toNumber( data[i:i+2] ) ];
543 … result[adType] = { "uuid": toNumber( data[n:n+2] ), "data": data[n+2:n+length] };
548 … result[adType] = { "uuid": toNumber( data[n:n+4] ), "data": data[n+4:n+length] };
553 … result[adType] = { "uuid": toNumber( data[n:n+16] ), "data": data[n+16:n+length] };
561 result[adType] += [ toNumber( data[i:i+6] ) ];
[all …]
Dpreambles.py64 …trace.trace(6, "LE Rand Command returns status: 0x%02X; rand: 0x%016X" % (status, toNumber(rand)));
246 nrand = (toNumber(rand) & 0xFFFFFF) | 0xC00000;
250 nlocalHash = toNumber(localHash) & 0xFFFFFF;
260 nrand = toNumber(rand) & 0x3FFFFF;
264 nlocalHash = toNumber(localHash) & 0xFFFFFF;
284 trace.trace(7, "IRK: 0x%032X" % toNumber(irk));
288 trace.trace(7, "Random address: 0x%012X" % toNumber(address));
324 ediv = toArray(toNumber(y) ^ toNumber(div), 16);
408 trace.trace(6, "Generated IRK: 0x%032X" % toNumber(irk));
414 … success = success and preamble_set_random_address(transport, idx, toNumber(randAddress), trace);
Dpairing.py84 return success, toNumber(rand);
112 return success, toNumber(encrypted);
133 p2 = (toNumber(ia.address) << 48) | toNumber(ra.address);
308 self.pRequest = toNumber(txiData[4:]);
309 self.pResponse = toNumber(rxiData[4:]);
510 …SMP_IDENTITY_ADDRESS_INFORMATION, self.initiator.initiatorAddress.type, toNumber( self.initiator.i…
534 …code.SMP_IDENTITY_ADDRESS_INFORMATION, self.initiator.peerAddress.type, toNumber( self.initiator.p…
Dutils.py324 def toNumber(intArray): function
Devents.py1194 …eturn status, connectionHandle, toNumber(cigSyncDelay), toNumber(cisSyncDelay), toNumber(transport…
Dscanner.py324 addressNo = toNumber(address.address);
/edtt-2.7.6/src/tests/
Dll_verification.py145 _addresses = [ [ _.type, toNumber(_.address) ] for _ in addresses ];
294 if (toNumber(address)) & 0xC00000000000 != 0xC00000000000:
295 address = toArray(toNumber(address) | 0xC00000000000, 6);
296 preamble_set_random_address(transport, idx, toNumber(address), trace);
306 if (toNumber(address)) & 0xC00000000000 != 0x000000000000:
307 address = toArray(toNumber(address) & 0x3FFFFFFFFFFF, 6);
308 preamble_set_random_address(transport, idx, toNumber(address), trace);
699 …cess = success and preamble_set_public_address( transport, lowerTester, toNumber(peerAddresses[1].…
702 …cess = success and preamble_set_random_address( transport, lowerTester, toNumber(peerAddresses[0].…
709 …cess = success and preamble_set_public_address( transport, lowerTester, toNumber(peerAddresses[0].…
[all …]
Dgatt_verification.py186 services['uuids'] += [ toNumber(_uuid) ];
224 services['uuid'] += [ toNumber(_value) ];
256 services['handles'] += [ [ toNumber(_value[:2]), toNumber(_value[2:4]) ] ];
258 services['uuids'] += [ toNumber(_value[4:]) ];
265 …success, _service = __discoverServices(transport, initiator, toNumber(_value[:2]), toNumber(_value…
318 characteristics['value_handle'] += [ toNumber(_value[1:3]) ];
319 characteristics['uuid'] += [ toNumber(_value[3:]) ];
695 pairing = Pairing(transport, trace, initiator, toNumber(upperIRK));
831 trace.trace(6,"Minimum Connection Interval: %d" % toNumber( data[0:2] ));
832 trace.trace(6,"Maximum Connection Interval: %d" % toNumber( data[2:4] ));
[all …]
Dhci_verification.py667 … trace, initiatorAddress, Address( IdentityAddressType.PUBLIC_IDENTITY, toNumber(ownAddress.addres…
669 … trace, initiatorAddress, Address( IdentityAddressType.PUBLIC_IDENTITY, toNumber(ownAddress.addres…
731 … trace, initiatorAddress, Address( IdentityAddressType.PUBLIC_IDENTITY, toNumber(ownAddress.addres…
733 … trace, initiatorAddress, Address( IdentityAddressType.PUBLIC_IDENTITY, toNumber(ownAddress.addres…
Dgap_verification.py1814 pairing = Pairing(transport, trace, initiator, toNumber(upperIRK), toNumber(lowerIRK));