I’m writing a controller software in python for my robot and I would like it to interface with industrial_robot_client and simple message. I understand I can use scapy to craft network packets but I’m a little lost on how I should do this? Has anyone done something like this or knows ways I can encode and decode the simple message protocol in python, with scapy for example?
I’m trying to define a custom protocol in scapy but am a little lost.
class simpleMessage_feedback(Packet): name = "joint feedback" fields_desc = [ByteEnumField("message_ID", 10), ByteEnumField("comm_type",1), ByteEnumField("reply",0 ), ]