本文共 1280 字,大约阅读时间需要 4 分钟。
1: ti官方网址:
2:LE CODE 设置函数
3:设置phy 历程代码学堂:
4:
2:设置LE Code广播需要注意的点
1:Note the following:
1:The eventProps parameter does not contain the legacy advertising flag, GAP_ADV_PROP_LEGACY:
2:Also, advertising on LE 2M PHY can be either connectable or scannable. In this case it is only connectable (GAP_ADV_PROP_CONNECTABLE).
3:The primary PHY (primPhy) is the LE 1M PHY. This is the PHY on which we will transmit the ADV_EXT_IND packets that contain the pointer to the AUX_ADV_IND packet.
4: The secondary PHY (secPhy) is, of course, the LE 2M PHY.5:The primary PHY parameter will decide whether the device is advertising in legacy mode, or in long range mode (with ADV_EXT_IND). The secondary PHY parameter will decide the PHY of any auxiliary advertisement packets (i.e. all packets beginning with AUX_).
If advertising non-connectable and non-scannable, an ADV_EXT_IND PDU with no Adv Data can be sent without an auxiliary packet. In all other cases, the ADV_EXT_IND PDU mist contain a pointer to an auxiliary advertisement packet, AUX_ADV_IND. The AUX_ADV_IND PDU is sent on the PHY given in secPhy, and on one of the secondary channels (also known as data channels).
将primPhy设置成1M和LE CODE,才可以将广播转换成ADV_EXT_IND ,然后还可以配置 The secondary PHY (secPhy)
可以加入QQ群:687360507 与大伙沟通交流,技术在于分享而进步
转载地址:https://blog.csdn.net/zhi_Alanwu/article/details/107810998 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!