How to add add, insert and remove BLE services dynamically at run time and if I have to send multiple data under one service

if I have to send multiple data under one service 

like: Service 1(Information)

Hardware Revision String

Model Number String, the

Regulatory Certification Data List 

Then what should be the proper format (like string, array, individually or something else) of sending data? 

Parents Reply
  • Hi Ayu, 
    Sorry for late response. We are under reduced staff in the summer. 

    1. Please study the code and check where the log is printed. 

    2. Please verify if you can add new service by using a phone to see after you add a service would you have more service when you disconnect and then connect. 

    3. I don't really understand you. If you don't want to click a button, you can change the code to do it based on something else, timer or other event. I don't see any limitation on why you can't change that. 

Children
Related