btleLastSeen (Function) |
Top Previous Next |
This function is used to determine how much time has passed since data was last received from the provided device. This can e.g. be used to quickly detect when a BLE device that keeps sending advertising data has disappeared. Note that scanning must be active to receive advertising data.
Input: dev : STRING The address of the device.
Returns: INT
Declaration: FUNCTION btleLastSeen : INT;
Example: INCLUDE rtcu.inc |