Hi,
We are trying to connect to 5 pherepherials (Bulbs) from QCA4020 as master. But i am able to maintain only 4 active connections at a given point of time. Is there any limitation on number of active BLE connections??
Awaiting for response.
Thank you,
Y. Prathyusha.
The allowed maximum number of simultaneous BLE connections is 4 by default. The maximum value is 10.
The value can be configured in @target\quartz\nvm\config\2.0\4020\CDB\QCA4020_2p0.nvm under NVM Tag 1.
Please refer to section "3.6.1.1 BLE size parameters" of document "QCA402x (CDB2x)Programmers Guide 80-YA121-142" about NVM configuration for Maximum simultaneous BLE connections.
The parameter is about the number of simultaneous connection and it is to restrict memory usage for multiple connections.
Hi Raja,
Thanks, it worked.
We were able to connect to 5 devices a couple of times but now we have a new issue:
We receive QAPI_BLE_HCI_ERROR_CODE_UNACCEPTABLE_CONNECTION_INTERVAL after responding to connection parameters update request. Can you please help us?
We did not see this issue when max_connections was set to 4 in NVM configuration file
Here is the log for the same:
Request f rom peripheral:
BLE: etLE_Connection_Parameter_Update_Request with size 14.
BLE: BD_ADDR: 0xACA74B18ACE6
BLE: Connection Interval Minimum: 20
BLE: Connection Interval Maximum: 40
BLE: Slave Latency: 0
BLE: Supervision Timeout: 6000
Response from peripheral after update was sent from QCA4020:
BLE: etLE_Connection_Parameter_Updated with size 14.
BLE: BD_ADDR: 0xACA74B18ACE6
BLE: Status: 59 (QAPI_BLE_HCI_ERROR_CODE_UNACCEPTABLE_CONNECTION_INTERVAL)
BLE: Connection Interval: 0
BLE: Slave Latency: 0
BLE: Supervision Timeout: 0
Thanks a lot,
Prathyusha
Hi Prathyusha,
The new error seems happening because there is no slot to align the new connection when you already have several connections.
Did you check the connection interval of the existing 4 connections?
If the existing 4 connection have short connection interval, this error can happen.
Thanks
BR,
Jayden
Hi,
Thank you for your support.
As the bulbs (pheripherals) are requesting for connecting intervel from 20 - 40 milli sec. Changed connection time from 20 to 40 millisec. Now the application is working fine.
Sometime we experienced hang issue. Please help regarding this.
Thank you,
Y. Prathyusha.
Hi yerasiprathyusha,
For debugging hang issue, you may need JTAG debug in gdb session.
Please refer programmer and dev kit document.
Thanks
BR,
Jayden
Hi guys,
I have SDK and the hardware of QCA4020. Current, I can connect with 4 sensor at the same time.
Follow the document, I modified the file .nvm to connect more than 4 sensor (try with value 07):
Hi All,
The problem was reolved. We need change the interval_time min and max for create and hold the connection.
Thank you.
Lap