This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problems with the db discovery module

Hi everybody.

I am opening a dedicate question after a recent topic that already helped me a lot, with another discussion pretty similar to my problem. Resuming briefly, i have two nordic devices, a smart beacon kit (SDK 7.1 with s110) that is sending temperature by notification with a custom service (from service tutorial here on the nordic site), and a DK (SDK 11 with s130) that must receive the values and send it via USB to the PC. I use the ble_app_uart_c as reference on the DK, modified by one of the moderators to find the UUID of my service on the beacon and connect to it (function is_uuid_present), and this works correctly. The problem is that the next step should be find the service on the beacon with the discovery module, in order to start the transmission of the values, but it seems that the discovery module doesn't find the service (it starts correctly, but the function db_disc_handler, which should be called when a discovery event occurs, never executes). I load the two projects (the one on the beacon that i think at this point should be ok, and the one on the DK), can you please help me understand the error, or if i am using correctly the discovery module? Probably is some kind of stupid error caused by my inexperience ^^' Thanks in advance!

Or at least please tell me how should i use correctly the db discovery module, in terms of what field i should fill to make it find my service and characteristic or what esle!

projects.zip

libraries.zip

Parents Reply Children
No Data
Related