Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 11 of 11) sorted by relevance

/edtt-3.6.0-3.5.0-3.4.0/src/components/
Devents.py392 def __checkConnectionHandle(self, handle): argument
393 if not (0 <= handle <= 0xEFF):
504 def __checkSyncHandle(self, handle): argument
505 if not (0 <= handle <= 0xEFF):
516 def __checkAdvertisingHandle(self, handle): argument
517 if not (0 <= handle <= 0xEF):
535 status, handle, reason = struct.unpack('<BHB', self.data[:4]);
536 self.__checkConnectionHandle(handle);
538 status = handle = reason = 0;
539 return status, handle, reason;
[all …]
Dinitiator.py83 handle, role, interval = -1, -1, -1;
91 … self.status, handle, role, address, interval, latency, timeout, accuracy = event.decode();
94 …self.status, handle, role, address, localRPA, peerRPA, interval, latency, timeout, accuracy = even…
98 return success, handle, role, localRPA.address, interval;
105 handle, reason = -1, -1;
113 self.status, handle, reason = event.decode();
122 return success, handle, reason;
136 self.status, handle, txPhys, rxPhys = event.decode();
147 handle, minInterval, maxInterval, latency, supervisionTimeout = -1, -1, -1, -1, -1;
154 handle, minInterval, maxInterval, latency, supervisionTimeout = event.decode();
[all …]
Dbasic_commands.py590 def disconnect(transport, idx, handle, reason, to): argument
592 …t.pack('<HHHHB', Commands.CMD_DISCONNECT_REQ, 5, HCICommands.BT_HCI_OP_DISCONNECT, handle, reason);
614 def read_remote_version_information(transport, idx, handle, to): argument
616 …MD_READ_REMOTE_VERSION_INFORMATION_REQ, 4, HCICommands.BT_HCI_OP_READ_REMOTE_VERSION_INFO, handle);
691 def read_transmit_power_level(transport, idx, handle, levelType, to): argument
693 …MD_READ_TRANSMIT_POWER_LEVEL_REQ, 5, HCICommands.BT_HCI_OP_READ_TX_POWER_LEVEL, handle, levelType);
701 RespCmd, RespLen, status, handle, TxPowerLevel = struct.unpack('<HHBHb', packet);
709 return status, handle, TxPowerLevel;
838 def read_authenticated_payload_timeout(transport, idx, handle, to): argument
840 …EAD_AUTHENTICATED_PAYLOAD_TIMEOUT_REQ, 4, HCICommands.BT_HCI_OP_READ_AUTH_PAYLOAD_TIMEOUT, handle);
[all …]
Dgattdata.py105 def serviceCovering(self, setNo, handle): argument
110 if _handles[0] <= handle and handle <= _handles[1]:
146 def characteristicValue(self, setNo, handle): argument
150 if int(characteristic.attributes['handle'].value) == handle:
155 def characteristicString(self, setNo, handle): argument
159 if int(characteristic.attributes['handle'].value) == handle:
164 def descriptorValue(self, setNo, handle): argument
168 if int(descriptor.attributes['handle'].value) == handle:
173 def descriptorString(self, setNo, handle): argument
177 if int(descriptor.attributes['handle'].value) == handle:
[all …]
Dpairing.py445 handle = event.decode()[0];
446 …status, handle = le_long_term_key_request_reply(self.transport, self.initiator.peer, handle, toArr…
464 status, handle, enabled = event.decode();
467 status, handle = event.decode();
482 status, handle, enabled = event.decode();
485 status, handle = event.decode();
Dbtsnoop.py204 def send_monitor_iso_rx(self, idx, handle, dataLen, packet): argument
207 hdr = struct.pack('<HH', handle, dataLen)
216 def send_monitor_acl_rx(self, idx, handle, dataLen, packet): argument
219 hdr = struct.pack('<HH', handle, dataLen)
/edtt-3.6.0-3.5.0-3.4.0/src/tests/
Dtest_utils.py27 def verifyNumCompleteEvents(transport, idx, handle, count, trace, to=100): argument
35 numHandles == 1 and handles[0] == handle and success)
95 def setDataLength(transport, idx, handle, octets, time, trace): argument
97 status, handle = le_set_data_length(transport, idx, handle, octets, time, 100);
98 trace.trace(6, "LE Set Data Length returns status: 0x%02X handle: 0x%04X" % (status, handle));
119 def readRemoteFeatures(transport, idx, handle, trace): argument
121 status = le_read_remote_features(transport, idx, handle, 100);
125 def readRemoteVersionInformation(transport, idx, handle, trace): argument
127 status = read_remote_version_information(transport, idx, handle, 100);
139 def writeData(transport, idx, handle, pbFlags, txData, trace): argument
[all …]
Dgatt_verification.py130 success, handle = True, 1;
132 …txData = attData.encode( ATTOpcode.ATT_FIND_BY_TYPE_VALUE_REQUEST, handle, 0xffff, 0x2800, toArray…
152 handle = reply['handle'][-1] + 1;
153 if handle > 0xFFFF:
165 success, handle = True, first;
167 txData = attData.encode( ATTOpcode.ATT_READ_BY_GROUP_TYPE_REQUEST, handle, last, uuid );
188 handle = reply['last_handle'][-1] + 1;
189 if handle > last:
213 success, handle = True, 1;
215 success, reply = __nextByType(transport, initiator, uuid, handle, 0xffff, trace);
[all …]
Dhci_verification.py54 handle, props, PrimChannelMap, OwnAddrType, PeerAddrType = 0, 0, 0, 0, 0;
60 …status = le_set_extended_advertising_parameters(transport, idx, handle, props, PrimMinInterval, Pr…
65 handle, op, FragPref = 0, 0, 0;
68 status = le_set_extended_advertising_data(transport, idx, handle, op, FragPref, data, 100);
71 handle, op, FragPref = 0, 0, 0;
74 status = le_set_extended_scan_response_data(transport, idx, handle, op, FragPref, data, 100);
91 handle = 0;
93 status = le_remove_advertising_set(transport, idx, handle, 100);
99 handle, MinInterval, MaxInterval, props = 0, 0, 0, 0;
101 …status = le_set_periodic_advertising_parameters(transport, idx, handle, MinInterval, MaxInterval, …
[all …]
Dll_verification.py2562 …status, handle, role, peerAddress, localResolvableAddress, peerResolvableAddress, interval, latenc…
2565 connectionHandle = handle
2567 handle, algorithm = event.decode()
2756 …status, handle, role, peerAddress, localResolvableAddress, peerResolvableAddress, interval, latenc…
2759 connectionHandle = handle
2761 handle, algorithm = event.decode()
2880 …success, handle, chSelAlgorithm = hasChannelSelectionAlgorithmEvent(transport, upperTester, trace);
2915 …success, handle, chSelAlgorithm = hasChannelSelectionAlgorithmEvent(transport, upperTester, trace);
3063 handle, algorithm = event.decode()
3579 … ok, handle, chSelAlgorithm = hasChannelSelectionAlgorithmEvent(transport, upperTester, trace);
[all …]
/edtt-3.6.0-3.5.0-3.4.0/docs/
DEDTT_framework_Babblesim.md190 For the actual tests, call functions from basic_commands.py and handle the HCI events generated. It…