Python codes for Robokit Netprotocol Application Interface.
- Python 3.x
Robokit Netprotocol 1.4.2 by PDF
rbkNetProtoEnums.py defines the rules of Robokit Netprotocol for packing method, unpacking method, request ID and TCP port of all connections.
It is a python achievement of:
API_PORT_ROBOD = 19200
API_PORT_STATE = 19204
API_PORT_CTRL = 19205
API_PORT_TASK = 19206
API_PORT_CONFIG = 19207
API_PORT_KERNEL = 19208
API_PORT_OTHER = 19210
Package:
packMsg(reqId, msgTyp, msg={})
Unpackage:
unpackHead(data)