예제 #1
0
def sendCommands(sid, data):
    CAN.command(data)
예제 #2
0
def sendCommands(message):
    msg = message.payload.decode('utf-8').replace("'", '"')
    msg = json.loads(msg)
    CAN.command(msg)