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

S130 SDK 11 add custom service & Char

I am trying to Migrate from Sdk 6 to Sdk 11.

Here i am facing problem in discovering Custom Characteristics. I can successfully add service and 2 characteristics without any error in my code routine.

But in Android Phone app i can't see any Custom Characteristics.

When debugging i found out, I can successfully add service and my two characteristics even i am getting NRF_Success from their routine but still i can't see custom Characteristics in my Phone app(Nordic Master control panel).

I am attaching image of my phone app where you can refer and even attaching my ble_sbs.c routine c ble_sbs.cfile for your reference.

I tried different android phones but same result. ScreenShot for reference.

Please help me out since i am new to this Sdk... image description

Parents
  • I see nothing immediately wrong with the code, so there's only 2 things that I can suggest to check. First make absolutely sure that the calls to sd_ble_gatts_characteristic_add() are returning NRF_SUCCESS. Second, can you try with another app (Master Control Panel on the PC, or another Android app) to see if this might be an issue with the Android app itself.

Reply
  • I see nothing immediately wrong with the code, so there's only 2 things that I can suggest to check. First make absolutely sure that the calls to sd_ble_gatts_characteristic_add() are returning NRF_SUCCESS. Second, can you try with another app (Master Control Panel on the PC, or another Android app) to see if this might be an issue with the Android app itself.

Children
No Data
Related