UNPKG

sim800

Version:

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

17 lines 614 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CmgdaCommand = void 0; const sim800_command_type_enum_1 = require("../interfaces/sim800-command-type.enum"); const sim800_command_1 = require("./sim800-command"); class CmgdaCommand extends sim800_command_1.Sim800Command { constructor(mode = '6') { super({ command: sim800_command_type_enum_1.Sim800CommandType.ATCMGDA, arg: mode, completeWhen: 'OK', errorWhen: 'ERROR', }); } } exports.CmgdaCommand = CmgdaCommand; //# sourceMappingURL=cmgda-command.js.map