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

    Interface InsoleCommands

    ORPHE INSOLE のデバイスコマンド。ble.commands で取得する。

    const ble = new OrpheCoreInsole({ profile: insoleProfile() }); await ble.begin('SENSOR_VALUES', { streamingMode: 4 }); await ble.commands.setDataStreamingMode(3);

    interface InsoleCommands {
        fetchPressureCalibrations(
            options?: PressureCalibrationFetchOptions,
        ): Promise<(PressureCalibration | null)[] | null>;
        readDeviceInformation(): Promise<InsoleDeviceInformation>;
        resetAnalysisLogs(): Promise<void>;
        setDataStreamingMode(mode: number): Promise<void>;
    }
    Index
    • 解析ログ(歩数など)をリセットする

      Returns Promise<void>

    • データストリーミングモード(1 / 3 / 4)を切り替える。接続中に使える

      Parameters

      • mode: number

      Returns Promise<void>