0.2.1 • Published 3 years ago

@particle/react-native-ble-setup-library v0.2.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
3 years ago

@particle/react-native-ble-setup-library

React Native library for setting up BLE devices.

Usage

The best way to see how this library is used is to check out the react-native-ble-setup-example package.

Installation

npm install @particle/react-native-ble-setup-library --save

API

SetupContext

React Context containing the BLE setup process

Kind: global constant


useBLESetup ⇒ SetupContextType

Hook for using the SetupContext

Kind: global constant
Returns: SetupContextType - Setup context


NOTE: Unfortunately, docs have a nasty habit of falling out of date. When in doubt, check usage in tests

License

Copyright © 2022 Particle Industries, Inc. Released under the Apache 2.0 license. See LICENSE for details.