mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-20 19:41:58 +00:00
Update mg_coap_send_message.md
This commit is contained in:
1 parent
70bae59ec6
commit
cc15320cfe
1 file changed
+3
-3
@@ -7,9 +7,9 @@ signature: |
|
|||||||
struct mg_coap_message *cm);
|
struct mg_coap_message *cm);
|
||||||
---
|
---
|
||||||
|
|
||||||
Compose CoAP message from `mg_coap_message`
|
Composes a CoAP message from `mg_coap_message`
|
||||||
and send it into `nc` connection.
|
and sends it into `nc` connection.
|
||||||
Return 0 on success. On error, it is a bitmask:
|
Returns 0 on success. On error, it is a bitmask:
|
||||||
|
|
||||||
- `#define MG_COAP_ERROR 0x10000`
|
- `#define MG_COAP_ERROR 0x10000`
|
||||||
- `#define MG_COAP_FORMAT_ERROR (MG_COAP_ERROR | 0x20000)`
|
- `#define MG_COAP_FORMAT_ERROR (MG_COAP_ERROR | 0x20000)`
|
||||||
|
|||||||
Reference in new issue
Block a user