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

ble_app_uart advertising device name length

Hi, 

I am playing around with the BLE relay & ble_app_uart example, and I noticed that on the ble_app_uart example, I can set the device name string to quite a considerable length of 22 bytes (for a total advertising length of 49 bytes).

Whereas on the BLE relay example(using vendor specific NUS UUID, HRS & RSCS removed) the device name string is limited to 4 bytes (for a total advertising length of 31 bytes) .

Question is, I would like to know how does the ble_app_uart does this as I would like to replicate that on the BLE_relay example as well.

I've tried comparing the services_init and advertising_init functions but could not find any significant differences.

Help appreciated.

Thanks.

 
Related