react-native-ble-nitro
Version:
High-performance React Native BLE library built on Nitro Modules - drop-in replacement for react-native-ble-plx
24 lines (22 loc) • 658 B
text/typescript
/**
* Compatibility layer for react-native-ble-nitro
*
* This module provides compatibility shims and converters to maintain
* 100% API compatibility with react-native-ble-plx while working with
* Nitro's type system constraints.
*/
export * from './serviceData';
export * from './deviceWrapper';
export * from './constants';
// Explicitly export enum utilities to avoid conflicts
export {
stateToString,
stringToState,
logLevelToString,
stringToLogLevel,
characteristicSubscriptionTypeToString,
stringToCharacteristicSubscriptionType,
normalizeState,
normalizeLogLevel,
normalizeCharacteristicSubscriptionType,
} from './enums';