Hi dialog
I want to create multiple characteristics in a single service, right now i am working on pxp reporter and added my custom service from the dialog website tutorial. Its working great, but now i want to add more characteristics but cannot find an example code or tutorial.
Thanks
Keywords:
Device:
Hi mahmed106,
Please check theSW Example: DA1468x BLE customer servicesoftware example from our support website. This example includes 2 custom services. The custom service 1 includes 3 characteristic declarations. Have a look at my_service_2[] structure. You can add more than 3 characteristics.
Also, you could checkCustom Bluetooth Low Energy Profileas well.
Thanks, PM_Dialog
I have tried this example code. The services and characteristics are showing in the mobile via BLE, but i am not able to understand that how i send the data to the mobile, when i do a read request.
Where in the main application code i send the data and how. Please eleborate.
Thanks
Hi mahmed106,
If I understood correctly, your requirement is to create a notifiable characteristic and send data to the mobile phone over notifications? Is this correct?
Thanks, PM_Dialog
Yes , Half part is solved as i send data as read callback, It great . Thanks to your code (y)
Now i want to work on notifiable characteristics .
Hi mahmed106,
You should create the characteristics as the example but enable the notifications property.
Thanks, PM_Dialog