UNPKG

sim800

Version:

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

16 lines (15 loc) 406 B
import { Subject } from 'rxjs'; import { Sim800Client } from 'sim800.client'; export declare class Sim800Sms { private readonly client; private readonly data; result$: Subject<number[]>; result?: number[]; error?: Error; constructor(client: Sim800Client, data: { number: string; text: string; deliveryReport: boolean; }); execute(): Promise<void>; }