I would like clarification on device scanning using bluetooth in React Native. I state one thing: I am not interested in establishing connections with the devices, it is enough for me to know that they are present. I am using react-native-ble-plx library and I have tried it both on Android devices (Samsung J5 and Huawei P8) and on iOS devices (two iPhone 8 and one iPad) but also on laptops (Lenovo Thinkpad and two MacBook Pro) plus various non-personal devices (Smart TV, home speakers, smart watch and so on.
I noticed that not all devices are capable of scanning each other. I am using the startDeviceScan
function, for example with the Samsung J5 I can see all the IoT devices and all the iOS devices but I cannot see the Huawei. Worse still, with iPhones I can see all IoT devices, but I can't see any of the Android smartphones.
What are the causes? What can I do to solve this problem (if it were possible)? Are there other libraries that would allow me to see the signal from other devices using React Native?