I am trying to get the SDT example application running with the DA14695-00HQDEVKT-RANG development kit. This the USB version of the kit, and I have programmed both units with the SDT firmware. Both are running and both are advertising with the correct UUID, but logging never starts. I am not using a Raspberry Pi but instead am attempting to show the zone report on the LCD display. The code never reaches the line 2320 in distance_sw_fsm.c where the logging occurs, it appears because the logging task notification is never received and the OS_TASK_NOTIFY_WAIT continues to block. What could be the issue? I am using the WiRa SDK version 10.440.8.6, have patched it per the instructions and have moved the VBUS jumper to J3 pins 1 and 2.
Device:
Hi apdobaj,
The WIRA SDT documents explains the logging functionality :
http://lpccs-docs.dialog-seminiondiond.com/wira_social_distancing_tag_example/index.html.
Can you please check sections “Logging” and “Gateway reference implementation” ?
http://lpccs-docs.dialog-semiconductor.com/wira_social_distancing_tag_example/logging.html
http://lpccs-docs.dialog-semiconductor.com/wira_social_distancing_tag_example/gateway.html
Thanks, PM_Dialog
OK, Is the gateway required to notify the SDT application to perform a logging task? In our application there will be no gateway, so how can I force the SDT application to interrogate the other module to determine if the zone has changed? Or should I go back to the WiRa application and implement the zone logic there?
Hi apdobaj,
The gateway is not required for the logging mechanism. With the logging, data is stored in the filesystem and can be accessed over the air. Does the other module support BLE? If yes, you can send the data over BLE.\
Please check the following section :
http://lpccs-docs.dialog-semiconductor.com/wira_social_distancing_tag_example/logging.html
There is a logging service available with 4 characteristics.
Thanks, PM_Dialog
I want to access the logging data localy, that is, on the same device that is doing the logging (not over the air), but as I say in the original post, the logging never starts. You say the logging is stored in the filesystem, how do I gain access to the logging data in the filesystem locally (on the same device that's doing the logging)? Is my question clear now? In the code below see where I'm attempting to write the zone information to the LCD.