216 Commits

Author SHA1 Message Date
Sergio R. Caprile
3a47242219
Update README.md
Closes #1918
2022-12-10 20:12:58 -03:00
Sergio R. Caprile
99aa498bc4 Use %I in mip.c
Add %A to print hw address and use it in mip.c
Fix some debug data
2022-12-06 13:44:31 -03:00
Sergio R. Caprile
7c0440c148
Update README.md 2022-12-05 16:24:28 -03:00
Sergio R. Caprile
497d8f25a1
Update README.md 2022-12-04 19:16:34 -03:00
cpq
b01989f041 Fix #1888: add %I *printf specifier for IP address. Remove mg_ntoa, mg_straddr 2022-12-03 14:27:07 +00:00
cpq
2192914cbb Create MG_ARCH_FREERTOS, MG_ENABLE_LWIP, MG_ENABLE_FREERTOS_TCP. Remove MG_ARCH_FREERTOS_TCP, MG_ARCH_RTX_LWIP 2022-11-07 23:58:58 +00:00
Sergio R. Caprile
47a12c30ca mongoose_custom.h not pulled in when MG_ARCH=MG_ARCH_CUSTOM 2022-11-01 21:01:33 -03:00
cpq
7ab81d3805 Add mg_hello() 2022-10-28 10:57:06 +01:00
Sergio R. Caprile
ae71d12f06 Augment WS documentation 2022-10-27 12:03:16 -03:00
Matthew "strager" Glazar
b91fe12258 Fix typo in documentation 2022-10-14 18:27:06 -07:00
cpq
1e6b7bd2a6 Fix broken link 2022-10-05 11:49:06 +01:00
cpq
ebd931f7af Get rid of va_copy 2022-09-23 08:59:02 +01:00
Sergio R. Caprile
571625f0c3
Update README.md 2022-09-20 10:52:45 -03:00
Sergio R. Caprile
a4c27618b4
Update README.md 2022-09-09 14:10:48 -03:00
cpq
edb861da70 docs 2022-09-05 12:29:06 +01:00
cpq
64ad15895f Small nit in minimal HTTP server example 2022-09-05 12:26:43 +01:00
lion
542fe9f029 fix the doc error: htts to https 2022-09-03 10:51:09 +08:00
Sergio R. Caprile
941d2f2a3e Moved packed filesystem section out of the docs (relevant parts into the tutorial) 2022-08-29 10:43:29 -03:00
cpq
b73022096d Let RPC handle responses too 2022-08-26 17:41:13 +01:00
cpq
c7b9ca68c2 Move mg_mqtt_next-* to the example, and some nits 2022-08-26 14:20:54 +01:00
cpq
eca612d514 Document all supported MG_ARCH choices 2022-08-20 03:44:29 +01:00
Sergio R. Caprile
f49683353d Change argument of %M handler to mg_pfn_t plus some cosmetic changes 2022-08-15 16:07:18 -03:00
cpq
6ad7af54dc Fix docs, nits to freertos includes 2022-08-14 23:46:33 +01:00
cpq
d2a27d3d91 mg_*rprintf -> mg_*xprintf 2022-08-13 20:34:20 +01:00
cpq
f122bd5797 Update mg_log_set_fn() 2022-08-13 15:43:27 +01:00
cpq
d76f86f7db Get rid of mg_*asprintf 2022-08-13 15:37:55 +01:00
cpq
2ba3630de9 Remove dangerous mg_pfn_realloc(). Add %q printf specifier 2022-08-10 18:27:58 +01:00
cpq
24cb9467c0 Update docs for mg_rpc_process() 2022-08-10 15:35:07 +01:00
cpq
c459c17fab Update docs 2022-08-05 19:55:15 +01:00
cpq
11bbda9bb3 Update images 2022-08-05 19:44:55 +01:00
cpq
99c23606c5 Add c->is_resp note 2022-08-05 19:27:56 +01:00
Sergio R. Caprile
bb4e4c7cda Add pfn functions docs
Add RPC docs
2022-08-04 17:20:00 -03:00
cpq
582ab220b3 Update mqtt docs 2022-08-04 18:50:20 +01:00
cpq
3e2ad83b2c Fix #1647 - add note in the doc that opts->root_dir is ignored by the mg_http_serve_file() 2022-08-04 17:47:48 +01:00
Sergey Lyubka
17e2fdd4cb Add align to struct mg_iobuf 2022-08-01 12:53:25 +01:00
Sergey Lyubka
54d6bad5e5 Refactor JSON and RPC API 2022-07-30 07:55:26 +01:00
Sergio R. Caprile
806eed6040 Add mg_ws_printf()/vprintf() doc 2022-07-21 11:46:50 -03:00
Sergio R. Caprile
41df6a6c0b added mg_rprintf(), updated doc to new %M API 2022-07-07 14:15:55 -03:00
Sergio R. Caprile
16e90c3082 updated docs and example to recently exported MQTT result codes 2022-07-04 14:32:12 -03:00
Sergey Lyubka
81ffcd8ee9 Fix #1616 - randomize mqtt will and client id for parallel test 2022-07-04 11:00:06 +01:00
Sergey Lyubka
f1da8542ce Nits 2022-07-01 17:28:06 +01:00
Sergey Lyubka
99f0688377 Change mg_http_upload API 2022-06-30 21:54:50 +01:00
Sergey Lyubka
56412193e7 Add mg_remove_double_dots(), hide mg_http_upload() 2022-06-30 20:27:43 +01:00
Sergey Lyubka
c5751b0bd3 Add mg_json_get_long 2022-06-30 20:03:29 +01:00
Sergey Lyubka
47ce004f61 docs nits 2022-06-24 14:24:14 +01:00
Sergey Lyubka
898e2b1e30 Add mg_json_get_hex(), mg_json_get_b64() 2022-06-22 16:28:22 +01:00
Sergey Lyubka
a68f3dc4eb Add %V and %H specifiers for mg_snrpintf() 2022-06-22 13:15:52 +01:00
Sergey Lyubka
46bf79455c Add examples/esp32/uart-bridge 2022-06-19 18:27:37 +01:00
Sergey Lyubka
9760b7c9d6 Add mg_log_set_fn(), MG_ENABLE_LOG 2022-06-19 09:04:22 +01:00
Sergey Lyubka
1640287897 Add mg_http_var 2022-06-18 04:25:11 +01:00
Sergio R. Caprile
939a8ddc26 fix JSON docs 2022-06-14 14:19:25 -03:00
Sergey Lyubka
7923509d1e More json docs 2022-06-13 15:04:52 +01:00
Sergey Lyubka
30d6a44b0d Fix mg_http_upload() 2022-06-13 14:48:52 +01:00
Sergey Lyubka
52ab963845 Update images 2022-06-11 22:59:20 +01:00
Sergey Lyubka
50d0d68f45 Docs nitpick 2022-06-10 15:00:34 +01:00
Sergey Lyubka
013bc58371 Add json docs 2022-06-10 13:01:52 +01:00
Sergey Lyubka
33567bab41 Add %g support to mg_snprintf() 2022-06-10 09:38:36 +01:00
Sergey Lyubka
cff208c5a9 Introduce %Q format specifier, rework device dashboard 2022-06-08 21:44:01 +01:00
Sergey Lyubka
ee65342545 docs 2022-06-08 11:30:54 +01:00
Sergey Lyubka
94ea973fb5 Update docs 2022-06-08 11:01:30 +01:00
Sergey Lyubka
f4fa1e097d docs 2022-06-04 08:45:34 +01:00
Sergey Lyubka
35b517b434 docs 2022-06-04 08:29:03 +01:00
Sergey Lyubka
b3f956ba63 docs 2022-06-04 08:23:25 +01:00
Sergey Lyubka
0763146254 Fix #1476 - introduce c->is_full to cap the recv buf len for streaming connections 2022-06-03 11:37:35 +01:00
Sergey Lyubka
a88ea776a9 Change MG_MAX_RECV_BUF_SIZE -> MG_MAX_RECV_SIZE 2022-06-02 13:50:44 +01:00
Sergey Lyubka
7e8901c99f Docs - amend images 2022-06-02 12:02:26 +01:00
Behnejad
0f93ab84e9
Update README.md
after sending buffer to socket, MG_EV_WRITE will generated.
2022-06-01 14:36:17 +04:30
Sergey Lyubka
4dd1891594 Add mg_http_serve_opts.page404 2022-05-31 23:44:03 +01:00
Sergey Lyubka
a3d63c095a Handle #1562 - add udp/tcp extra param to mg_mkpipe() 2022-05-31 18:23:32 +01:00
Sergey Lyubka
9963bdee09 Docs images 2022-05-31 11:38:03 +01:00
Behnejad
82e1cac1c7
Update README.md
added missing parameter in sample code of `mg_match`.
2022-05-29 18:22:56 +04:30
Sergey Lyubka
21ffe8e3f3 docs 2022-05-29 12:59:33 +01:00
Sergey Lyubka
45f20d5089 Update http_message diagram 2022-05-29 12:03:54 +01:00
Valtteri Koskivuori
8253a84689
Small fix to mg_timer_add() documentation
The return value was not documented.
2022-05-26 23:43:56 +03:00
Sergey Lyubka
6b7f14c69d docs 2022-05-26 20:25:20 +01:00
Sergey Lyubka
fe124354cd Update custom build instructions 2022-05-26 02:10:28 +01:00
Sergey Lyubka
ebe04620e1 Better custom build reference 2022-05-25 13:36:39 +01:00
Sergey Lyubka
7e053cd632 Typo fs docs 2022-05-25 13:29:49 +01:00
Sergey Lyubka
1fd65c77fe Enhance fs docs 2022-05-25 13:28:25 +01:00
Sergey Lyubka
5ce2130f05 Minor formatting fix 2022-05-25 11:14:42 +01:00
Sergey Lyubka
f72b27d1c1 docs 2022-05-24 20:36:21 +01:00
Sergey Lyubka
9973c5f2b7 docs 2022-05-24 19:20:20 +01:00
Sergey Lyubka
88ee415dd1 docs 2022-05-24 19:19:42 +01:00
Sergey Lyubka
4f168cf346 docs 2022-05-24 19:18:42 +01:00
Sergey Lyubka
ad7b5d2cd8 Change packed image 2022-05-24 19:14:20 +01:00
Sergey Lyubka
1e522de4a7 Change mg_iobuf image 2022-05-24 18:57:22 +01:00
Sergey Lyubka
7e2ca72310 Remove mg_log_set_callback. Use MG_PUTCHAR macro instead 2022-05-20 09:45:17 +01:00
Sergey Lyubka
f5fd176b35 Increate SNTP timeout 3s->5s. Change mg_sntp_send() to mg_sntp_request(), remove one unnecessary parameter 2022-05-15 18:41:01 +01:00
Sergey Lyubka
cf7d1d8041 Address #1551 - better timers handling 2022-05-15 14:29:34 +01:00
Sergey Lyubka
0294603dfc MG_ARCH_RTX nits 2022-05-12 15:07:02 +01:00
Sergey Lyubka
31ce219544 Add MG_ARCH_RTX 2022-05-12 08:07:51 +01:00
Sergey Lyubka
bc16854ccb Get rid of MG_ENABLE_LOG, change mg_hexdump() 2022-05-06 21:09:13 +01:00
Sergey Lyubka
f19eec7fae Refactor multithreading API 2022-04-25 14:56:15 +01:00
Sergey Lyubka
8174842b05 docs 2022-04-24 11:39:54 +01:00
Sergey Lyubka
ff07d261b2 docs 2022-04-24 11:37:23 +01:00
Sergey Lyubka
c55db8a895 docs 2022-04-24 11:33:47 +01:00
Sergey Lyubka
70a9554b72 docs 2022-04-24 11:26:25 +01:00
Sergey Lyubka
ef44f90491 Fix #1520 - move state to struct mg_mgr 2022-04-12 14:14:55 +01:00
Sergey Lyubka
66376885e9 Fix #1521 - add mg_tou64() 2022-04-12 10:20:43 +01:00
Sergey Lyubka
5f78d34f4d Fix #1513 - fix mg_strdup() documentation 2022-04-12 09:57:25 +01:00