@particle/react-native-ble-setup-library
v0.2.1
Published
React Native library for setting up BLE devices
Downloads
10
Maintainers
Keywords
Readme
@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.