22.05.2020, 09:56
The sensor uses BLE advertising packets to send data. This means that you do not need to connect to it and just parse the advertising packet data.
Run this script and post what you get in logs tab. You might need to disable it quickly if there are many packets sent.
Run this script and post what you get in logs tab. You might need to disable it quickly if there are many packets sent.
Code:
require('ble')
-- enable ble
ble.up()
function callback(addr, name, rssi, data)
if addr then
log(addr)
loghex(data)
end
end
ble.scan(callback)