UNPKG

react-native-bluetooth-obd-manager

Version:

A React Native hook library to manage Bluetooth Low Energy connections and communication with ELM327 OBD-II adapters.

13 lines 517 B
import type { BluetoothState, BluetoothAction } from '../types'; /** * The initial state for the Bluetooth context. */ export declare const initialState: BluetoothState; /** * Reducer function to manage Bluetooth state transitions. * @param state - The current state. * @param action - The action dispatched to update the state. * @returns The new state. */ export declare function bluetoothReducer(state: BluetoothState, action: BluetoothAction): BluetoothState; //# sourceMappingURL=BluetoothReducer.d.ts.map