Home
last modified time | relevance | path

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

/edtt-2.7.6/src/components/
Devents.py368 def __checkConnectionHandle(self, handle): argument
369 if not (0 <= handle <= 0xEFF):
476 def __checkSyncHandle(self, handle): argument
477 if not (0 <= handle <= 0xEFF):
488 def __checkAdvertisingHandle(self, handle): argument
489 if not (0 <= handle <= 0xEF):
503 status, handle, reason = struct.unpack('<BHB', self.data[:4]);
504 self.__checkConnectionHandle(handle);
506 status = handle = reason = 0;
507 return status, handle, reason;
[all …]
Dinitiator.py79 handle, role, interval = -1, -1, -1;
87 … self.status, handle, role, address, interval, latency, timeout, accuracy = event.decode();
90 …self.status, handle, role, address, localRPA, peerRPA, interval, latency, timeout, accuracy = even…
94 return success, handle, role, localRPA.address, interval;
101 handle, reason = -1, -1;
108 self.status, handle, reason = event.decode();
112 return success, handle, reason;
126 self.status, handle, txPhys, rxPhys = event.decode();
137 handle, minInterval, maxInterval, latency, supervisionTimeout = -1, -1, -1, -1, -1;
144 handle, minInterval, maxInterval, latency, supervisionTimeout = event.decode();
[all …]
Dbasic_commands.py468 def disconnect(transport, idx, handle, reason, to): argument
470 …t.pack('<HHHHB', Commands.CMD_DISCONNECT_REQ, 5, HCICommands.BT_HCI_OP_DISCONNECT, handle, reason);
492 def read_remote_version_information(transport, idx, handle, to): argument
494 …MD_READ_REMOTE_VERSION_INFORMATION_REQ, 4, HCICommands.BT_HCI_OP_READ_REMOTE_VERSION_INFO, handle);
569 def read_transmit_power_level(transport, idx, handle, levelType, to): argument
571 …MD_READ_TRANSMIT_POWER_LEVEL_REQ, 5, HCICommands.BT_HCI_OP_READ_TX_POWER_LEVEL, handle, levelType);
579 RespCmd, RespLen, status, handle, TxPowerLevel = struct.unpack('<HHBHb', packet);
587 return status, handle, TxPowerLevel;
716 def read_authenticated_payload_timeout(transport, idx, handle, to): argument
718 …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();
/edtt-2.7.6/src/tests/
Dhci_verification.py53 handle, props, PrimChannelMap, OwnAddrType, PeerAddrType = 0, 0, 0, 0, 0;
59 …status = le_set_extended_advertising_parameters(transport, idx, handle, props, PrimMinInterval, Pr…
64 handle, op, FragPref, dataLength = 0, 0, 0, 0;
67 …status = le_set_extended_advertising_data(transport, idx, handle, op, FragPref, dataLength, data, …
70 handle, op, FragPref, dataLength = 0, 0, 0, 0;
73 …status = le_set_extended_scan_response_data(transport, idx, handle, op, FragPref, dataLength, data…
90 handle = 0;
92 status = le_remove_advertising_set(transport, idx, handle, 100);
98 handle, MinInterval, MaxInterval, props = 0, 0, 0, 0;
100 …status = le_set_periodic_advertising_parameters(transport, idx, handle, MinInterval, MaxInterval, …
[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 …]
Dll_verification.py113 def setDataLength(transport, idx, handle, octets, time, trace): argument
115 status, handle = le_set_data_length(transport, idx, handle, octets, time, 100);
116 trace.trace(6, "LE Set Data Length returns status: 0x%02X handle: 0x%04X" % (status, handle));
131 def readRemoteFeatures(transport, idx, handle, trace): argument
133 status = le_read_remote_features(transport, idx, handle, 100);
137 def readRemoteVersionInformation(transport, idx, handle, trace): argument
139 status = read_remote_version_information(transport, idx, handle, 100);
151 def writeData(transport, idx, handle, pbFlags, txData, trace): argument
153 status = le_data_write(transport, idx, handle, pbFlags, 0, txData, 100);
211 status, handle, interval, latency, timeout = event.decode();
[all …]