cancel
Showing results for 
Search instead for 
Did you mean: 

Why does BlueNRG-MS, v7.2c, fail on this simple call: aci_gap_start_general_conn_establish_proc_IDB05A1(ACTIVE_SCAN, 192, 96, PUBLIC_ADDR, false); with error code 0x42 #define BLE_STATUS_INVALID_PARAMS (0x42)

Scott Löhr
Senior II

BlueNRG-MS is initialized with CONFIG_DATA_MODE_OFFSET as Mode3 or Mode4, still fails.

BlueNRG-MS is initialized as GAP_CENTRAL_ROLE_IDB05A1.

BlueNRG-MS is not otherwise scanning or advertising or in a connection as a master or a slave.

Note that general scan works, so this

aci_gap_start_general_discovery_proc(192, 96, PUBLIC_ADDR, false);

returns success.

1 REPLY 1
Winfred LU
ST Employee

Hi Scott,

If only 1 connection is needed, it is not required to set Mode 1 or Mode 2 shall be fine.

Not sure what's wrong. The parameters you've given look valid to me.

Could you please try with BlueNRG GUI?

Best Regards,

Winfred