Skip to content

Commit

Permalink
Merge pull request 1248#33 from pcsrule/patch-1
Browse files Browse the repository at this point in the history
Add all content types from RFC
  • Loading branch information
tobyjaffey committed Feb 5, 2016
2 parents 4768269 + dc0181b commit e1d36f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions coap.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ typedef enum
COAP_CONTENTTYPE_NONE = -1, // bodge to allow us not to send option block
COAP_CONTENTTYPE_TEXT_PLAIN = 0,
COAP_CONTENTTYPE_APPLICATION_LINKFORMAT = 40,
COAP_CONTENTTYPE_APPLICATION_XML = 41
COAP_CONTENTTYPE_APPLICATION_OCTECT_STREAM = 42,
COAP_CONTENTTYPE_APPLICATION_EXI = 47,
COAP_CONTENTTYPE_APPLICATION_JSON = 50,
} coap_content_type_t;

///////////////////////
Expand Down

0 comments on commit e1d36f4

Please sign in to comment.