I am trying to make an app that uses Bluetooth Low Energy between two smartphones in proximity using React Native.
I am looking at react-native-ble-manager but i don't understand how to create the "server" (or in this case peripheral) part.
I understood the methods to discover and connect to a peripheral but I don't understand how to make a smartphone (with enabled bluetooth) listening incoming connections.
How can I listen incoming connections with BLE?
Thank you in advance for your answers