1. Can BLE channel map in link layer be set manually ?
2. If a channel of 2.4G is known to be occupied by other devices,
How to configure bluetooth chip to actively avoid the occupied chanel frequency points ?
PS:
Our scenario is probably as follows:
In a classroom, a bluetooth central connects 60 responder as peripherals, which use BLE bluetooth protocol.
In addition, the teacher is likely to use bluetooth headest, bluetooth mouse and bluetooth keyboard which all use the 2.4G wireless protocol.
Simultaneously, there is small number of other 2.4G loT devices, such as temperature and humidity sensors.
Kevin Qiu1:
BLE primary channel map是在37,38,39通道,可以设置广播通道,协议栈有自动跳频机制,这三个通道没有被同时占用就可通信
你使用的是哪款产品,CC26X2作为central最大支持32个从机
user6361423:
回复 Kevin Qiu1:
感谢回复,我们使用2642R做主机,2640R2F做从设备,主机连接多个从设备. 测试发现,如果开了60个以上从设备,连接会有些干扰,导致连接变慢.
Kevin Qiu1:
回复 user6361423:
CC2642连接CC2640r2f没有测试过,可以连接的从机数主要和内存有关
连接60个CC2640r2f内存应该是不够的
wen Qina:
回复 Kevin Qiu1:
你好,我想问下,cc2642做主机连接设备,能否在主机转变成Initiator发送连接请求的时候,就设置好自定义的连接参数?这样不需要等到连接完成后,才由主机发起连接参数更新的动作。如果可以,要如何修改?
Kevin Qiu1:
回复 wen Qina:
在Initiator状态时可以设置的参数可以在gap_initiator.h中查看,其他只能在变为central设备才能设置
设置完成后还是要通过连接参数更新才能生效
wen Qina:
回复 Kevin Qiu1:
感谢回复!在gap_initiator.h 里面的参数(比如连接间隔)在Initiator状态就生效了吗?还是也需要通过连接参数更新才生效呢?
Kevin Qiu1:
回复 wen Qina:
设置好的连接参数需要连接后更新才能生效
wen Qina:
回复 Kevin Qiu1:
那有没有什么办法,可以不通过连接参数更新这个动作,主从设备连接上就是采用自定义的连接间隔呢?据说Nordic的方案是可以的,不知道TI的方案支不支持。
Kevin Qiu1:
回复 wen Qina:
主从机连接时,首先使用的是主机端默认的连接参数
如果从机端禁止参数更新,则之后的通信都将使用主机端默认的连接参数
wen Qina:
回复 Kevin Qiu1:
好的,那这个默认的连接参数,可以用户自定义修改吗?