Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
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

Cannot connect my custom app with wahoo

Hello, 

I am using s112_nrf52_7.0.1
I have the nrfRF5 SDK and I built a custom application using BLE. 

When trying to test it I use the example ble_app_hrs and it works, I am able to connect and read simulated values off wahoo. When I load my custom application I see it and I try to connect but I am unable to connect... 

Can you please help me. 

Parents
  • Hi Dimitar

    Okay, first off it's strongly recommended to move to SDK v17.0.2 or newer, as there are some bug fixes that should be implemented from SDK v17.0.0, as stated in v17.0.2 release notes. 

    I'm guessing the connection issue is either due to the peripheral not handling connection requests correctly, or due to the Wahoo app requiring some security parameters or services that your peripheral doesn't provide. Are you sure it includes the same security parameters, connection handling, and services as the ble_app_hrs example?

    It would also help if we could see a debug log either using the UART backend and a terminal like PuTTY (which I think is default), or the RTT backend and the RTT viewer. If you're new to the development process in our SDK and with nRF devices, I would suggest checking out this guide on debugging in the nRF5 SDK.

    Best regards,

    Simon

  • Hello Simon, 

    Thank you for the advice, we will switch to the SDK v.17.0.2. 

    I managed to fix the error. 

    As I am quite new in this, I accidentally had commented application_timers() function and i belive that was creating the issue. 

    Thanks, 

  • Glad to hear you found the root cause of this issue, and thank you for sharing your solution as it might help future developers with the same/similar issues.

    Let me know if we can close this case now.

    Best regards,

    Simon

  • Hello., 

    Yes so the key things for me were to properly initiate the gatt function and to have application_timers() called at the right time. 

    Yes you can close it! 

    Thank you,

Reply Children
No Data
Related