ST意法半导体
直播中

李剑

7年用户 150经验值
私信 关注
[问答]

关于为BlueNRG指定广告时间间隔的问题

我需要调整与''相关的广告间隔(最小/最大)
''命令在UM1755 BlueNRG蓝牙LE堆栈ACI用户手册的第30-31页描述(在BlueNRG产品页面上链接)。该命令具有以下参数:

在哪里我需要了解和的细节。
但是没有提供细节。用户手册说明了这些参数:

在命令参数的详细列表中,这两个参数完全缺失!
能否提供这两个参数的详细信息:和
每个字节多少?如果> 1个字节是大字还是小字节?什么是时间单位?换句话说,如果我指定一个值1(十进制),相应的广告间隔是什么?如果这个信息在某处可用,请指出它。
非常感谢你!

#adv_interval_min#advertising-interval #adv_interval_max #bluehci_gap_set_limited_discoverable

以上来自于谷歌翻译


以下为原文




I need to adjust the Advertising Intervals (min/max) associated with the ''


'' command which is described on pages 30-31 of the UM1755 BlueNRG Bluetooth LE stack ACI User Manual (linked on the BlueNRG product page).This command has the parameters:
      
where I need to understand the details of  and .
However no details are provided.   The User Manual says this about these parameters:
      
and in the detailed listing of the command parameters,  these two parameters are entirely missing!
Can you please provide details for these two parameters:   and

  • How many bytes each?
  • If > 1 bytes are they big or little-endian?
  • What are the time units?   In other words,  if I specify a value of 1 (decimal),  what will the corresponding advertising interval be?
If this information is available somewhere,  please point me to it.
Thank you very much!

#adv_interval_min #advertising-interval #adv_interval_max #bluehci_gap_set_limited_discoverable

回帖(5)

樊周依

2018-9-27 16:35:40
亲爱的兰斯,
它们是2字节的小端参数。至于endianess,请注意它已经由SW包中包含的库处理。
Advertising_Interval_Min
2
最小广告间隔。范围:0x0020至0x4000时间= N * 0.625毫秒时间范围:20毫秒至10.24秒
Advertising_Interval_Max
2
最大广告间隔。范围:0x0020至0x4000时间= N * 0.625毫秒时间范围:20毫秒至10.24秒

以上来自于谷歌翻译


以下为原文




Dear Lance,
they are 2-byte little endian parameters. As for the endianess, please notice that it's already handled by the library included in the SW package.





Advertising_Interval_Min
2
Minimum advertising interval. Range: 0x0020 to 0x4000 Time = N * 0.625 msec Time Range: 20 ms to 10.24 sec

Advertising_Interval_Max
2
Maximum advertising interval. Range: 0x0020 to 0x4000 Time = N * 0.625 msec Time Range: 20 ms to 10.24 sec
举报

樊周依

2018-9-27 16:43:49
如果指定1作为参数,则相应的间隔将为1 * 0.625 ms,即0.625 ms。
希望有所帮助,
安东尼奥

以上来自于谷歌翻译


以下为原文




If you specify 1 as the parameter, the corresponding interval will be  1 * 0.625 ms, i.e. 0.625 ms.
Hope that helps,
Antonio
举报

李剑

2018-9-27 16:57:26
嗨Antonio,
非常感谢您的答案,它非常有用!
我很好奇:这些信息来自哪里?是否有其他ST手册或规格列出?我知道将来参考是件好事。
问候,


以上来自于谷歌翻译


以下为原文




Hi Antonio,
Thanks very much for the answers,  it helps very much!
I'm curious:  where did this information come from?   Is there some other ST manual or spec that has it listed?   It would be good for me to know for future reference.
Regards,
Lance
举报

樊周依

2018-9-27 17:03:53
嗨兰斯,
这些信息包含在
http://www.st.com/content/st_com/en/products/embedded-software/wireless-connectivity-software/stsw-bnrgui.html
 文档。 BlueNRG GUI是用于PC的图形用户界面应用程序,可用于交互和评估BlueNRG系列的功能。通过使用GUI,您还可以获得有关参数的提示。此外,GUI将帮助您进行服务和特性创建和发现。
最好的祝福,
安东尼奥

以上来自于谷歌翻译


以下为原文




Hi Lance,
this information is included in the
http://www.st.com/content/st_com/en/products/embedded-software/wireless-connectivity-software/stsw-bnrgui.html
documentation. The BlueNRG GUI is a graphical user interface application for PC that can be used to interact and evaluate the capabilities of the BlueNRG family. By using the GUI, you can also get hints about the parameters.Besides, the GUI will help you with service and characteristic creation and discovery.
Best regards,
Antonio
举报

更多回帖

发帖
×
20
完善资料,
赚取积分