cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55 configured as the client, and I want to connect to 4 servers. But I am not able to connect to more than 1 server. When I call aci_gap_start_general_discovery_proc API to start searching for 2nd server, it's not returning BLE_STATUS_SUCCESS,

AM.12
Associate III

it's returning 0x82.

Can someone please help me with this?

1 ACCEPTED SOLUTION

Accepted Solutions
Remy ISSALYS
ST Employee

Hello,

Did you increase the number of simultaneous connections that the device will support, see the define CFG_BLE_NUM_LINK in app_conf.h file?

Best Regards

View solution in original post

4 REPLIES 4
Remy ISSALYS
ST Employee

Hello,

Did you increase the number of simultaneous connections that the device will support, see the define CFG_BLE_NUM_LINK in app_conf.h file?

Best Regards

AM.12
Associate III

Hi, Remy Issalys,

Thank You, I was missing that. Now I am able to connect more than 1 server.

AM.12
Associate III

Hi, One more help.

I am writing attribute value using API "aci_gatt_write_without_resp",

In case of multiple servers, how to write a value for a specific server?

Remy ISSALYS
ST Employee

Hello,

The parameter connection handle allows to write a value for a specific server.

Best Regards