完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
当使用WICDEXBTBULYSCAN()时,有一个参数调用SCANTYPE类型, 因此,我们可以设置BTMYBLY扫描类型,即高负荷或低负荷。 在WICEDY-BTYCFG~(1)中,可以找到相应的扫描间隔/窗口/持续时间。 但是,在WICEDDYBTBLYBY观察()中,我没有找到这样的占空比设置。 因此,我不知道WiDeEdBTyByLyVIEW()使用的占空比设置是什么。 以上来自于百度翻译 以下为原文 Hi, When use wiced_bt_ble_scan() there is a parameter call scan_type, so we can set BTM_BLE_SCAN_TYPE_HIGH_DUTY or BTM_BLE_SCAN_TYPE_LOW_DUTY. And I can find the corresponding scan interval/window/duration in wiced_bt_cfg_settings_t. However, with wiced_bt_ble_observe(), I don't find such duty cycle setting. So I have no idea what is the duty cycle setting used by wiced_bt_ble_observe(). |
|
相关推荐
7个回答
|
|
WieDeStBtYbLyb观察用于将设备置于观察者角色:执行扫描,并使用2048(2048×1.25MS= 2560MS)的默认值作为扫描间隔,扫描窗口使用18(18*1.25MS= 22.5MS)。
以上来自于百度翻译 以下为原文 wiced_bt_ble_observe is used to put the device in an Observer role: performs Passive scanning and uses the default values of 2048 (2048*1.25ms = 2560ms) for scan interval and 18 (18*1.25ms = 22.5ms) for scan window. |
|
|
|
为什么不允许设置占空比设置而不是使用默认设置? 以上来自于百度翻译 以下为原文 Why not make it allow to set duty cycle setting rather than use default settings? |
|
|
|
我认为默认值被认为是最优的。我们将尝试根据请求增强API。 谢谢你的反馈。 以上来自于百度翻译 以下为原文 I guess the default values were considered optimal. We will try to enhance the API based on the requests. Thanks for your feedback. |
|
|
|
伊苏写道: WieDeStBtYbLyb观察用于将设备置于观察者角色:执行扫描,并使用2048(2048×1.25MS= 2560MS)的默认值作为扫描间隔,扫描窗口使用18(18*1.25MS= 22.5MS)。 伊苏 你的回答与我所观察到的不一致。 1)启用了Enabel-Btxx PrimoLyTracl,我可以找到以下日志: 显示扫描间隔:18,扫描窗口:18 向HCI发送命令。名称:HCIILeLeWrdEySCAN参数(十六进制代码:0x200 b PARAM LEN:7)CTRL(0) 参数 扫描类型:主动扫描(01) 扫描间隔:18(0x00) 扫描窗口:18(0x00) 地址类型:公共(00) (0x00) 来自HCI的RCVD事件。名称:HCIIGracdDebug完成(十六进制代码:0x0e PARM LEN:4)CTRL(0) 参数 NCM-HCI CMD数据包:1(0x01) CMD代码:0x200 现状:成功(0x00) 2)我不认为默认是被动扫描,它看起来像是SDK-61中的主动扫描。 我试着改变.ScSyMyStudio = BtMyBulyScRyMyDyMyPyIn。BLYSCAN SKIG CFG,但它不起作用。 (它在SDK-60.1或更大的SDK中工作) 你能再核对一下吗? 以上来自于百度翻译 以下为原文 yssu wrote:yssu Your reply does not match what I observed. 1) With ENABLE_BT_PROTOCOL_TRACES enabled, I can find below log: It shows Scan Interval : 18, Scan Window : 18 SENT Command to HCI. Name: HCI_LE_Write_Scan_Parameters (Hex Code: 0x200b Param Len: 7) Ctrl(0) Parameters Scan Type : Active Scan (01) Scan Interval : 18 (0x0012) Scan Window : 18 (0x0012) Address Type : Public (00) (0x00) RCVD Event from HCI. Name: HCI_Command_Complete (Hex Code: 0x0e Param Len: 4) Ctrl(0) Parameters Num HCI Cmd Packets : 1 (0x01) Cmd Code : 0x200b (HCI_LE_Write_Scan_Parameters) Status : Success (0x00) 2) I don't think the default is Passive scanning, it looks like it is always Active scanning in sdk-6.1. I tried changing .scan_mode = BTM_BLE_SCAN_MODE_PASSIVE in .ble_scan_cfg but it does not work. (It was working in sdk-6.0.1 or older sdks) Can you double check these? |
|
|
|
阿克塞尔,你说得对。 验证了WICEDEXBTBLYLY观测()API将扫描窗口和扫描间隔设置为18×1.25MS= 22.5Ms,并使用主动扫描。 我检查了源代码,不能从应用程序中更改这些值。 以上来自于百度翻译 以下为原文 Axel, you are right. Just confirmed that the wiced_bt_ble_observe() API sets both the scan window and scan interval to 18*1.25ms = 22.5ms. Also, it uses Active Scanning. I checked the source, you cannot change these values from application. |
|
|
|
烈阳异丙醇 发表于 2018-12-7 12:48 伊苏写道: 阿克塞尔,你说得对。 验证了WICEDEXBTBLYLY观测()API将扫描窗口和扫描间隔设置为18×1.25MS= 22.5Ms,并使用主动扫描。 我检查了源代码,不能从应用程序中更改这些值。 你说的“不能从应用中改变这些价值”是什么意思? 在SDK60.1和Ealier-SDKS中可以启用/禁用主动扫描。 这显然是一种回归。 以上来自于百度翻译 以下为原文 yssu wrote:What do you mean by "cannot change these values from application"? The Active Scanning can be enable/disabled in sdk 6.0.1 and ealier sdks. It's clearly a regression. |
|
|
|
烈阳异丙醇 发表于 2018-12-7 12:48 伊苏写道: 我检查了源代码,不能从应用程序中更改这些值。 间隔、窗口、活动/被动等是可配置的,如果使用WICDEXBTYBLYSCAN()。 因此,如果使用WICDEXBTBLYBYEXEVER(),为什么这些值不能从应用程序中改变/配置。 同样的问题在2年前在论坛上被问到,到目前为止还没有任何改善。真让人失望。 以上来自于百度翻译 以下为原文 yssu wrote:The interval, window, active/passive, etc. are configurable if using wiced_bt_ble_scan(). So why these values cannot be changed/configured from application if using wiced_bt_ble_observe(). The same question was asked 2 years ago on the forum, no improvement so far. That is quite disappointed. |
|
|
|
只有小组成员才能发言,加入小组>>
721个成员聚集在这个小组
加入小组1916 浏览 1 评论
1668 浏览 1 评论
3421 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1585 浏览 6 评论
1389 浏览 1 评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
215浏览 2评论
196浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
350浏览 2评论
371浏览 1评论
82浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-5-22 00:08 , Processed in 1.063722 second(s), Total 88, Slave 72 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号