Skip to main content
Scott Löhr
Senior III
September 14, 2018
Question

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)

  • September 14, 2018
  • 1 reply
  • 455 views

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.

    This topic has been closed for replies.

    1 reply

    Winfred LU
    ST Employee
    September 17, 2018

    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