Hi
I am modifying the scanning and advertising paremeters for coded (125kbps).
I made the following changes in advertising
.primary_phy =BLE_GAP_PHY_CODED, instead of // BLE_GAP_PHY_1MBPS
.type = BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED, instead of //BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED,
I made the following changes in scanning
p_scan_ctx->scan_params.scan_phys = BLE_GAP_PHY_CODED; instead of // BLE_GAP_PHY_1MBPS;//
p_scan_ctx->scan_params.extended = 0x01,
also made changes and checked for different values for scan_interval, scan_window and scan_duration.
I am getting the error
¨¨[00:00:21.095,642] <error> ble_scan: sd_ble_gap_scan_start returned 0x9
[00:00:21.118,713] <error> app: Fatal error
[00:00:21.123,535] <warning> app: System reset¨¨
I have read all the ticket in your portal related to this problem and made changes according to that but still i am not getting success.
have a nice day
regards,
Usman