orphe-core-insole - v0.4.0
    Preparing search index...

    Interface InsoleSessionCoreDevice

    OrpheCoreInsole のうちセッションが使う部分

    interface InsoleSessionCoreDevice {
        commands: unknown;
        firmware?: { name?: string | null } | null;
        id: number;
        lastAdvertisement?: unknown;
        profile: {
            streaming_mode?: number | null;
            sensorParseOptions?(): InsoleParseOptions;
        };
        transport: {
            addAfterReconnectSuccessHook(hook: () => unknown): () => void;
            startNotify(uuid: string): Promise<unknown>;
            stopNotify(uuid: string): Promise<unknown>;
        };
        begin(type: string, options: Record<string, unknown>): Promise<unknown>;
        isConnected(): boolean;
        onRaw(listener: (uuid: string, data: DataView) => void): () => void;
        reset(): void;
    }
    Index
    commands: unknown
    firmware?: { name?: string | null } | null
    id: number
    lastAdvertisement?: unknown
    profile: {
        streaming_mode?: number | null;
        sensorParseOptions?(): InsoleParseOptions;
    }
    transport: {
        addAfterReconnectSuccessHook(hook: () => unknown): () => void;
        startNotify(uuid: string): Promise<unknown>;
        stopNotify(uuid: string): Promise<unknown>;
    }
    • Parameters

      • type: string
      • options: Record<string, unknown>

      Returns Promise<unknown>

    • Returns boolean

    • Parameters

      • listener: (uuid: string, data: DataView) => void

      Returns () => void

    • Returns void