Hi,
I am trying to establish network connection between raspberry pi zero and SIM7000E NB-IoT HAT using nodejs.
https://www.waveshare.com/wiki/SIM7000C_NB-IoT_HAT
Hardware connection is micro usb from raspberry pi to micro usb power supply in NB-IoT HAT. I didn't mount on pin header because i do need to use the serial to communicate with other sensors.
I did use minicom to test the software communication.
$ minicom -D /dev/ttyUSB2
There was four tty's : ttyUSB0,ttyUSB1,ttyUSB2,ttyUSB3. After trying one by one, i do manage establish communication in ttyUSB2.
Welcome to minicom 2.7.1
OPTIONS: I18n
Compiled on Aug 13 2017, 15:25:34.
Port /dev/ttyUSB2, 12:10:51
Press CTRL-A Z for help on special keys
AT
OK
AT+COPS=?
+COPS: (1,"Digi","Digi 4G+","50216",0),(1,"MY MAXIS","MY MAXIS","50212",0),,(0,)
AT+COPS=4,2,"50216"
OK
I do need to write this code in nodejs and intergrade in my program. The AT+COPS? command takes about 10 sec to responds. Timeout need to be intergraded.