ECHO¶

The ECHO command sends a string value from the computer to the Artemis board, and receive an augmented string on the computer and prints it out.

In [5]:
# Read a float GATT Charactersistic
ble.send_command(CMD.ECHO, "HiHello")

GET_TIME_MILLIS¶

The GET_TIME_MILLIS command makes the robot reply write a string such as “T:123456” with the time in milliseconds.

In [6]:
ble.send_command(CMD.GET_TIME_MILLIS, "");
In [7]:
s = ble.receive_string(ble.uuid['RX_STRING'])
print(s)
T:149232