Hi Guys
We are currently using RUTX11s as BLE Readers for a client. We have written code around the built in bluetooth module and using BLESEM to scan for BLE beacons.
ubus call blesem scan.start
sleep 60s
ubus call blesem scan.result | tee $data
What is happening at one site of ours is that the BLESEM is returning 'scanning: 1,' and never recovers without a restart of the BLESEM service. Thinking it was a hardware failure we replaced the device but the new unit is showing the same issue.
What he have had to do is put an error check in the code to restart the BLESEM module if the code sees 'scanning: 1,'.
Looking at Teltonika's documentation there is no debugging for BLESEM. I am hoping someone can give us further insight on the issue and possible fixes.