diff --git a/README.md b/README.md index 53c2c09a939e4f87e83159bffcc455f3858643f2..8ec73f0b90252e1f260a50d79a481e1ba5f9895f 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,9 @@ Functions I wrote and their purpose: the message_data is created following the appropriate data structure depending on message_type. Then call the correct function inputting the message_data. + + returns: 0 if the packet was successfully read + -1 if the packet has invalid data type or message_type - void display_message(char* message, uint16_t message_length):