[BLE(低功耗蓝牙)] 關於nrg既做主機又作從機的問題?

topdreams   2020-3-30 23:12 楼主

1.是不是同時工作在掃描和廣告的模式下?

2.兩個的功能是不是同時可以并行處理,不需要分場合?還是單雙工,只能同時工作在主機模式下?

 

我的使用場景如下:

1.作爲主機輪流讀取4個藍牙溫濕度傳感器

2.作爲從機,通過小程序來進行數據的收發,小程序的套路大概已經瞭解。有可以指點一二的不?

回复评论 (2)

 

3.9 BLE simultaneously master, slave scenario The BlueNRG-1, BlueNRG-2 BLE stack supports multiple roles simultaneously. This allows the same device to act as master on one or more connections (up to eight connections are supported), and to act as a slave on another connection. The following pseudo code describes how a BLE stack device can be initialized to support central and peripheral roles simultaneously:

本帖最后由 littleshrimp 于 2020-3-31 07:45 编辑
虾扯蛋,蛋扯虾,虾扯蛋扯虾
点赞  2020-3-31 06:57

谢谢了!这个大概明白了

点赞  2020-4-1 22:22
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复