This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Facing problem in advertising packet formation.

Hello, I want to make beacon with my uuids. I am referring to code ble_app_beacon code from sdk 12.2.2 I have made changes according to my requirements in my code. I am using nrf connect app. My challenge is I want to get one more field in (Raw data in nrf connect app). I am successful in getting this-> Screenshot_20170830-112445.png In the above image I am getting three fields but I want to have one more field after 1st field i.e after 0x06 in my screenshot. The field should have data like Data packet length - 0x03 , Type of data - 0x03(0x03 = 16bit uuid) , 0xE1 (UUID) , 0xE1 (UUID).

I am attaching my main file here -> main.txt

Thanks,

Parents Reply
  • Hello Martin, I can add extra bytes in

    #define APP_BEACON_UUID                 0xA1,0x02,0x04, 0x2F, 0x64, 0x01, \
                                                                0x3A, 0x03, 0x4A, 0x00, \
                                                               0x3E, 0x01,0x02,0x03
    

    By changing the length in

    #define APP_BEACON_INFO_LENGTH          0x0B 
    

    So I don't think advertisement packet is full. Can you try at your end by adding few extra bytes and test it. I have tested it and its working. Thanks,

Children
No Data
Related