[BLE Plugin] BLE plugin - no devices are returned when scanning.

Forge Component
(5)
Published on 2018-10-25 by G. Andrew Duthie
5 votes
Published on 2018-10-25 by G. Andrew Duthie

I am using honor 10 mobile. I am able to use "checkBluetoothenable" function. But while scanning no device list is returned. Can anyone help me? 

Hello Aishwarya


Are you using it in a Device or in the browser for testing?


If using in browser it may not work.


Have you noticed any errors? Try to debug it in device.


See here some advanced topic on how to debug in device using chrome


Raphael Ranieri wrote:

Hello Aishwarya


Are you using it in a Device or in the browser for testing?


If using in browser it may not work.


Have you noticed any errors? Try to debug it in device.


See here some advanced topic on how to debug in device using chrome


 Hi Raphael

I have generated apk and I'm device for testing, also I am not getting any error, the scan function is returning an empty list of devices no matter how many times I try. I also added an OML, could you please check what could be going wrong.

 

He Aishwarya,

I don't have much time right know but will try to use your OML soon to see if it works.

Another thing that can be happening... sometimes bluetooths devices only appear if the devices are marked with "Find me".

Have you checked it? 

Raphael Ranieri wrote:

He Aishwarya,

I don't have much time right know but will try to use your OML soon to see if it works.

Another thing that can be happening... sometimes bluetooths devices only appear if the devices are marked with "Find me".

Have you checked it? 

 Hi Rapheal,

I checked, even though the devices were marked "Find me" and were ready to be discovered, I could not get any device upon scanning. Thank you for your time.