33 #ifndef _px4muorb_KraitRpcWrapper_hpp_ 34 #define _px4muorb_KraitRpcWrapper_hpp_ 72 int32_t
SendData(
const char *topic, int32_t length_in_bytes,
const uint8_t *
data);
73 int32_t
ReceiveData(int32_t *msg_type,
char **topic, int32_t *length_in_bytes, uint8_t **data);
75 int32_t
ReceiveBulkData(uint8_t **bulk_data, int32_t *length_in_bytes, int32_t *topic_count);
78 #endif // _px4muorb_KraitWrapper_hpp_ bool Initialize()
Initiatizes the rpc channel px4 muorb.
static struct vehicle_status_s status
int32_t AddSubscriber(const char *topic)
bool Terminate()
Terminate to clean up the resources.
int32_t TopicAdvertised(const char *topic)
Muorb related functions to pub/sub of orb topic from krait to adsp.
int32_t UnblockReceiveData()
~KraitRpcWrapper()=default
destructor
int32_t TopicUnadvertised(const char *topic)
int32_t RemoveSubscriber(const char *topic)
int32_t IsSubscriberPresent(const char *topic, int32_t *status)
int32_t ReceiveBulkData(uint8_t **bulk_data, int32_t *length_in_bytes, int32_t *topic_count)
int32_t SendData(const char *topic, int32_t length_in_bytes, const uint8_t *data)
int32_t ReceiveData(int32_t *msg_type, char **topic, int32_t *length_in_bytes, uint8_t **data)
KraitRpcWrapper()=default
Constructor.