Hi,
How I can set the Adv PDU Header ==> Type 2 ,TxAdd =1 = How to set the PDU Header to be 0x42
ok I found it , need to setcmd->info.host.scan_rsp_data_len = 0;
In app_adv_function you configure both advertising data and scan response data.
The contents of the above two messages are controlled by following defines located in app_proxr_proj.h;
#define APP_ADV_DATA "\x07\x03\x03\x18\x02\x18\x04\x18"#define APP_ADV_DATA_LEN (8)
#define APP_SCNRSP_DATA "\x09\xFF\x00\x60\x52\x57\x2D\x42\x4C\x45"#define APP_SCNRSP_DATA_LENGTH (10)
You can customize them anyway you wish.
app_adv_func routine also allows you to customize other properties of the advertisement message such as type of bd address etc.
Hope it helps.
thanks,
TR_DIALOG
ok I found it , need to set
cmd->info.host.scan_rsp_data_len = 0;
Hi,
In app_adv_function you configure both advertising data and scan response data.
The contents of the above two messages are controlled by following defines located in app_proxr_proj.h;
#define APP_ADV_DATA "\x07\x03\x03\x18\x02\x18\x04\x18"
#define APP_ADV_DATA_LEN (8)
#define APP_SCNRSP_DATA "\x09\xFF\x00\x60\x52\x57\x2D\x42\x4C\x45"
#define APP_SCNRSP_DATA_LENGTH (10)
You can customize them anyway you wish.
app_adv_func routine also allows you to customize other properties of the advertisement message such as type of bd address etc.
Hope it helps.
thanks,
TR_DIALOG