Myriota Flex SDK 2.5.0
|
Build and schedule messages for satellite transmission. More...
Functions | |
int | FLEX_MessageSchedule (const uint8_t *const Message, const size_t MessageSize) |
int | FLEX_MessageSlotsFree (void) |
size_t | FLEX_MessageBytesFree (void) |
void | FLEX_MessageSave (void) |
void | FLEX_MessageQueueClear (void) |
Clear all messages in the message queue. | |
Build and schedule messages for satellite transmission.
int FLEX_MessageSchedule | ( | const uint8_t *const | Message, |
const size_t | MessageSize ) |
Calling ScheduleMessage when the number of slots returned by MessageSlotsFree
is 0 and replaces an existing message in the queue. This may result in dropped messages.
[in] | Message | pointer to the message to be scheduled. |
[in] | MessageSize | length of the message. |
int FLEX_MessageSlotsFree | ( | void | ) |
Returns the number of available slots in the internal message queue, that is, the number of messages that can be scheduled with FLEX_MessageSchedule
size_t FLEX_MessageBytesFree | ( | void | ) |
Returns the number of bytes remaining in the internal queue, that is, the number of bytes that can be scheduled with FLEX_MessageSchedule
void FLEX_MessageSave | ( | void | ) |
Save all messages in the message queue to the module's persistent storage. Saved messages will be transmitted after reset.