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