Bluetooth Peripherals

React Native ==> Bluetooth module

This project integrates Bluetooth LE device support with the React Native Inform SDK Wrapper to collect data from supported Bluetooth Low Energy devices on behalf of an end user. You may pair (if required by the specific Bluetooth device), read, and passively read Bluetooth devices. Read (also known as foreground read) is used to read while the app is in the foreground. Passive read is used to continue to listen for new readings while the app is backgrounded.

BluetoothPeripheral

A BluetoothPeripheral represents a Bluetooth Low Energy profile for interacting with a Bluetooth device. To get a list of all of the BluetoothPeripherals that are supported by the Validic Bluetooth Platform.

const peripherals = await ValidicBluetooth.getAllPeripherals();

To get a BluetoothPeripheral definition by its BluetoothPeripheral.id identifier

const peripheral = await ValidicBluetooth.getPeripheralInfo(peripheralId);

Generic Bluetooth Peripherals

Peripheral profiles exist for interacting with Bluetooth Devices that adhere to communication specifications defined by the Bluetooth Special Interest Group (SIG). For more details, please refer to the Native Android SDK documentation on Generic Peripherals.