Hi,
SPP_BLE_SERVER is not connecting to the android app BLE scanner when I removed the hardcoded BDaddress. SPP_ble_server is an out of box example only with the above change.
the app was scanning and display the device name SPP_BLE_SERVER with its BDaddress. When I press connect it is returning CONNECT_FAIL.
//uint8 bdAddress[B_ADDR_LEN] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 };
//HCI_EXT_SetBDADDRCmd(bdAddress);
But, when the spp_ble_server was used with the above hardcoded address, the app was connecting to spp_ble_server and gives the service information successfully.
spp_ble_server is also connecting with board to board with spp_ble_client CC2640R2Flaunchpad(removed the autoconnect in client and scanning every time and then connect with server by received BDaddress) successfully.
we are making over own android app for BLE central. the SPP_ble_server is not connecting with our app too.
How can I make the SPP_BLE_SERVER connectable with Android app(BLE scanner) with device's original BDaddress(not hardcoded address)?
Is it a problem with Android app or SPP code?
regards,
Santhananarayanan