My name is Fabian, and I am currently working on a project to establish a communication between a user smartphone and the QCA4020, and send data back and forth. Using the ble_util.c from Onboard_demo, in my main thread (initialize thread) currently i wrote:
InitializeBluetooth();
Register_Services();
Start_onboard_via_ble();
//these functions can be found in ble_util.c
I managed to discover the board's Bluetooth name on my phone, however, when i attempt to pair, it states that the pairing key is wrong (although it is not giving me any key), or that the device is configured wrongly.
How do I set the pairing key? And is there an option to remove security and allow pairing without key? What variable/config files do i go to?
Hi Mr.Fabian,
API used to enable the feature is "qapi_BLE_GAP_LE_Set_Fixed_Passkey", where the passkey is
Hi gesqdn,
It seems that the pairing key was not the problem in the first place. However, I am yet to figure out what am I configuring wrongly on the QCA4020 side. I will try to get a proper error report. but as of now, my initialize thread is still as follows:
Initialize_Bluetooth();
Register_services();
Start_onboard_via_ble();