corrected outbox for oversized messge and qos1, added errno to error messages

This commit is contained in:
David Cermak
2019-02-05 17:01:54 +01:00
parent 752953dc3b
commit 51089629f7
3 changed files with 18 additions and 15 deletions

View File

@@ -35,7 +35,7 @@ typedef enum pending_state {
outbox_handle_t outbox_init();
outbox_item_handle_t outbox_enqueue(outbox_handle_t outbox, outbox_message_handle_t message, int tick);
outbox_item_handle_t outbox_dequeue(outbox_handle_t outbox, pending_state_t pending);
outbox_item_handle_t outbox_dequeue(outbox_handle_t outbox, pending_state_t pending, int *tick);
outbox_item_handle_t outbox_get(outbox_handle_t outbox, int msg_id);
uint8_t* outbox_item_get_data(outbox_item_handle_t item, size_t *len, uint16_t *msg_id, int *msg_type, int *qos);
esp_err_t outbox_delete(outbox_handle_t outbox, int msg_id, int msg_type);