Hello,
I am working with a python software in my machine that sends AT COMMANDS to mDot (through serial USB)
After a couple of executions of this code, I started to receive an error: Tx buffer filled by MAC Commands, send data again.
I couldn’t find anything on documentation about it.
Does anybody know what is happening here?
With best regards
Sebastian
mDot_serial = "/dev/tty.usbmodem142103"
import serial
import time
def sendCommand(command):
print("\nSending: " + command)
message = command + "\n"
ser.write(message.encode())
response = ser.readline()
print(response.decode('utf-8'))
response = ser.readline()
print(response.decode('utf-8'))
response = ser.readline()
print(response.decode('utf-8'))
response = ser.readline()
print(response.decode('utf-8'))
response = ser.readline()
print(response.decode('utf-8'))
time.sleep(3)
ser = serial.Serial('/dev/tty.usbmodem142201', 115200, timeout=1)
sendCommand("AT+FSB=2")
sendCommand("AT+NJM=0")
sendCommand("AT+NA=18446103")
sendCommand("AT+DSK=77deeb59dfsfsdfdfdsfsdfae9e911e3")
sendCommand("AT+NSK=77deeb59dfsfsdfdfdsfsdfae9e911e3")
sendCommand("AT+SEND=lalalala")
ser.close()