Supporting two profiles BLE

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi. I'am new here. I do not know if I can program BLE module to support two profiles. One to support keyboard (HID) and second to transfer data to smartphone or computer. Obviously not all at once. Maybe you have any suggestions for me?

   

Thanks for all, Pawel

0 Likes
1 Solution
Anonymous
Not applicable

Hi,

   

If you do  not want these two profiles at the same time, you can have two different gatt db files and the switch from one Gatt db to another while restarting the BLE stack. Gatt Db files are nothing but ble_gatt.c which is generated when you build the project

   

Regards,

   

-Madhu Sudhan

View solution in original post

0 Likes
2 Replies
Anonymous
Not applicable

Hi,

   

If you do  not want these two profiles at the same time, you can have two different gatt db files and the switch from one Gatt db to another while restarting the BLE stack. Gatt Db files are nothing but ble_gatt.c which is generated when you build the project

   

Regards,

   

-Madhu Sudhan

0 Likes
Anonymous
Not applicable

Thanks for response. Is there any example with this? It will be helpful. May I do this at the same time? 

   

Pawel

0 Likes