sim800
Version:
A modern and opiniated module for SIM800 GSM modems ( SIM800 / SIM800L ).
18 lines • 546 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InputCommand = void 0;
const sim800_command_1 = require("./sim800-command");
class InputCommand extends sim800_command_1.Sim800Command {
constructor(data) {
super({
command: data,
isInput: true,
completeWhen: 'OK',
errorWhen: 'ERROR',
expectedData: ['+CMGS:'],
timeoutMs: 60000,
});
}
}
exports.InputCommand = InputCommand;
//# sourceMappingURL=input-command.js.map