2 of 2 people found this helpful
A: For Just works pairing :
Please recheck if below points are taken care in your project :
1. /*.encr_required =*/ 1, // In BLE_PROFILE_CFG , this field should be enabled
2. If peer device is not initiating pairing process, call lesmp_sendSecurityRequest(); function in your BLE connection call back function.
You may refer to hello_sensor , hello_client examples available in WICED SMART SDK
B: For Tx power :
Use the APIs blecm_setTxPowerInADV (during advertisement )blecm_setTxPowerInConnection (during connection ) for setting the desired Tx power . Tx power range details are available here : Power level granularity in blecm_setTxPowerInConnection() and blecm_setTxPowerInADV()
C: how to mark as "authenticated access needed"
You need to set the property label in the GATT DB as per application requirement. Please refer to Reference link 3
Please also refer:
1 of 1 people found this helpful
Thanks for your reply. I gave a look to hello_sensor , hello_client examples and found a way to perform a JustWorks pairing with an App.