Skip to main content
AM.12
Associate III
January 23, 2023
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,

  • January 23, 2023
  • 4 replies
  • 959 views

it's returning 0x82.

Can someone please help me with this?

This topic has been closed for replies.
Best answer by Remy ISSALYS

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
Technical Moderator
January 23, 2023

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
January 24, 2023

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
January 24, 2023

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
Technical Moderator
January 24, 2023

Hello,

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

Best Regards