ble-data-converter

1.0.3 • Public • Published

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');

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i ble-data-converter

      Weekly Downloads

      3

      Version

      1.0.3

      License

      MIT

      Unpacked Size

      3.79 kB

      Total Files

      4

      Last publish

      Collaborators

      • ebellumat