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

What is the limit for advertising data?

Hello all, I am developing application for evaluation board in which i am using 5 services. When I flashed my application on board it was unable to advertise. Then i checked error using debugger. It was showing "Data size exceeds limit". Anyone has idea about what is the memory limit for advertising data? If there is limit then how to manage advertising such that it doesn't exceed the limit?

Parents
  • In addition to what syntroniks mentions in their response, you can move some of your advertising data over to the scan response packet rather than not be able to send something you want to advertise. You can set up the scan response packet at the same time you set up the advertise packet, they use the same data structure. Then you can call ble_advdata_set with the pointers to your main advertising packet and the scan response packet.

Reply
  • In addition to what syntroniks mentions in their response, you can move some of your advertising data over to the scan response packet rather than not be able to send something you want to advertise. You can set up the scan response packet at the same time you set up the advertise packet, they use the same data structure. Then you can call ble_advdata_set with the pointers to your main advertising packet and the scan response packet.

Children
No Data
Related