mirror of
https://github.com/espressif/openthread.git
synced 2026-08-31 14:29:54 +00:00
Fix CoAP not handling certain types of ACKs (#1352)
* Fix CoAP not handling certain types of ACKs ACK's with piggyback data and 2.00-2.03 response codes were ignored.
This commit is contained in:
@@ -78,6 +78,10 @@ typedef enum otCoapCode
|
||||
kCoapRequestPost = 0x02, ///< Post
|
||||
kCoapRequestPut = 0x03, ///< Put
|
||||
kCoapRequestDelete = 0x04, ///< Delete
|
||||
kCoapResponseCodeMin = 0x40, ///< 2.00
|
||||
kCoapResponseCreated = 0x41, ///< Created
|
||||
kCoapResponseDeleted = 0x42, ///< Deleted
|
||||
kCoapResponseValid = 0x43, ///< Valid
|
||||
kCoapResponseChanged = 0x44, ///< Changed
|
||||
kCoapResponseContent = 0x45, ///< Content
|
||||
} otCoapCode;
|
||||
|
||||
Reference in New Issue
Block a user