mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'contrib/github_pr_8851' into 'master'
Fixed the commented out coap_new_optlist() in the coap_client example. (GitHub PR) Closes IDFGH-7262 See merge request espressif/esp-idf!17969
This commit is contained in:
commit
eef5e73842
@ -436,7 +436,8 @@ static void coap_example_client(void *p)
|
||||
* coap_insert_optlist(&optlist,
|
||||
* coap_new_optlist(COAP_OPTION_CONTENT_FORMAT,
|
||||
* coap_encode_var_safe (buf, sizeof (buf),
|
||||
* COAP_MEDIATYPE_APPLICATION_JSON));
|
||||
* COAP_MEDIATYPE_APPLICATION_JSON),
|
||||
* buf));
|
||||
* Add in here the POST data of length length. E.G.
|
||||
* coap_add_data_large_request(session, request length, data, NULL, NULL);
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user