camerart
Well-Known Member
Hi, Here's another example of the problem:
Minicom, screen, PuTTY, and various other terminal clients were giving me a very rough time with these units. The initial handshake command is “AT+DMOCONNECT” with the carriage return and line feed characters. With the terminal programs I listed above, each character was individually sent, and I was commonly seeing “+DMOERROR” as I was trying to type out AT+DMOCONNECT. Python was the tool that finally worked.
import serial
ser = serial.Serial(‘/dev/ttyAMA0’, 9600, timeout=2)
ser.write(‘AT+DMOCONNECT\r\n’)
ser.readline()
C.
Minicom, screen, PuTTY, and various other terminal clients were giving me a very rough time with these units. The initial handshake command is “AT+DMOCONNECT” with the carriage return and line feed characters. With the terminal programs I listed above, each character was individually sent, and I was commonly seeing “+DMOERROR” as I was trying to type out AT+DMOCONNECT. Python was the tool that finally worked.
import serial
ser = serial.Serial(‘/dev/ttyAMA0’, 9600, timeout=2)
ser.write(‘AT+DMOCONNECT\r\n’)
ser.readline()
C.