Skip to main content
AM.12
Associate III
Jan 23, 2023 11:08 AM UTC
Solved

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,

it's returning 0x82.

Can someone please help me with this?

This topic has been closed for replies.
Remy ISSALYS
Remy ISSALYSBest answer
ST Technical Moderator
Jan 23, 2023 6:20 PM UTC

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

4 replies

Remy ISSALYS
Remy ISSALYSBest answer
ST Technical Moderator
Jan 23, 2023 6:20 PM UTC

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
AM.12Author
Associate III
Jan 24, 2023 4:24 AM UTC

Hi, Remy Issalys,

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

AM.12
AM.12Author
Associate III
Jan 24, 2023 6:24 AM UTC

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 Technical Moderator
Jan 24, 2023 8:57 AM UTC

Hello,

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

Best Regards