I am trying the reference design "DA14580_DialogBeacon_3.40.6". I want the ibeacon both send advtisement data and scan response data.
So I made a little change in the reference:
In "app_adv_func" function:
// Scan Response Data
// This line was added by me, so as to read out the response data from NVDS.C
cmd->info.host.scan_rsp_data_len = NVDS_LEN_APP_BLE_SCAN_RESP_DATA; //by zhang 201501
&cmd->info.host.scan_rsp_data) != NVDS_OK)
In debug mode, I could see the content in “cmd”.
cmd->info.host.scan_rsp_data_len was expected.
cmd->info.host.scan_rsp_data also was expected.
But then the program runs, these is no scan response data, even these is no adv data emitted!