How to broadcast raw data in beacon mode?

Hello,

             I am using PCA10040 DK for the programming with ble_app_beacon_pca10040_s132 example code. I want to broadcast my 20 bytes of data with my 0xFFE0 UUID.

In this example, I am trying to modify the m_beacon_info[] buffer with my custom data and want to broadcast directly raw data, But could not able to do that if I change any in m_beacon_info[] buffer code does not work, ble_advdata_encode() function does not initialise properly? I don't want to use any service, just want to transmit 20 bytes directly. Is this possible?

Can anyone tell me if yes? how to do that?

Thanks in advance!!

Parents Reply Children
Related