custom_ble_service_example icon indicating copy to clipboard operation
custom_ble_service_example copied to clipboard

example needs to add 2 service and 2 notifications

Open sherifomran opened this issue 5 years ago • 3 comments

this example is nice but it needs to show how to add more services with notification and more characteristics. It should also show how to integrate from BDS because i assume it is based on it also

sherifomran avatar Aug 14 '19 17:08 sherifomran

Hi, @sherifomran. This thread might help you.

jeandiegof avatar Jan 12 '20 19:01 jeandiegof

I looked at the link you posted to answer this question. However, are we suppsoed to just run "sd_ble_gatts_characteristic_add" twice (one with &p_cus ->custom_value_a_handles as a parameter and one with &p_cus ->custom_value_b_handles) at theend of the "custom_value_char_add" method; or should we create two "custom_value_char_add" methods and call them both at the end of the ble_cus_init function?

kylelscott avatar Oct 17 '20 20:10 kylelscott

have you tested it? my tests showed that i could not allow updating 2 profiles simulatenously, which is the mess. Adding the profile is not a big deal, but updaing with push data is my problem.

sherifomran avatar Oct 18 '20 04:10 sherifomran