Commit Graph

841 Commits

Author SHA1 Message Date
Sergio R. Caprile
e47f71344d Expanded Makefile 2022-08-19 18:17:52 -03:00
Sergey Lyubka
2bf25a1406
Merge pull request #1678 from cesanta/esp8266
Improved Makefile to be able to flash
2022-08-18 22:30:20 +01:00
Sergio R. Caprile
dd59296be9 Improved Makefile to be able to flash
subtle mod in main.c comment
2022-08-18 17:41:05 -03:00
cpq
b382726ed0 Build dashboard by default, fix FPU flag 2022-08-18 21:36:36 +01:00
Sergey Lyubka
01390fe540
Merge pull request #1675 from cesanta/stm32h743
Change README to point to new tutorial location
2022-08-17 08:30:41 +01:00
cpq
8596e1bef7 Enable FPU 2022-08-16 16:45:05 +01:00
Sergey Lyubka
13fffbc5b6
Merge pull request #1674 from cesanta/webui-preact
back to symbolic link
2022-08-16 11:56:08 +01:00
Sergio R. Caprile
bd8f0c90e1 back to symbolic link 2022-08-15 18:42:20 -03:00
Sergio R. Caprile
4f012d6bc6 Change argument of %M handler to mg_pfn_t as in huge_response 2022-08-15 16:04:17 -03:00
cpq
d2a27d3d91 mg_*rprintf -> mg_*xprintf 2022-08-13 20:34:20 +01:00
cpq
189aa80743 Update examples to NOT use mg_*mprintf 2022-08-13 20:09:51 +01:00
cpq
de10e340b6 Update examples to use mg_http_reply 2022-08-13 14:52:10 +01:00
cpq
6615a821f1 Test WS frames that are larger than 64k 2022-08-13 11:16:13 +01:00
Sergio R. Caprile
d627d669bc Change README to point to new tutorial location 2022-08-12 17:08:18 -03:00
cpq
ef6fbad0cb Better CFLAGS for SSL when building examples 2022-08-11 12:12:00 +01:00
Sergey Lyubka
1a6bfb65e6
Merge pull request #1669 from cesanta/embedded-filesystem
Add Embedded Filesystem example
2022-08-10 21:45:23 +01:00
Sergio R. Caprile
014a008c3a Add Embedded Filesystem example 2022-08-10 16:05:34 -03:00
cpq
2ba3630de9 Remove dangerous mg_pfn_realloc(). Add %q printf specifier 2022-08-10 18:27:58 +01:00
Sergio R. Caprile
0ca752662d Added TLS support 2022-08-08 15:42:35 -03:00
Sergey Lyubka
608b1ee156
Merge pull request #1665 from cesanta/esp32-device-dashboard
Changed README to point to new tutorial location
2022-08-05 19:20:35 +01:00
Gisle Vanem
96df718304
Fix empty initializer
MSVC does not like such empty initializer:
  xamples/device-dashboard/net.c(116): error C2059: syntax error: '}'
2022-08-05 13:50:55 +02:00
Sergey Lyubka
ae29a1734c
Merge pull request #1660 from cesanta/device-dashboard
device-dashboard: default to using packed fs, otherwise hw examples won't work
2022-08-04 17:13:03 +01:00
Sergio R. Caprile
22b2dc9ea8
Update README.md 2022-08-03 14:38:12 -03:00
Sergio R. Caprile
e01cffff46 Changed README to point to new tutorial location
Expanded Makefile to be able to flash with Docker and esputil
2022-08-02 16:10:34 -03:00
Sergio R. Caprile
d88e438679 default to using packed fs, otherwise hw examples won't work 2022-08-02 16:06:19 -03:00
Sergio R. Caprile
70683fc8e7 Fix for new mg_iobuf API 2022-08-02 14:46:27 -03:00
Sergey Lyubka
a468f58128 Use int debug level 2022-08-01 11:19:32 +01:00
Sergey Lyubka
581a0698af Expose rpc guts 2022-07-31 22:51:59 +01:00
Sergey Lyubka
43d53b0616
Merge pull request #1650 from cesanta/esp32-uart
Fix Makefile
2022-07-30 07:57:37 +01:00
Sergey Lyubka
54d6bad5e5 Refactor JSON and RPC API 2022-07-30 07:55:26 +01:00
Sergio R. Caprile
c37d4f768b Fix Makefile 2022-07-29 18:27:20 -03:00
Sergey Lyubka
a4b003b7ac
Merge pull request #1644 from cesanta/esp32_uart-bridge
Fix Makefile
2022-07-28 21:04:27 +01:00
Sergey Lyubka
433120ab22
Merge pull request #1637 from cesanta/webui-push-rest
Add data push using REST example
2022-07-28 20:54:20 +01:00
Sergio R. Caprile
109da5f515 Add data push using REST example 2022-07-28 10:20:22 -03:00
Sergey Lyubka
02943a1082
Merge pull request #1649 from cesanta/tcp
Added plain TCP server and client example
2022-07-28 10:27:10 +01:00
Sergey Lyubka
64a36496e3
Merge pull request #1643 from cesanta/uart-bridge
Fixes to uart-bridge example
2022-07-28 10:26:51 +01:00
Sergio R. Caprile
638892ca70 Fix incorrect oninput function call
Check a new config element is present before acting on the previous one

Correctly update config local copy

Fix TCP buffering for ever
2022-07-27 17:19:34 -03:00
Sergio R. Caprile
90fdbd36ec Added plain TCP server and client example 2022-07-27 13:40:02 -03:00
Sergey Lyubka
0dabc45780 Add RPC API 2022-07-27 00:46:05 +01:00
Sergio R. Caprile
0ffec91984 Fix Makefile 2022-07-25 11:27:19 -03:00
Sergey Lyubka
9cacf443e1
Merge pull request #1636 from cesanta/webui-push-ws
Added data push over WS example
2022-07-25 11:03:06 +01:00
Sergey Lyubka
d1828ecdb4
Merge pull request #1634 from cesanta/webui-plain
Fix former config value not being freed
2022-07-18 21:24:07 +01:00
Sergio R. Caprile
1651d9d6d9 Fix former config value not being freed 2022-07-18 16:21:02 -03:00
Sergio R. Caprile
40fc049cdc Added web UI login example 2022-07-18 14:12:42 -03:00
Sergey Lyubka
89afe62121
Merge pull request #1627 from cesanta/webui-rest
added webUI REST basics example
2022-07-17 18:09:02 +01:00
Sergey Lyubka
e5b40ee29e
Merge pull request #1630 from cesanta/webui-plain
added webUI plain JS example
2022-07-17 18:08:45 +01:00
Sergio R. Caprile
aa326f975d Added data push over WS example 2022-07-15 21:32:41 -03:00
Sergio R. Caprile
ca929031ee added webUI Preact-based example 2022-07-13 14:41:38 -03:00
Sergio R. Caprile
f80477a093 added webUI plain JS example 2022-07-13 11:07:01 -03:00
Sergio R. Caprile
abd7698d6d added webUI REST basics example 2022-07-13 10:45:49 -03:00
Sergio R. Caprile
71eefb6272 Update to new %M API
Doc still references the old API and mg_rprintf() is not yet documented
2022-07-06 19:01:18 -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
e4a5296fbf Introduce c->is_mqtt5 for keeping mqtt version. Make mqtt over ws work again 2022-07-04 17:47:17 +01:00
Sergey Lyubka
f841b85d7d
Merge pull request #1614 from cesanta/udp-ssdp-search
Added parsing of remote responses
2022-07-04 15:14:39 +01:00
Sergio R. Caprile
f7812c9b0a Added parsing of remote responses 2022-07-02 13:16:49 -03:00
Sergio R. Caprile
d13509e302
Update app.js 2022-07-01 15:58:03 -03:00
Sergey Lyubka
035de980e3 Fix ff_read() call 2022-07-01 13:18:49 +01:00
Sergey Lyubka
99f0688377 Change mg_http_upload API 2022-06-30 21:54:50 +01:00
Sergey Lyubka
86e57d243d Enhance esp32 makefile 2022-06-30 19:59:23 +01:00
Sergio R. Caprile
75069a44c7 updated SSL build options 2022-06-29 17:31:31 -03:00
Sergey Lyubka
3bc79b9dfd
Merge pull request #1609 from cesanta/mqtt-over-ws-client
Added openSSL support
2022-06-29 19:18:25 +01:00
Sergio R. Caprile
0ae75e6db6 Added openSSL support 2022-06-29 14:57:11 -03:00
Sergey Lyubka
017c7290d6 Better error handling - report from iotest 2022-06-29 17:02:37 +01:00
Sergey Lyubka
6a8b5b06d0
Merge pull request #1608 from cesanta/fix_mqtt-over-ws-client
fix incorrect WS packet payload
2022-06-29 14:51:39 +01:00
Sergey Lyubka
e8f050c194 Dont use realloc 2022-06-29 00:00:16 +01:00
Sergio R. Caprile
712517b6fa fix incorrect WS packet payload 2022-06-28 16:27:49 -03:00
Sergey Lyubka
434378eda5
Merge pull request #1602 from cesanta/device-dashboard
fixed watch() not being called after login
2022-06-28 20:24:36 +01:00
Sergey Lyubka
cf38fdb720
Merge pull request #1606 from cesanta/mqtt-client
fixed TLS build comment
2022-06-28 20:23:45 +01:00
Sergio R. Caprile
6542c02b7f fixed TLS build comment 2022-06-28 10:56:56 -03:00
Sergio R. Caprile
a13144932a fixed TLS build comment 2022-06-28 10:49:45 -03:00
Sergio R. Caprile
6597830631 fixed watch() not being called after login 2022-06-28 10:26:32 -03:00
Sergey Lyubka
ba08140197 Initial mqtt5 support 2022-06-28 11:31:13 +01:00
Sergey Lyubka
d65ce3b596 Add mg_rprintf, mg_vrprintf 2022-06-28 00:45:52 +01:00
Sergio R. Caprile
dcfb014d1f updated and cleaned up texts 2022-06-23 15:33:31 -03:00
Sergey Lyubka
4f9cfdf65d
Merge pull request #1598 from cesanta/http-reverse-proxy
Added openSSL support
2022-06-20 22:00:14 +01:00
Sergey Lyubka
b1cd233dda
Merge pull request #1597 from cesanta/http-proxy-client
Added openSSL support
2022-06-20 21:59:48 +01:00
Sergio R. Caprile
380a50e39b Added openSSL support
Fixed missing parameter in makefile
Added URI handling
2022-06-20 15:27:46 -03:00
Sergio R. Caprile
3bd3a4ff7b fixed comment, updated TLS section in makefile 2022-06-20 14:50:45 -03:00
Sergey Lyubka
46bf79455c Add examples/esp32/uart-bridge 2022-06-19 18:27:37 +01:00
Sergey Lyubka
0b5a00c99a Change uart_read signature 2022-06-18 20:41:04 +01:00
Sergey Lyubka
ba8482c707 Update uart bridge 2022-06-18 11:32:31 +01:00
Sergey Lyubka
1b34360b05 Update uart bridge 2022-06-18 11:30:44 +01:00
Sergey Lyubka
c84dab21e4 Refactor UART example 2022-06-18 04:25:11 +01:00
Sergey Lyubka
adcf5bab0e
Merge pull request #1589 from cesanta/mqtt-client
Add support for openSSL
2022-06-17 22:04:38 +01:00
Sergio R. Caprile
f4fc33d111 brought back 7.5 file-upload as file-upload-multiple-posts; updated to latest API
renamed form-upload to file-upload-html-form
renamed file-upload to file-upload-single-post
2022-06-17 16:35:02 -03:00
Sergio R. Caprile
fb446022e2 Added openSSL support
Backend host is https only if TLS is enabled
2022-06-16 11:59:06 -03:00
Sergio R. Caprile
e021d7cd9d Add support for openSSL 2022-06-15 10:42:32 -03:00
Sergey Lyubka
6d46ecaa6c Add mip-pcap example 2022-06-13 02:03:52 +01:00
Sergey Lyubka
d3368e4aad Move mip into mip/ 2022-06-11 17:29:45 +01:00
Sergio R. Caprile
0dbc99d9ee fixed poll timeout being larger than timer period 2022-06-10 16:59:14 -03:00
Sergio R. Caprile
505ca96547 fixed typo 2022-06-10 16:25:56 -03:00
Sergio R. Caprile
2f75418c70 Remove outdated comments 2022-06-10 10:37:12 -03:00
Sergey Lyubka
55948cd431 Allow to set log level 2022-06-10 12:33:30 +01:00
Sergey Lyubka
dfca896a64 Update huge response. More tests 2022-06-10 12:14:42 +01:00
Sergey Lyubka
8fc6f3f744 Remove mjson dependency 2022-06-10 09:40:22 +01:00
Sergey Lyubka
f65058fa03 Remove mjson dependency
Signed-off-by: Sergey Lyubka <valenok@gmail.com>
2022-06-10 09:39:53 +01:00
Sergey Lyubka
cff208c5a9 Introduce %Q format specifier, rework device dashboard 2022-06-08 21:44:01 +01:00
Sergey Lyubka
a83dd9569d Unbreak esp32 example 2022-06-08 20:04:35 +01:00
Sergey Lyubka
ac3151f871 Make dashboard more robust 2022-06-08 19:53:29 +01:00
Sergey Lyubka
bcb6c2675f Unbreak esp32 device dashboard build 2022-06-08 13:54:20 +01:00