UNPKG

@hangtime/grip-connect-capacitor

Version:
18 lines 1.07 kB
import { type BleDevice } from "@capacitor-community/bluetooth-le"; import { mySmartBoard as mySmartBoardBase } from "@hangtime/grip-connect"; import type { WriteCallback } from "@hangtime/grip-connect/src/interfaces/callback.interface.js"; /** * Represents a Smartboard Climbing mySmartBoard device. * TODO: Add services, do you own a mySmartBoard? Help us! * {@link https://www.smartboard-climbing.com} */ export declare class mySmartBoard extends mySmartBoardBase { device?: BleDevice; connect: (onSuccess?: () => void, onError?: (error: Error) => void) => Promise<void>; disconnect: () => Promise<void>; download: (format?: "csv" | "json" | "xml") => Promise<void>; onConnected: (onSuccess: () => void) => Promise<void>; read: (serviceId: string, characteristicId: string, duration?: number) => Promise<string | undefined>; write: (serviceId: string, characteristicId: string, message: string | Uint8Array | undefined, duration?: number, callback?: WriteCallback) => Promise<void>; } //# sourceMappingURL=mysmartboard.model.d.ts.map