UNPKG

sim800

Version:

A modern and opiniated module for SIM800 GSM modems ( SIM800 / SIM800L ).

15 lines (14 loc) 491 B
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 { }