Qurt uORB communicator fixes (#20705)

- there was an issue sending a message from slpi to apps. Seems the code was stuck in an loop and crashed when the message was sent from slpi to apps
This commit is contained in:
Zachary Lowell
2022-12-06 10:33:19 -05:00
committed by GitHub
parent 1ea026961e
commit 91acd494a3
7 changed files with 60 additions and 122 deletions
+12 -6
View File
@@ -124,17 +124,23 @@ public:
static int unadvertise(orb_advert_t handle);
#ifdef CONFIG_ORB_COMMUNICATOR
static int16_t topic_advertised(const orb_metadata *meta);
/**
* processes a request for add subscription from remote
* @param rateInHz
* Specifies the desired rate for the message.
* processes a request for topic advertisement from remote
* @param meta
* The uORB metadata (usually from the ORB_ID() macro) for the topic.
* @return
* 0 = success
* otherwise failure.
*/
int16_t process_add_subscription(int32_t rateInHz);
static int16_t topic_advertised(const orb_metadata *meta);
/**
* processes a request for add subscription from remote
* @return
* 0 = success
* otherwise failure.
*/
int16_t process_add_subscription();
/**
* processes a request to remove a subscription from remote.