1.0.3 • Published 2 years ago
ble-data-converter v1.0.3
react-native-ble-plx-data-converter
A helper to convert data to bytes to send through https://github.com/Polidea/react-native-ble-plx
why?
Send data with react-native-ble-plx could be trick, so i decided to create this helper to send commands with Bluetooth LE more easier.
how to?
import { convertToBytes } from 'ble-data-converter';
const command = convertToBytes('yourStringBluetoothCommand');