Hello_client demo can only connect with peripheral with hello_sensor service UUID. You may need more kits with hello_sensor demo.
I have modified the hello_client demo. Call wiced_bt_gatt_le_connect function by manual when scanned the outside device.
I don't have other EVAL boards. I have to use APP in mobile to simulate. But the "Key retrieval failure" happen. I need to know how to modify code to test the connection function and transfer data function.
1 of 1 people found this helpful
The key retrieval failure will only happen with the device which has paired before. When the client and the peripheral paire and bond, it will store the link key to the NVRAM. When they connect again, there will be a key request event. If the cllient doesn't have the key, the key retrieval failure will happen.
Could you check if the client is in your paired device list of the phone. Please unpaired it and test again.
BTW, you'd better use the kit to test the function because the simulate APP on your phone may not use the standard spec and may have some problems.
How about "LightBlue" APP?