Extended Advertising and Coded PHY in Broadcast Role
Hello,
I'm trying to program a STEVAL-IDB011V1 board with the Broadcast Role, Extended Advertising and Coded PHY. When I run my program, I got this error:
Error in aci_gap_set_advertising_configuration() 0x82
I know that this error is: Invalid parameters passsed at Host layer. But I don't know what I'm doing wrong.
These are my configurations:
// Init the GAP:
aci_gap_init(GAP_BROADCASTER_ROLE, 0x00, 0x08, PUBLIC_ADDR, &service_handle, &dev_name_char_handle, &appearance_char_handle);
// Gap adv configuration
status = aci_gap_set_advertising_configuration
(
0,
GAP_MODE_BROADCAST,
0,
333*0.635,
333*0.635,
ADV_CH_ALL,
PUBLIC_ADDR,
NULL,
ADV_NO_WHITE_LIST_USE,
127,
LE_CODED_PHY,
0,
LE_CODED_PHY,
0,
0
);
Thanks,
Daniel
