Commit c3326bd6f4102f5e6ec4d65afd28d0c393fe1fcb

Authored by Adhidarma Hadiwinoto
1 parent 68d230dda7
Exists in master

More debug command on modem-tester

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

... ... @@ -43,9 +43,11 @@ port = new SerialPort(config.modem.device, { baudRate: 115200 }, async (err) =>
43 43 }
44 44  
45 45 await writeToPortDelayed('AT\r');
  46 + await writeToPort('AT+CGSN\r');
46 47 await writeToPort('AT+CIMI\r');
47 48 await writeToPort('AT+CSQ\r');
48 49 await writeToPort('AT+COPS?\r');
  50 + await writeToPort('AT+CMGD=0,4\r');
49 51 });
50 52  
51 53 port.pipe(parserCRLF);