sudo pm2 start hello.js
Source: Set Up a Node.js App for a Website With Apache on Ubuntu 16.04 – IONOS
sudo pm2 start hello.js
Source: Set Up a Node.js App for a Website With Apache on Ubuntu 16.04 – IONOS
AT+URAT=8
OK
AT+URAT?
+URAT: 8
OK
AT+CMEE=2
OK
AT+CGDCONT=1,“IP”,“dev.sodaq.com”
OK
AT+CGDCONT?
+CGDCONT: 1,“IP”,“dev.sodaq.com”,“0.0.0.0”,0,0,0,0
OK
AT+CFUN=1
OK
AT+COPS=1,2,“23201”
OK
AT+CSQ
+CSQ: 99,99
OK
AT+CREG=2
OK
AT+CREG?
+CREG: 2,2
OK
AT+CGPADDR
+CGPADDR: 1,0.0.0.0
OK
AT+USOCR=17
+CME ERROR: No connection to phone
AT+USOCR=17
+CME ERROR: No connection to phone
AT+USOST=0,“37.97.216.22”,3000,4,“Data”
+CME ERROR: Operation not allowed
AT+USOCL=0
+CME ERROR: Operation not allowed
at AT+USOCR=17 the errors begin.
Minicom is a full-screen serial terminal emulation package, very much like the classic Telix terminal emulator for MS-DOS.
Firstly, start Minicom in configuration mode with the command:
The following menu appears:
Filenames and paths File transfer protocols Serial port setup Modem and dialing Screen and keyboard Save setup as dfl Save setup as.. Exit Exit from Minicom |
Select Serial port setup and set
A - Serial Device: /dev/ttyS0 B - Lockfile Location: /var/lock C - Callin Program: D - Callout Program: E - Bps/Par/Bits: 9600 8N1 F - Hardware Flow Control: Yes G - Software Flow Control: No |
Now save the configuration
and exit Minicom.
To configure a modem use the command minicom -o console to start Minicom without sending an initialization string to the modem. Now issue the AT commands to configure the modem.
When finished use the Quit option to leave Minicom without sending a reset string to the modem; this option is Alt–Q.
Sometimes Minicom will use Ctrl–A rather than Alt to access the menu system, look for a hint in Minicom‘s start up message:
minicom -b 115200 -o -D Port_Name
Source: Quectel LTE BC68 NB-IoT Module