@hangtime/grip-connect-react-native
Version:
React Native module for Grip Connect devices
18 lines • 749 B
TypeScript
import { BleManager, Device } from "react-native-ble-plx";
import { WHC06 as WHC06Base } from "@hangtime/grip-connect";
/**
* Represents a Weiheng - WH-C06 (or MAT Muscle Meter) device.
* To use this device enable: `chrome://flags/#enable-experimental-web-platform-features`.
* {@link https://googlechrome.github.io/samples/web-bluetooth/scan.html| Web Bluetooth}
* {@link https://weihengmanufacturer.com}
*/
export declare class WHC06 extends WHC06Base {
manager: BleManager;
device?: Device;
constructor();
private base64ToHex;
private parseWeightData;
connect: (onSuccess?: () => void, onError?: (error: Error) => void) => Promise<void>;
download: () => Promise<void>;
}
//# sourceMappingURL=wh-c06.model.d.ts.map