react-native-ble-plx icon indicating copy to clipboard operation
react-native-ble-plx copied to clipboard

Is it possible to define Characteristics and Serivces that should be available on a mobile device acting as a peripheral?

Open MDale-RAC opened this issue 6 months ago • 1 comments

Prerequisites

  • [X] I checked the documentation and FAQ without finding a solution
  • [X] I checked to make sure that this issue has not already been filed
  • [X] I'm sure that question is related to the library itself and not Bluetooth Low Energy or Classic in general. If that so, please post your question on StackOverflow.
  • [X] I'm running the latest version

Question

I tried searching the issues (open and closed) as well as the Wiki, Google, and StackOverflow...

Perhaps I have not been using the correct search terms, but I was unable to find explicit information WRT using this library.


Use-case:

There will be 2 Expo applications. The first application will act as the "central" device (on physical device A), this topic/process is covered extensively (good to go) CRUX: The second application will act as the "peripheral" device (on physical device B), where, with the app running, it must define/setup/advertise the services and characteristics expected by the first application (on device A) The two applications can then communicate over the defined characteristics associated with the expected services.


If this is already an existing feature/capability of this library, I do apologize, and would simply kindly ask for a reference to the existing documentation!

If this is not an existing feature/capability of this library, any information as to why this is not a feature (or a potential roadmap to obtain this feature) would be greatly appreciated!

If you are aware of existing mechanisms to achieve this use-case (using other libraries or external tools), any additional information would be genuinely greatly helpful to me!

Many many thanks in advance!

Question related code

N/A

MDale-RAC avatar Aug 26 '24 12:08 MDale-RAC