1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,
我的BlueNRG-MS,运行7.2c,既可作为中央也可作为外设(模式4)。我应该如何选择外设的广告最小和最大间隔以及中心的连接最小和最大间隔?它们之间似乎存在关系,但我不确定我是否理解它。 我正在尝试获得中心角色的最小连接间隔,同时确保外围设备的正确连接。 LE_Scan_Interval和LE_Scan_Window似乎也开始发挥作用...... 现在,我正在通过反复试验测试不同的值,但如果它们之间存在数学关系,我想知道它。 谢谢! #bluenrg-MS 以上来自于谷歌翻译 以下为原文 Hi, My BlueNRG-MS, running 7.2c, acts both as a central and a peripheral (mode 4). How should I select the advertizing min and max intervals for the peripheral as well as the connection min and max intervals for the central? There seem to be a relationship between them, but I'm not sure I understand it. I'm trying to get the minimal connection interval for the central role, while ensuring proper connectivity for the peripheral. LE_Scan_Interval and LE_Scan_Window seems also to come into play... Right now, I'm testing different values through trial and error, but if there is a mathematical relationship between those, I'd like to know it. Thanks! #bluenrg-ms |
|
相关推荐
2个回答
|
|
嗨,
上 https://github.com/ARMmbed/ble-x-nucleo-idb0xa1 您可以找到BlueNRG-MS的包装器库。特别是,BlueNRGGap类处理与广告相关的参数的计算: BlueNRGGap :: setAdvParameters() 和连接: BlueNRGGap :: setConnectionParameters () 希望有所帮助。 以上来自于谷歌翻译 以下为原文 Hi, On https://github.com/ARMmbed/ble-x-nucleo-idb0xa1 you can find a wrapper library for BlueNRG-MS.In particular, the BlueNRGGap class handles the computation of parameters related to Advertising: BlueNRGGap::setAdvParameters() and Connection: BlueNRGGap::setConnectionParameters () Hope that helps. |
|
|
|
我也一直在尝试不同的连接/扫描间隔组合,并在BlueNRG编程手册中找到了一些有用的指导(
http://www.st.com/content/ccc/resource/technical/document/programming_manual/1c/7e/d3/a6/d0/52/4a/35/DM00141271.pdf/files/DM00141271.pdf/jcr:内容/翻译/ en.DM00141271.pdf 例如,这来自第4.3节: 4.每次开始做广告时: a)如果是直接广告,请选择Advertising_Interval_Min = Advertising_Interval_Max =最短分配连接间隔的整数倍 b)如果不是直接广告,请选择Advertising_Interval_Min = Advertising_Interval_Max使得(Advertising_Interval_Min + 5ms)是整数 多个最短的分配连接间隔希望这有帮助 以上来自于谷歌翻译 以下为原文 I have also been experimenting with different connection / scan interval combinations and found some useful guidelines in the BlueNRG programming manual ( http://www.st.com/content/ccc/resource/technical/document/programming_manual/1c/7e/d3/a6/d0/52/4a/35/DM00141271.pdf/files/DM00141271.pdf/jcr:content/translations/en.DM00141271.pdf For Example, this is from section 4.3: 4. Every time you start Advertising: a) If Direct Advertising, choose Advertising_Interval_Min = Advertising_Interval_Max = integer multiple of the shortest allocated connection interval b) If not Direct Advertising, choose Advertising_Interval_Min = Advertising_Interval_Max such that (Advertising_Interval_Min + 5ms) is an integer multiple of the shortest allocated connection intervalHope this helps |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2730 浏览 1 评论
3239 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1808 浏览 1 评论
3647 浏览 6 评论
6035 浏览 21 评论
1338浏览 4评论
198浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
442浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
273浏览 2评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 01:46 , Processed in 1.090202 second(s), Total 80, Slave 64 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号