+/* send a servo command */
+#define RC_PROTO_SERVO 4
+struct rc_proto_servo {
+ uint8_t type;
+ uint8_t mask;
+ uint8_t seq_and_pow; /* bitfield: pow are the 3 lsb, seq the 5 msb */
+};
+
+/* acknowledge a servo command */
+#define RC_PROTO_ACK 5
+struct rc_proto_ack {
+ uint8_t type;
+ uint8_t seq;
+} __attribute__((packed));
+
+
+/* send a Hello message to a peer */
+int8_t rc_proto_send_hello(uint64_t addr, void *data, uint8_t data_len);