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

Add CTS current time service

Hi all,

i want to add a cts service to my project. i started with ble_cts example of sdk 11.0, but it's not clear what is the correct procedure to do it. I add the service in service init and the db_ event_handler and cts_event_handler in my project. But the problem is that softdevice don't receive the BLE_GATTC_EVT_CHAR_DISC_RSP. There is other thing that i must done? What is the correct procedure to add a service current time?

Thank you!!

Parents
  • I understand what happens. I don't start the db_discovery_manager (ble_db_discovery_start), that is implemented in the device_manager but not in peer_manager. I add it and now seems that it works... Thank you!!

  • FormerMember
    0 FormerMember in reply to annapalu

    I would think that the glucose measurement profile in the nRF Toolbox does only look for the UUIDs contained in the Glucose profile. The nRF Toolbox is open source, so you can modify the glucose measurement profile to look for the CTS profile as well. The source code for the nRF Toolbox can be found from this pagehere. The source code for nRF Master Control panel is not available, but it comes with an API, the API can be found from here.

Reply
  • FormerMember
    0 FormerMember in reply to annapalu

    I would think that the glucose measurement profile in the nRF Toolbox does only look for the UUIDs contained in the Glucose profile. The nRF Toolbox is open source, so you can modify the glucose measurement profile to look for the CTS profile as well. The source code for the nRF Toolbox can be found from this pagehere. The source code for nRF Master Control panel is not available, but it comes with an API, the API can be found from here.

Children
No Data
Related