ATTEMPT TO SEND EXTRA DATA IN IBEACON FORMAT?

I am new in nrf52832 field i am trying to send some customized data(scan response) in ibeacon format of advertising. suggest me some ways or code to do the same

Thankyou in advance

Parents Reply
  • Hi, 
    If it's the case, you can do the following change to add the scan response packet in: 
    - Change  m_adv_params.properties.type  in advertising_init() from BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED to BLE_GAP_ADV_TYPE_NONCONNECTABLE_SCANNABLE_UNDIRECTED  so that it allows scan request/response. 

    - Edit the m_adv_data struct to add a similar array as m_enc_advdata into scan_rsp_data for example create a m_enc_advdata2. Again, note that you need to use company ID 0x4c in the manufacturer data so that Apple recognize it as iBeacon. 

Children
No Data
Related