Skip to main content
hornyak.matedaniel
Associate
Oct 15, 2018 8:27 AM UTC
Question

Can't start general discovery procedure with Bluenrg-ms.

I would like to discover and connect peripheral devices with Bluenrg-ms central role. My initializing function set up public address with ac_write_config_data and than init gatt layer with gatt_init function. Finally i call gap_init with the following parameters: GAP_CENTRAL_ROLE (0x04), privacy enabled: 0x00 and device name characteristic length: 0x07. All aci functions returns BLE_STATUS_SUCCESS (so it seems the initialization was successful) but when i try to start general discovery procedure with aci_start_general_discovery_proc it always returns COMMAND DISALLOWED error. Could anybody suggest a solution to this problem?

This topic has been closed for replies.

1 reply

Bilal1
Associate
Jul 5, 2020 8:23 AM UTC

Were you able to solve this issue.. As I am currently facing the same issue... whenever I try to start aci_start_general_discovery_proc  it returns same error as described by you (COMMAND DISALLOWED)...

Regards,