This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

advertise multiple services

Hi,

This seems to be an issue that pops up often. However, I wasn't able to find an answer here in the Nordic forum.

What I have:

  • a number of vendor services
  • (services / characteristics are successfully added, I can see them using a Central device)
  • (I have increased 'vs_uuid_count' as suggested in the forum - works fine)

What I want:

  • From these services I'd like to advertise two
  • (I think I understand how 'ble_advertising_init' works, including advertising data and scan response)
  • (I think I understand the concept behind 'ble_uuid_t' , i.e.byte 12/13 and BLE_UUID_TYPE_VENDOR_BEGIN)

My question:

  • How do I setup advertising so that the 3rd and 5th service is advertised
  • (I understand that I have to use the standard advertisement packet and the scan response to advertise two separate 128bit services)

I appreciate your reply

Thank you Matthias

Parents Reply Children
No Data
Related