Commit fdeb6c99c10d3dca256a48b8d3334721f1c3f48d

Authored by Adhidarma Hadiwinoto
1 parent e1b15d9b7a
Exists in master

MODEM-TESTER: AT&F

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

... ... @@ -71,6 +71,7 @@ port = new SerialPort(config.modem.device, { baudRate: 115200 }, async (err) =>
71 71 }
72 72  
73 73 await writeToPortDelayed('AT\r');
  74 + if (isNotBlacklistedCommand('CGSN')) await writeToPortDelayed('AT&F\r', 2000);
74 75 if (isNotBlacklistedCommand('CGSN')) await writeToPortDelayed('AT+CGSN\r', 2000);
75 76 if (isNotBlacklistedCommand('CIMI')) await writeToPortDelayed('AT+CIMI\r', 2000);
76 77 if (isNotBlacklistedCommand('CSQ')) await writeToPortDelayed('AT+CSQ\r', 2000);