-
|
@pvvx let me ask your help: while with an Ai-Thinker TB-03F-KIT running a trivial code (borrowed from the Ai-Thinker Telink 825X SDK), I am able to receive standard advertising frames produced by a LYWSD03MMC device with your latest pvvx firmware, when setting CODED PHY on this device using your appropriate configuration, no advertisement is received any more. Can you please advise which is the correct code for the TLSR8253 SDK to enable receiving CODED PHY advertising produced by your firmware? I do this by now (which is clearly not enough): ...
blc_ll_init2MPhyCodedPhy_feature(); // Coded PHY
blc_ll_setPhy(BLM_CONN_HANDLE, PHY_TRX_PREFER, PHY_PREFER_CODED, PHY_PREFER_CODED, CODED_PHY_PREFER_S8);
blc_ll_setDefaultConnCodingIndication(CODED_PHY_PREFER_S8); // set Default Connection Coding
blc_ll_initChannelSelectionAlgorithm_2_feature(); // set CSA2
blc_ll_setScanParameter(SCAN_TYPE_PASSIVE, SCAN_INTERVAL_100MS, SCAN_INTERVAL_100MS, OWN_ADDRESS_PUBLIC, SCAN_FP_ALLOW_ADV_ANY);
blc_ll_setScanEnable (BLC_SCAN_ENABLE, DUP_FILTER_DISABLE);
...With the above code, I receive standard advertisements (event callbacks) produced by sensors, but not the ones produced by the LYWSD03MMC in CODED PHY configuration. Unfortunately, the Telink SDK Developer Handbook does not help enough. Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 41 replies
-
|
To send or receive Extended Advertisements you must enable additional modules. https://wiki.telink-semi.cn/tools_and_sdk/BLE/B85M_BLE_SDK.zip -> \b85m_ble_sdk\vendor\b85m_feature\feature_ext_scan |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Ah, thank you @pvvx, amazing! I'm away from home but I'll test it for sure. |
Beta Was this translation helpful? Give feedback.

To send or receive Extended Advertisements you must enable additional modules.
https://wiki.telink-semi.cn/tools_and_sdk/BLE/B85M_BLE_SDK.zip -> \b85m_ble_sdk\vendor\b85m_feature\feature_ext_scan