@robotical/roboticaljs
Version:
Javascript/TS library for Robotical products
27 lines (26 loc) • 992 B
TypeScript
import { RaftEventFn, RaftSubscribeForUpdatesCBType, RaftSystemType, RaftSystemUtils } from "@robotical/raftjs";
import { StateInfoGeneric } from "./StateInfoGeneric";
import { RaftDeviceManager } from "@robotical/raftjs";
export default class SystemTypeGeneric implements RaftSystemType {
nameForDialogs: string;
defaultWiFiHostname: string;
firmwareDestName: string;
normalFileDestName: string;
connectorOptions: {
wsSuffix: string;
bleConnItvlMs: number;
};
BLEServiceUUIDs: string[];
BLECmdUUID: string;
BLERespUUID: string;
private _onEvent;
private _systemUtils;
private _deviceManager;
setup(systemUtils: RaftSystemUtils, onEvent: RaftEventFn | null): void;
private _stateInfo;
getStateInfo(): StateInfoGeneric;
subscribeForUpdates: RaftSubscribeForUpdatesCBType | null;
stateIsInvalid(): void;
rxOtherMsgType(payload: Uint8Array, frameTimeMs: number): void;
deviceMgrIF: RaftDeviceManager;
}