Actions
Bug #14
closedBLE : poc-service sometimes fails to reach fully operational state after reboot due to BLE transfert timeout
Start date:
05/18/2022
Due date:
% Done:
0%
Estimated time:
Hardware platform:
Solidrun (aarch64)
OS Affects Version/s:
arz-1.0
OS Fix Version/s:
Labels:
Description
poc-service fails to reach fully operational state after power-on or reboot about 1 time out of 2.
Issues witnessed so far with 8 attempts are:
1) 2 times, ble-sensor unable to get data from BOSCH sensor (logs show "getting version" step is reached but nothing more).
2) 1 time, ble-sensor starts data streaming from BOSCH sensor to redis but nothing received on iPad (and no log showing data transmission to redis in journal)
3) 1 time, board unreachable via ethernet (datahub.local) after reboot
Logs for case 2:
Jun 22 13:12:08 localhost.localdomain afbd-ble-sensor-binding[464]: INFO: [API ble-sensor] [connecting thread: ciss/POC] is connected [/builddir/build/BUILD/ble-sensor-binding-1.4.0+20210711+4+gc869082/src/ble-sensor-binding.c:105,connectingThread]
Jun 22 13:12:08 localhost.localdomain afbd-ble-sensor-binding[464]: INFO: [API ble-sensor] [ble_gattlib_connect_async_cb: ciss/POC] Getting version ... [/builddir/build/BUILD/ble-sensor-binding-1.4.0+20210711+4+gc869082/src/ble-sensor-binding.c:108,connectingThread]
Jun 22 13:12:12 localhost.localdomain afbd-ble-sensor-binding[464]: INFO: [API ble-sensor] [state sensor: ciss/POC] Starting the data streaming ... [/builddir/build/BUILD/ble-sensor-binding-1.4.0+20210711+4+gc869082/src/ble-sensor-binding.c:271,stateCB]
Jun 22 13:12:12 localhost.localdomain afbd-ble-sensor-binding[464]: INFO: [API ble-sensor] [thread Streaming ciss/POC] setup Ciss [/builddir/build/BUILD/ble-sensor-binding-1.4.0+20210711+4+gc869082/src/plugins/ciss-bosh/ciss-bosh.c:605,monitorStreamingThread]
Jun 22 13:12:12 localhost.localdomain afbd-ble-sensor-binding[464]: INFO: [API ble-sensor] [thread Streaming ciss/POC] start inert notif [/builddir/build/BUILD/ble-sensor-binding-1.4.0+20210711+4+gc869082/src/plugins/ciss-bosh/ciss-bosh.c:628,monitorStreamingThread]
Jun 22 13:14:00 localhost.localdomain poc-service[383]: HOOK: [req-000002:ble-sensor/ciss/POC] BEGIN uid=0=0 gid=0 pid=1089 label=System id=System
Jun 22 13:14:00 localhost.localdomain afbd-ble-sensor-binding[464]: INFO: [API ble-sensor] calling verb: subscribe for sensor ciss/POC [/builddir/build/BUILD/ble-sensor-binding-1.4.0+20210711+4+gc869082/src/ble-sensor-glue.c:232,ble_glue_sensor_request]
Jun 22 13:14:00 localhost.localdomain poc-service[383]: HOOK: [req-000002:ble-sensor/ciss/POC] subscribe(ble-sensor/ciss/POC:3) -> 0
Jun 22 13:14:00 localhost.localdomain poc-service[383]: HOOK: [req-000002:ble-sensor/ciss/POC] subscribe(ble-sensor/ciss/POC/shock:4) -> 0
Jun 22 13:14:00 localhost.localdomain poc-service[383]: HOOK: [req-000002:ble-sensor/ciss/POC] reply[success: 0]
Jun 22 13:14:00 localhost.localdomain poc-service[383]: HOOK: [req-000002:ble-sensor/ciss/POC] END
Jun 22 13:16:10 localhost.localdomain poc-service[383]: HOOK: [req-000004:ble-sensor/ciss/POC] BEGIN uid=0=0 gid=0 pid=1089 label=System id=System
Jun 22 13:16:10 localhost.localdomain poc-service[383]: HOOK: [req-000004:ble-sensor/ciss/POC] unsubscribe(ble-sensor/ciss/POC:3) -> 0
Jun 22 13:16:10 localhost.localdomain poc-service[383]: HOOK: [req-000004:ble-sensor/ciss/POC] unsubscribe(ble-sensor/ciss/POC/shock:4) -> 0
Jun 22 13:16:10 localhost.localdomain afbd-ble-sensor-binding[464]: INFO: [API ble-sensor] calling verb: unsubscribe for sensor ciss/POC [/builddir/build/BUILD/ble-sensor-binding-1.4.0+20210711+4+gc869082/src/ble-sensor-glue.c:232,ble_glue_sensor_request]
Jun 22 13:16:10 localhost.localdomain poc-service[383]: HOOK: [req-000004:ble-sensor/ciss/POC] reply[success: 0]
Jun 22 13:16:10 localhost.localdomain poc-service[383]: HOOK: [req-000004:ble-sensor/ciss/POC] END
Actions