Home
last modified time | relevance | path

Searched refs:rssi (Results 1 – 3 of 3) sorted by relevance

/edtt-3.6.0-3.5.0-3.4.0/src/components/
Devents.py420 def __checkRSSI(self, rssi): argument
421 if not ((-127 <= rssi <= 20) or (rssi == 127)):
650 handle, rssi = struct.unpack('<Hb', self.data[4:7]);
652 self.__checkRSSI(rssi);
654 handle = rssi = 0;
655 return handle, rssi;
1012 rssi = struct.unpack('b', self.data[11+dataSize:12+dataSize])[0];
1014 rssi, data = 0, [];
1018 self.__checkRSSI(rssi);
1020 event, addressType, rssi, address, data = 0, 0, 0, None, [];
[all …]
Dscanner.py323 eventType, address, data, rssi = event.decode();
342 … devices[addressNo] = { "type": address.type, "rssi": rssi, "name": '?' };
356 … devices[addressNo] = { "type": address.type, "rssi": rssi, "name": '?' };
Dbasic_commands.py1032 RespCmd, RespLen, status, handle, rssi = struct.unpack('<HHBHb', packet);
1040 return status, handle, rssi;