|
|
@ -280,6 +280,28 @@ struct PACKED StreamCtrlResp {
|
|
|
|
struct Footer footer;
|
|
|
|
struct Footer footer;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct PACKED AddSubMsgReq {
|
|
|
|
|
|
|
|
struct Header header;
|
|
|
|
|
|
|
|
uint8_t node_id;
|
|
|
|
|
|
|
|
uint8_t msg_id;
|
|
|
|
|
|
|
|
uint8_t reserved;
|
|
|
|
|
|
|
|
uint8_t sub_mode;
|
|
|
|
|
|
|
|
uint8_t subject_count;
|
|
|
|
|
|
|
|
uint64_t subject_uuid;
|
|
|
|
|
|
|
|
uint16_t freq;
|
|
|
|
|
|
|
|
struct Footer footer;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct PACKED AddSubMsgResp {
|
|
|
|
|
|
|
|
struct Header header;
|
|
|
|
|
|
|
|
uint8_t retcode;
|
|
|
|
|
|
|
|
uint8_t pub_node_id;
|
|
|
|
|
|
|
|
uint8_t ack_node_id;
|
|
|
|
|
|
|
|
uint8_t ack_msg_id;
|
|
|
|
|
|
|
|
uint32_t ack_err_uid_data;
|
|
|
|
|
|
|
|
struct Footer footer;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
union Request {
|
|
|
|
union Request {
|
|
|
|
struct Header header;
|
|
|
|
struct Header header;
|
|
|
|
struct SetSdkConnectionReq sdkconn;
|
|
|
|
struct SetSdkConnectionReq sdkconn;
|
|
|
@ -295,6 +317,7 @@ union Request {
|
|
|
|
struct GimbalCtrlSpeedReq gimbspeed;
|
|
|
|
struct GimbalCtrlSpeedReq gimbspeed;
|
|
|
|
struct BlasterFireReq blaster;
|
|
|
|
struct BlasterFireReq blaster;
|
|
|
|
struct StreamCtrlReq stream;
|
|
|
|
struct StreamCtrlReq stream;
|
|
|
|
|
|
|
|
struct AddSubMsgReq sub;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
union Response {
|
|
|
|
union Response {
|
|
|
|
struct Header header;
|
|
|
|
struct Header header;
|
|
|
@ -311,6 +334,7 @@ union Response {
|
|
|
|
struct GimbalCtrlSpeedResp gimbspeed;
|
|
|
|
struct GimbalCtrlSpeedResp gimbspeed;
|
|
|
|
struct BlasterFireResp blaster;
|
|
|
|
struct BlasterFireResp blaster;
|
|
|
|
struct StreamCtrlResp stream;
|
|
|
|
struct StreamCtrlResp stream;
|
|
|
|
|
|
|
|
struct AddSubMsgResp sub;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
union Message {
|
|
|
|
union Message {
|
|
|
|
struct Header header;
|
|
|
|
struct Header header;
|
|
|
|