mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
Update mg_coap_send_message.md
This commit is contained in:
parent
70bae59ec6
commit
cc15320cfe
@ -7,9 +7,9 @@ signature: |
|
||||
struct mg_coap_message *cm);
|
||||
---
|
||||
|
||||
Compose CoAP message from `mg_coap_message`
|
||||
and send it into `nc` connection.
|
||||
Return 0 on success. On error, it is a bitmask:
|
||||
Composes a CoAP message from `mg_coap_message`
|
||||
and sends it into `nc` connection.
|
||||
Returns 0 on success. On error, it is a bitmask:
|
||||
|
||||
- `#define MG_COAP_ERROR 0x10000`
|
||||
- `#define MG_COAP_FORMAT_ERROR (MG_COAP_ERROR | 0x20000)`
|
||||
|
Loading…
Reference in New Issue
Block a user