sim800
Version:
A modern and opiniated module for SIM800 GSM modems ( SIM800 / SIM800L ).
17 lines • 618 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CmgdCommand = void 0;
const sim800_command_type_enum_1 = require("../interfaces/sim800-command-type.enum");
const sim800_command_1 = require("./sim800-command");
class CmgdCommand extends sim800_command_1.Sim800Command {
constructor(simIndex) {
super({
command: sim800_command_type_enum_1.Sim800CommandType.ATCMGD,
arg: String(simIndex),
completeWhen: 'OK',
errorWhen: 'ERROR',
});
}
}
exports.CmgdCommand = CmgdCommand;
//# sourceMappingURL=cmgd-command.js.map