Android Question BLE Failure to obtain attributes and services

Josias

Member
Licensed User
Longtime User
I am busy developing an app that uses BLE and encountered a problem on one Android phone where the phone fails to read the attributes and services form my embedded device. It is NOT a b4A problem.

For phone 1, I can select and connect to my embedded device under the Bluetooth settings. But it fails to do anything beyond that. I've used two different applications from the App store to test it, both give me the same result. (Used nRF connect and BLE scanner).

For phone 2, both apps will list the attributes and services when installed on my phone.

I feel that it is a setting or something on the phone.

Any suggestions?
 

Josias

Member
Licensed User
Longtime User
We found the problem. Within Android there is a setting to enable file sharing that was off. It is called 'File sharing'. Description:
'Allow nearby devices to find your phone anytime via Bluetooth Low Energy(BLE) to send you files.

Does anyone know if it is possible to enable this function from code?
 
Upvote 0
Top