Overview HLK-UART-WIFI is a WLAN Module based on UART Serial from Hi-Link. 1.1. Main Function Support for UART data serial, four baud rate options: 19200 / 38400 / 57600 / 115200bps. Wireless data rates support the 802.11b Standard, the maximum rate
如下所示:
import serial
import time
t = serial.Serial('com6', 115200) #USB COM number on your PC and the transfer bit rate of the COM port.
print t.portstr #Display the working UART port number on your PC.
n = t.write('logcat -c \r')
n = t.write('ampcli