esp-ble-prov
Version:
ESP32 provisioning with WebBluetooth
11 lines (10 loc) • 682 B
TypeScript
import { scan } from '../proto.js';
export type ICmdScanStart = scan.ICmdScanStart;
export type ICmdScanResult = scan.ICmdScanResult;
export type IWiFiScanResult = scan.IWiFiScanResult;
export declare function scanStartRequest(options: ICmdScanStart): Uint8Array<ArrayBufferLike>;
export declare function scanStartResponse(response: Uint8Array): void;
export declare function scanStatusRequest(): Uint8Array<ArrayBufferLike>;
export declare function scanStatusResponse(response: Uint8Array): number;
export declare function scanResultRequest(options: ICmdScanResult): Uint8Array<ArrayBufferLike>;
export declare function scanResultResponse(response: Uint8Array): IWiFiScanResult[];