完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好:
关于广告包的制造商特定数据,该公司必须显示哪些是蓝牙SIG的成员? 以上来自于百度翻译 以下为原文 Hi all: About the manufacturer specific data of the Advertisement Packet,the company is showed which must be the member of bluetooth SIG? |
|
相关推荐
12个回答
|
|
你好,76948
是的,公司需要成为蓝牙SIG的一个很好的常备成员。请参阅此页以获取详细信息。 当做, Meenakshi Sundaram R 以上来自于百度翻译 以下为原文 Hello 769482734_1650581, Yes, the company need to be a good standing member of the Bluetooth SIG. Refer this page for details - https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers Regards, Meenakshi Sundaram R |
|
|
|
MHU: 如果PSoC6BLE广告包不包含“本地名称”,主可以显示它吗? 如图片中所示,但是如果“本地名称”不包含在广告包中,则不会在CyScript中显示。 客户想知道为什么和如何实现它。你能帮帮我吗? 以上来自于百度翻译 以下为原文 Hi msur: If the Psoc6 BLE Advertisement Packet don't contain the "Local Name",the master can show it ? As show in the picture.However it will not show in the CySmart if the "Local Name" is't included in the Advertisement Packet . The customer want to know why and how to achieve it. Can you help me please? |
|
|
|
723662364d 发表于 2018-9-27 09:45 外围设备需要在广告或扫描响应包中包含本地名称,以便中央/主机将其显示在设备列表中。 如果奴隶/外周使用一个连接/浏览广告,然后主/中央可接受两个广告相关的数据包(即包无连接)-一个是广告,另一个是扫描的响应包。 这些数据包的大小和广告包31字节是播出的所有设备。扫描响应包被发送到请求中心设备(如名称所示,它是一个搜索请求)的响应。通常,广告包含有较少的数据(因为它发出更频繁),而扫描响应包有更多的数据和许多供应商选择扫描设备名称的反应,如果他们想节省电力发送广告数据名称是大。 应该指出的是,大部分可与我们像手机和钥匙的中心设备,进行主动扫描,扫描总是请求响应包。因此,即使广告包不包含设备的名称,如果其扫描响应包括名称,然后将已知的中央装置扫描响应从外周后。 让我知道,如果这回答你的疑问。 当做, Meenakshi Sundaram R 以上来自于百度翻译 以下为原文 The peripheral need to include the local name in either the advertisement or the scan response packet for the central/master to display it in the devices list. If the slave/peripheral uses a connectable/scannable advertisement, then Master/Central can receive two advertisement related packets (i.e. packets without a connection) - one is an advertisement and another is a scan response packet. Both these packets are 31 bytes of size and Advertisement packet is what is broadcasted by the device to all. Scan response is the packet that is sent to a central device on request (as the name indicates, it is a response to a scan request). Typically, advertisement packets contain less data (as it is sent out more frequently), whereas Scan response packets have more data and many vendors choose scan response for device names, if name is big or if they want to save power sending advertisement data. It should be noted that most of the central devices available with us like phones and dongles, perform active scanning and always request the scan response packet. Hence, even if the advertisement packet does not contain the device's name and if its scan response includes, then the name will be known to the central device after a scan response from the peripheral. Let me know if this answers your query. Regards, Meenakshi Sundaram R |
|
|
|
斯图尔特233 发表于 2018-9-27 10:03 MHU: 谢谢。关于广告包和扫描应答包的另一个问题。我在CE220167中添加了以下代码: Cyth-STCKBLY-GAPPdCl CysStCyBuffGabpDeCyDATAGETADVDATA= { 0x07,0x08,0x65,0x65,0x65,0x65,0x65,0x65, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、 0x08 }; CysStCyBulgGAPPySmithRSPYDATAYTT SCANRSPDATATE= { 0x07,0x08,0x65,0x65,0x65,0x65,0x65,0x65, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\ 0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、 0x08 }; CythStCyBuffGabpDeldCytoMyDeFiTy*ApDAPDATAN; 空隙ISRGPIO(空隙) { *清除GPIO中断*/ CygGPIO-CeleSuffic(PraveSeS00PoT,PraveSux0nnUm); NVICI- CultPangIrrq(ISRSGPIOFIXCFG.InSRC); *重新启动广告 重新启动BIDEVALIVITION(); AdvDATIOF.ADVDATA=和ADVDATA; StRrSPDATA=和ScRrSPDATA; ApvDATAdNoFO=; CysBLY-GAPPUPUPDATEADVANTATA(APVADDATIOFO); } 我使用“CythBurgGAPPUpUpDebug Advesta”函数来更新广告和扫描响应数据,但是我发现,在第一次从DS模式中醒来时,广告和扫描响应数据无法更新。 但是,如果我再次按下密钥SW2,数据将被更新。 在芯片从DS模式或REST句柄上醒来之后,广告和扫描响应数据变为初始化数据。 我想知道为什么“CythBurgGAPPUpEdvestAdvesta”函数不能在第一时间起作用?如果客户想改变广告和扫描响应数据的用户应用程序可以立即工作,也可以在从DS模式或其他处理后的工作,我该怎么办?我可以改变广告的初始化数据和扫描响应数据由用户代码? 以上来自于百度翻译 以下为原文 Hi msur: Thanks.Another question about the advertisement packet and the scan response packet. I added the following code in the CE220167: cy_stc_ble_gapp_disc_mode_info_t advDataInfo; cy_stc_ble_gapp_disc_data_t advdata={ 0x07,0x08,0x65,0x65,0x65,0x65,0x65,0x65, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08 }; cy_stc_ble_gapp_scan_rsp_data_t scanRspData={ 0x07,0x08,0x65,0x65,0x65,0x65,0x65,0x65, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08 }; cy_stc_ble_gapp_disc_mode_info_t *aPadvDataInfo; void isrGPIO(void) { /* Clear the GPIO interrupt*/ Cy_GPIO_ClearInterrupt(Advertise_0_PORT,Advertise_0_NUM); NVIC_ClearPendingIRQ(isr_gpio_cfg.intrSrc); /* Restart BLE advertisement */ RestartBleAdvertisement(); advDataInfo.advData=&advdata; advDataInfo.scanRspData=&scanRspData; aPadvDataInfo=&advDataInfo; Cy_BLE_GAPP_UpdateAdvScanData(aPadvDataInfo); } I use the "Cy_BLE_GAPP_UpdateAdvScanData "function to update the advertisement and scan response data.However I found that in the first time to wake up from the DS mode the advertisement and scan response data can't update. However the data will be update if I press the key SW2 once more. The advertisement and scan response data change to the initialization data after the chip wake up from DS mode or a rest handle. I want to know that the why the "Cy_BLE_GAPP_UpdateAdvScanData "function can't work at the first time?And if the customer want to change the advertisement and scan response data by the user application and can work immediately and also can work after wake up from DS mode or a rest handle ,How can I do?Can I change the initialization data of the advertisement and scan response data by the user code? |
|
|
|
我不期待任何关于“CythBurgGAPPUpDeDeAdvestaTaA(APVADDATAYNFO)”的问题;只需确定,API返回CysByLax成功,然后调用CythBuriPraseSeVScript()。这将启动广告/扫描响应数据更新,并且一旦完成,您将在EvEnthDunter中接收“CythBuryEvtEngpPuxUpDeTeAdvsSCANLIDATA完成”事件。 试试这些,让我知道这是否有帮助。我明天可以试试你的代码,看看有没有问题。 以上来自于百度翻译 以下为原文 I do not expect any issue with "Cy_BLE_GAPP_UpdateAdvScanData(aPadvDataInfo);" API. Just make sure, the API returns CY_BLE_SUCCESS and you call Cy_BLE_ProcessEvents() after that. This will initiate the advertisement/scan response data update and once complete, you will receive "CY_BLE_EVT_GAPP_UPDATE_ADV_SCAN_DATA_COMPLETE" event in the EventHandler. Try these and let me know if this helps. I can try out your code tomorrow to see if there are any issues. |
|
|
|
斯图尔特233 发表于 2018-9-27 10:33 MHU: 正如你所说的,在那之后我添加了CythBuriPraseServices(),但是它似乎不起作用。 API返回CysByLax成功,并发生了“CythBuryEvtGAPPUpUpDeTeAdvsSCANDATA数据完整”事件。 但是在广告超时后,我按下“SW2”键,广告和扫描响应数据不能更新: 但是,如果我按下“SW2”键多一个: 还有一个问题,我发现广告/扫描响应数据更新回到初始化数据,即使超时没有发生。 你能帮我检查一下吗? 以上来自于百度翻译 以下为原文 Hi msur: As you say ,I add the Cy_BLE_ProcessEvents() after that.However it seem not work. The API returns CY_BLE_SUCCESS and the "CY_BLE_EVT_GAPP_UPDATE_ADV_SCAN_DATA_COMPLETE" event happened. But after the advertisement time out happened ,I press the "SW2" key ,the advertisement and scan response data can't not be update: However if I press the "SW2" key one more: A more question I found the the advertisement/scan response data update back to the initialization data automatically even the time out not happened. Can you help me to check it? |
|
|
|
723662364d 发表于 2018-9-27 10:41 我想我知道你的问题了。 请做好下面的工作 1。在调用UpDeaEdvEntAsTrAd()之前,请确保您的BLE配置数据指向所需更新的ADV和扫描响应数据。您可以使用下面的代码行。 CylBluleCoppTr& G.DexyMyDeFielnF[CylBurlPurialalLosialOpthial0]索引[AdvDATAs=和AdvDATA; CylBluleCoppTr& G.DexyMyDeFielnF[CylBurlPurialalLosialPosiv.0x索引] .ScRrSPDATA=& SCARSPSPATE; 2。调用UpDeDeAdvestStAPI API如下所示 CylBurgGAPPUpDeDeDeAdvestaTa(&CylBluleCoppTr&); 三。请确保步骤2返回成功,调用过程服务器,一旦CybLayEythEvtGAPPUPUDATEYAdvSCANDICADATAO完成事件发生,则扫描/ ADV数据应从当前的广告包中更新。 现在,每当您调用CythBulePurralLySosialTys00Cype超时后的Stad广告时,您的广告将使用新的数据。 让我知道这是否解决了这个问题。 当做, Meenakshi Sundaram R 以上来自于百度翻译 以下为原文 I think I get your issue. Please do the below - 1. Before calling the UpdateAdvScanData(), make sure your BLE configuration data points to the updated adv and scan response data that you want. You can use the below line of code for that. cy_ble_configPtr->discoveryModeInfo[CY_BLE_PERIPHERAL_CONFIGURATION_0_INDEX].advData = &advdata; cy_ble_configPtr->discoveryModeInfo[CY_BLE_PERIPHERAL_CONFIGURATION_0_INDEX].scanRspData = &scanRspData; 2. Call UpdateAdvScanData API as shown below - Cy_BLE_GAPP_UpdateAdvScanData(&cy_ble_configPtr->discoveryModeInfo[CY_BLE_PERIPHERAL_CONFIGURATION_0_INDEX]); 3. Make sure step 2 returns success, call ProcessEvents and once CY_BLE_EVT_GAPP_UPDATE_ADV_SCAN_DATA_COMPLETE event happens, the scan/adv data should be updated from the current advertisement packet. Now everytime you call StartAdvertisement after timeout with CY_BLE_PERIPHERAL_CONFIGURATION_0_INDEX, your advertisement will use the new data. Let me know if this fixes the issue. Regards, Meenakshi Sundaram R |
|
|
|
斯图尔特233 发表于 2018-9-27 10:57 你好: 我认为这不是工作: 如果我在这里添加代码如下: 它可以在第一次按下按键SW2时工作。 但是奇怪的事情发生在我的第二次按下键时发生的广告时间,保佑不广告: 此外,代码似乎只能在这里。如果我添加代码的位置如下: 广告投放后不能直接工作: 广告/扫描响应数据更新被添加有位置限制? 请帮我检查一下,谢谢。 以上来自于百度翻译 以下为原文 Hi musr: I think it's not work: If I add the code at the here as follow: it can work at the first time pressing the key SW2. However something strange happened on my second time pressing the key when the advertisement time out happened is that the BLESS can't advertising : In addition the code seem can work only here.If I add the code in the position as follow: The advertisement can't work directly after the power on: The advertisement/scan response data update be added is there a position limit? Can you help me check it please ,thanks. |
|
|
|
我刚刚注意到你正在尝试更新的广告数据是无效的,请使用下面的适当的操作(基本上开始广告使用以前的帖子中提供的AdvDATA返回无效的PARAM)。 CysStCyBuffGabpDeCydDATAYT ADVDATA= {0x02U,0x01U,0x05U,/ /需要广告 0x070x090x65、0x65、0x65、0x65、0x65、0x65、/ /第二字节表示“本地名称”,它应该是0x09,而不是0x08在您的数据中使用 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\ 0x0B }; CysStCyBulgGAPPySmithRSPYDATAYTT SCANRSPDATATE= { 0x07,0x09,0x65,0x65,0x65,0x65,0x65,0x65, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\ 0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、0x00、 0x08 }; 请使用上述广告和扫描响应数据。它在我的代码中运行。 请注意,如果广告尚未启动,则不调用CythByrgGppUpDeDeAdvestAsTaA()API。作为启动广告API,无论如何都会调用它。只有当您已经在广告中更新广告参数时,才调用CYLBLYGAPPUPDATEADVIESTATA()。 所以下面的代码已经足够好了 *检查广告是否需要重新启动*/ 如果(重新启动BIB) { /*重置“RealStimeBebug”标志* RealStaseBuffelVistue= FALSE; CylBluleCoppTr& G.DexyMyDeFielnF[CylBurlPurialalLosialOpthial0]索引[AdvDATAs=和AdvDATA; CylBluleCoppTr& G.DexyMyDeFielnF[CylBurlPurialalLosialPosiv.0x索引] .ScRrSPDATA=& SCARSPSPATE; *开始广告并输入可发现模式*/ CYLBLYGGAPPEGSTART广告 (CythBuleAdvutsixFixFig,Cyth-BuryPurralalyOpthigial0-指数); } 让我知道这是否有帮助。 当做, Meenakshi Sundaram R 以上来自于百度翻译 以下为原文 I just noticed that the advertisement data you are trying to update is invalid, please use the below for proper operation (basically start advertisement returns INVALID_PARAM using the advData you provided in the earlier post). cy_stc_ble_gapp_disc_data_t advdata={0x02u, 0x01u, 0x05u, //Required for Advertisement 0x07,0x09,0x65,0x65,0x65,0x65,0x65,0x65, //Second byte on this denotes 'Local Name' and it should be 0x09 and not 0x08 used in your data 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x0B }; cy_stc_ble_gapp_scan_rsp_data_t scanRspData={ 0x07,0x09,0x65,0x65,0x65,0x65,0x65,0x65, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08 }; Please use the above advertisement and scan response data. It worked in my code. Note that if the advertisement has not started, then do not call Cy_BLE_GAPP_UpdateAdvScanData() API. As StartAdvertisement API will call it anyway. The Cy_BLE_GAPP_UpdateAdvScanData() should be called only when you are already advertising to update the advertisement parameters. So the below code is good enough - /* Check if the advertisement needs to be restarted */ if(restartBleAdvertisement) { /* Reset 'restartBleAdvertisement' flag */ restartBleAdvertisement = false; cy_ble_configPtr->discoveryModeInfo[CY_BLE_PERIPHERAL_CONFIGURATION_0_INDEX].advData = &advdata; cy_ble_configPtr->discoveryModeInfo[CY_BLE_PERIPHERAL_CONFIGURATION_0_INDEX].scanRspData = &scanRspData; /* Start Advertisement and enter discoverable mode */ Cy_BLE_GAPP_StartAdvertisement (CY_BLE_ADVERTISING_FAST,CY_BLE_PERIPHERAL_CONFIGURATION_0_INDEX); } Let me know if this helps. Regards, Meenakshi Sundaram R |
|
|
|
斯图尔特233 发表于 2018-9-27 11:29 你好: 我发现它似乎不能立即更新广告数据。 在ISRGPIO函数中,我添加了如下代码: 然而,当我按下SW2键时,广告数据将在大约13分钟后发生变化。 以上来自于百度翻译 以下为原文 Hi musr: I found that it seem can not update the advertisement data immediately. In the isrGPIO function ,I add some the code as follow: However when I press the SW2 key ,the advertisement data will change in about 13 minutes later. |
|
|
|
斯图尔特233 发表于 2018-9-27 11:29 你好: 我很抱歉弄错了单位,广告数据会在13秒钟后发生变化。 以上来自于百度翻译 以下为原文 Hi musr: I'm so sorry to got the wrong units,is the advertisement data will change in about 13 seconds later |
|
|
|
你好, 请测试附件项目。 设备的广告为“BLE UI”复位如果按下开关,它仍然是广告,我改名为“iiiii”。如果不是广告时,按下开关,然后我将名称改为“eeeee”开始广告。我把restartadvertisement API,它不是必需的。我检查了CySapp应用程序,它运行良好。 让我知道这是否澄清了你的理解。 当做, Meenakshi Sundaram R CE220167 1.4兆字节 以上来自于百度翻译 以下为原文 Hi, Please test the attached project. The devices advertises as "BLE UI" on reset and if switch is pressed and it is still advertising, I change the name to "iiiii". If it is not advertising when switch is pressed, then I change the name to "eeeee" and start advertisement. I removed the RestartAdvertisement API as it was not required. I checked in CySmart App and it works fine. Let me know if this clarifies your understanding. Regards, Meenakshi Sundaram R
|
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2110 浏览 1 评论
1858 浏览 1 评论
3673 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1791 浏览 6 评论
1540 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
576浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
430浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
440浏览 2评论
390浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
950浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-28 08:51 , Processed in 1.068997 second(s), Total 68, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号