Skip to main content
Associate III
May 14, 2025
Solved

NO_VALID_SLOT aci result after global discovery start when 2 connections are already running

  • May 14, 2025
  • 1 reply
  • 277 views

I've build a central device that need to connect to at least 4 hosts devices 

it periodically loops on a aci_gap_start_general_discovery_proc()

when find a device that fits mac filter it connect itself and restart a scan period

but when it get connected to 2nd hosts next call to aci_gap_start_general_discovery_proc() return a BLE_STATUS_NO_VALID_SLOT result

my understanding is that CM0 can't deal with enought "state machines" as quickly mentionned in ble_defs.h

 
/* Returned when no valid slots are available
* (e.g. when there are no available state machines).
*/
#define BLE_STATUS_NO_VALID_SLOT 0x82U

I didn't find any details in an5270

Can I set maximum state machine count a bit higher in config ??

thank's for any help

 

Best answer by oga

oga_0-1747386713621.png

sorry I missed this parameter

1 reply

ogaAuthorBest answer
Associate III
May 16, 2025

oga_0-1747386713621.png

sorry I missed this parameter