sim800
Version:
A modern and opiniated module for SIM800 GSM modems ( SIM800 / SIM800L ).
16 lines (13 loc) • 476 B
text/typescript
import { Observer } from 'rxjs';
import { Sim800CommandType } from './sim800-command-type.enum';
export type Sim800CommandInput = {
command: Sim800CommandType | string;
isInput?: boolean;
expectedData?: (string | ((data: string) => boolean))[];
arg?: string;
timeoutMs?: number;
observer?: Partial<Observer<string>>;
completeWhen?: ((data: string) => boolean) | string;
errorWhen?: ((data: string) => boolean) | string;
};
export interface AtCommandInput {}