Sergey Lyubka
6700b373cd
Merge pull request #2022 from cesanta/win
...
Adopt Makefile for Windows. Update examples readme section
2023-02-06 14:21:56 +00:00
cpq
dc86c62d8b
Adopt Makefile for Windows. Update examples readme section
2023-02-04 14:15:53 +00:00
Sergio R. Caprile
958eebb16c
Add STM32H743ZI driver and example
2023-02-03 18:04:29 -03:00
cpq
961cc13948
Nits: fix DNS resolution message. Add Makefile comment for testing targets
2023-02-02 10:33:00 +00:00
Sergio R. Caprile
15ad58b5cc
Merge pull request #2010 from cesanta/f429-debug-uart
...
Use UART_DEBUG
2023-02-01 19:53:53 -03:00
Sergio R. Caprile
06b79600ac
Use UART_DEBUG
2023-02-01 19:37:35 -03:00
Sergio R. Caprile
b9e633ad06
Mods to be testable
2023-02-01 19:26:47 -03:00
cpq
d76e69f9a7
Use UART_DEBUG
2023-02-01 21:08:24 +00:00
Sergio R. Caprile
8f358f09b8
Remove symlinks in pico example
2023-01-31 15:34:15 -03:00
Sergio R. Caprile
c41ade2983
Remove dups in Zephyr dirs
2023-01-31 14:51:48 -03:00
Sergio R. Caprile
d1c9d7ffdc
Merge pull request #2000 from cesanta/tls
...
Add TLS to pico-w5500 baremetal example
2023-01-30 18:37:00 -03:00
cpq
052b40680d
Add TLS to pico-w5500 baremetal example
2023-01-30 21:30:10 +00:00
Sergio R. Caprile
997da11cc5
do not use %I
2023-01-30 17:13:38 -03:00
cpq
edfa533a4d
Correct the description
2023-01-27 22:45:35 +00:00
cpq
28262145ab
Better upload flow
2023-01-27 22:16:24 +00:00
cpq
84893ec582
Small usability nits
2023-01-27 09:36:16 +00:00
Sergey Lyubka
e635d5f748
Merge pull request #1986 from cesanta/w5
...
Add examples/rp2040/pico-w5500 to hwtest
2023-01-23 12:32:14 +00:00
cpq
1ead940623
Add nucleo-h743zi-baremetal boilerplate, with HW test
2023-01-22 11:48:56 +00:00
cpq
987f8bc949
Prep for msc
2023-01-21 13:42:25 +00:00
cpq
6f096333d3
make clean: invoke docker only when there is something to clean
2023-01-21 07:44:50 +00:00
cpq
5a25111b20
Add examples/rp2040/pico-w5500 to hwtest
2023-01-21 02:21:20 +00:00
Sergio R. Caprile
c7cb16cafa
Merge pull request #1984 from cesanta/ti-nodocker
...
Get rid of Docker (TI), part 2: FreeRTOS
2023-01-20 18:47:55 -03:00
Sergio R. Caprile
9a7f7255ff
Get rid of Docker, part 2: FreeRTOS
2023-01-20 18:20:19 -03:00
Sergio R. Caprile
d3df6b8f4f
Get rid of Docker (TI), part 2: FreeRTOS
2023-01-20 18:19:29 -03:00
Sergio R. Caprile
f4d058155a
Fix UART1,2 clocking in all other examples
2023-01-20 17:49:57 -03:00
Sergio R. Caprile
b04612e80d
Merge pull request #1975 from cesanta/hwtest
...
Cleanup, adopt for HW test
2023-01-20 16:26:05 -03:00
Sergio R. Caprile
5f00e4d34d
Merge pull request #1980 from cesanta/ti-nodocker
...
Get rid of Docker (TI), part 1
2023-01-20 16:21:45 -03:00
cpq
e967feb091
Cleanup, adopt for HW test
2023-01-20 18:46:19 +00:00
Sergio R. Caprile
0445b18bb9
Merge pull request #1977 from cesanta/reallyclean
...
Apply a deeper cleanser
2023-01-20 15:36:51 -03:00
Sergio R. Caprile
99f1f749cf
Apply a deeper cleanser
2023-01-20 15:27:37 -03:00
Sergio R. Caprile
f4d16f1c47
Get rid of Docker (TI), part 1
2023-01-20 15:06:03 -03:00
Sergio R. Caprile
44975da7db
Get rid of Docker, part 1
2023-01-20 12:42:38 -03:00
Sergio R. Caprile
37c0ed0b49
Fix AF in UART1,2
2023-01-19 15:28:51 -03:00
cpq
556bf7b888
Fix uart_init(), use correct AF for UART1/UART2
2023-01-19 10:31:26 +00:00
Sergio R. Caprile
56e015db0e
Enable test for pico-rndis-dashboard
2023-01-17 14:58:05 -03:00
Sergio R. Caprile
45f7afb3e1
Simplify build
2023-01-17 13:54:22 -03:00
cpq
3f9aff1b10
Update uart logs with Ethernet status
2023-01-15 12:03:40 +00:00
Sergio R. Caprile
645b52602f
Update main.c
2023-01-13 15:08:00 -03:00
Sergey Lyubka
1661bd6691
Merge pull request #1955 from cesanta/picormii
...
Add RMII example for RP2040
2023-01-11 10:40:10 +00:00
Sergio R. Caprile
2b8e92a70d
updated to ARCH_RP2040
2023-01-10 10:54:27 -03:00
Sergey Lyubka
d70ab3cfa8
Merge pull request #1944 from cesanta/devdash
...
Add reduced functionality version
2023-01-10 12:31:03 +00:00
Sergey Lyubka
9402c6ad28
Merge pull request #1956 from cesanta/lbl
...
Rename struct mg_connection::label -> data. Make its size configurable
2023-01-10 08:34:22 +00:00
cpq
da5e8e9778
Rename struct mg_connection::label -> data. Make its size configurable
2023-01-10 08:19:49 +00:00
Sergio R. Caprile
feedfdf810
Update main.c
2023-01-09 14:31:04 -03:00
Sergio R. Caprile
6db0a502bf
Add RMII example
2023-01-09 11:16:01 -03:00
Sergio R. Caprile
b259bdeddd
Rename mip_rxcb to mip_qwrite, add mip_qread and enforce rx() for drivers
2023-01-03 19:33:26 -03:00
Sergio R. Caprile
d09e4d648c
Add Pico dashboard
2023-01-02 16:49:15 -03:00
Sergio R. Caprile
49add531c4
Moved pico-w example
2023-01-02 15:12:07 -03:00
Sergey Lyubka
c625fbb43d
Merge branch 'master' into rp2040-w5500
2023-01-02 16:48:34 +00:00
cpq
0f474e8d2a
Add pico-w5500 example
2023-01-02 16:36:55 +00:00
Sergio R. Caprile
d8fb110b56
Update test.yml
2022-12-27 20:34:10 -03:00
Sergio R. Caprile
77e62626a9
Add RNDIS examples to tests, remove "stm32/nucleo*" examples from "examples" test group
2022-12-27 20:27:08 -03:00
Sergio R. Caprile
6791a36d85
Add reduced functionality version
2022-12-27 18:12:55 -03:00
Sergey Lyubka
311062dc41
Merge pull request #1938 from cesanta/F746rndis
...
Add RNDIS example for F7
2022-12-24 15:10:00 +00:00
Sergio R. Caprile
9f6d99352a
Added link to tutorial
2022-12-23 19:45:57 -03:00
Sergio R. Caprile
02b1d6260a
Add RNDIS example for F7
2022-12-23 19:28:33 -03:00
Sergio R. Caprile
e8ade14259
Merge pull request #1937 from cesanta/tm4cdriverdata
...
Rename driver data structure
2022-12-23 16:27:42 -03:00
Sergio R. Caprile
f506344ada
Rename driver data structure
2022-12-23 15:56:46 -03:00
Sergio R. Caprile
ddca518cca
Rename driver data structure
2022-12-23 15:45:30 -03:00
Sergio R. Caprile
cc3b311ab0
Fix MQTT server example
2022-12-20 16:06:46 -03:00
cpq
6cedca5d76
Remove DS_Store
2022-12-19 14:40:17 +00:00
cpq
57a5c0ba38
Add TinyUSB example
2022-12-19 14:31:54 +00:00
Sergey Lyubka
6921227ec8
Merge pull request #1915 from jfsimon1981/miptap
...
Mip tests and tuntap example to compile on OpenBSD natively.
2022-12-13 16:42:09 +00:00
Sergey Lyubka
1c9991ee83
Merge pull request #1916 from cesanta/stm32
...
Minor tweaks in STM32 examples
2022-12-13 16:40:38 +00:00
Sergey Lyubka
fd475fcfff
Merge pull request #1917 from cesanta/tm4c
...
Correct stack initialization
2022-12-13 16:40:10 +00:00
jojo2massol
ff1d45a008
Update comment for the path of rest API
...
rest api is available at `/rest` and not `/api/rest`
2022-12-13 15:33:51 +01:00
Jean-Francois Simon
5556568feb
Mip tests and tuntap example to compile on OpenBSD natively.
...
(updated for c++ build)
Fix typo
2022-12-09 18:48:05 +00:00
Sergio R. Caprile
6011a15cd4
Correct stack initialization
2022-12-09 15:47:23 -03:00
Sergio R. Caprile
2c014778d9
Minor tweaks in STM32 examples
...
Fix comments in newer mip initialization (main.c)
Correct stack initialization (boot.c)
Remove SCC clock enable when not needed (mcu.h)
2022-12-09 15:20:51 -03:00
Sergio R. Caprile
327f734e4f
Add README
2022-12-06 17:09:15 -03:00
Sergey Lyubka
eb142f26f2
Merge pull request #1897 from cesanta/i
...
Fix #1888 : add %I *printf specifier for IP address. Remove mg_ntoa, m…
2022-12-03 14:39:47 +00: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
Sergio R. Caprile
d059d2cda4
Improve STM32 driver
2022-12-02 19:47:29 -03:00
Sergio R. Caprile
860be3f96c
Add links to tool installation in MIP hw examples
2022-12-01 17:23:16 -03:00
Sergio R. Caprile
716ffbb945
Add FreeRTOS + MIP tutorial on TM4C
2022-11-29 11:16:43 -03:00
Sergio R. Caprile
2dfed10d2e
Add FreeRTOS + MIP example on F746
2022-11-25 16:57:35 -03:00
cpq
a74d3737dc
Fix mip-pcap
2022-11-25 14:23:59 +00:00
cpq
6c82a34aa0
Remove unused code
2022-11-25 10:00:04 +00:00
cpq
320d5656ac
Remove unused code
2022-11-25 10:00:04 +00:00
Sergio R. Caprile
afdf7e6df3
actually be able to flash target
2022-11-23 16:13:37 -03:00
Sergey Lyubka
3e1c7d7ef2
Merge pull request #1874 from cesanta/makefix
...
Fix wildcard in Makefile
2022-11-23 10:16:11 +00:00
cpq
7ce7c3deb7
Fix mingw build
2022-11-22 09:50:35 +00:00
Sergio R. Caprile
c9b390ec60
Fix wildcard in Makefile
2022-11-21 16:57:15 -03:00
Sergio R. Caprile
76e6b23a4f
Update README.md
2022-11-18 18:06:48 -03:00
Sergio R. Caprile
606009afb0
Add missing include
...
linux/if uses struct sockaddr that is defined in sys/socket.h. This breaks building on some systems. It went unnoticed as it was hidden by mongoose.h being included first
2022-11-18 10:51:58 -03:00
Sergey Lyubka
da303b8b4f
Merge pull request #1858 from cesanta/LAA
...
change MIP MAC to LAA
2022-11-18 10:41:12 +00:00
Sergio R. Caprile
9a341c9032
change MIP MAC to LAA
2022-11-15 14:56:51 -03:00
Sergio R. Caprile
21e8b08ed9
Reduce Zephyr test time
2022-11-14 18:06:00 -03:00
Sergey Lyubka
4056bd3c2d
Merge pull request #1847 from cesanta/xiao
...
Fix arduino-xiao build and add GA test
2022-11-11 14:53:40 +00:00
cpq
8e46e05e1b
Fix arduino-xiao build and add GA test
2022-11-11 10:04:47 +00:00
Sergio R. Caprile
ec0e27dbb4
Add EK-TM4C1294XL example
2022-11-10 21:14:30 -03:00
Sergio R. Caprile
5418a8c28a
Unbreak
...
userdata was changed to a pointer to a socket, but tx() was not updated
My Linux system does not like mongoose.h at the end...
2022-11-10 15:00:43 -03:00
cpq
f498d69b7d
Fix examples/stm32/nucleo-f429zi-freertos-mip
2022-11-10 03:01:10 +00:00
Sergio R. Caprile
dfae1b3f70
Merge pull request #1843 from cesanta/mip
...
Expose mip guts
2022-11-09 17:40:46 -03:00
cpq
abfac8aa40
Expose mip guts
2022-11-09 19:25:40 +00:00
cpq
78956ccf83
Add nucleo-f429zi-freertos-mip example
2022-11-09 18:25:11 +00:00
Sergey Lyubka
eed25f23f6
Merge pull request #1839 from cesanta/stm32uart
...
Fix wrong reference to prescaler
2022-11-09 09:24:24 +00:00
cpq
28a4778187
Endianness test
2022-11-09 09:20:15 +00:00
Sergio R. Caprile
c654c2e5e8
Fix wrong reference to prescaler
2022-11-08 11:23:10 -03:00
Sergey Lyubka
e580d4e637
Merge pull request #1837 from cesanta/arch
...
Create MG_ARCH_FREERTOS, MG_ENABLE_LWIP, MG_ENABLE_FREERTOS_TCP. Remo…
2022-11-08 00:13:28 +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
6f3bdc5dca
Remove some warnings
2022-11-07 15:23:47 -03:00
cpq
efec738c89
ARP lookup hosts in the same net. Use up-to-date code in zephyr dash example
2022-11-03 08:06:17 +00:00
cpq
c25234df83
Better MIP description
2022-10-27 08:12:22 +01:00
Sergio R. Caprile
eeb7b00f60
Allow flash and cloning without build
2022-10-25 10:41:53 -03:00
Sergio R. Caprile
fe6c31acc1
Make pico-w device-dashboard example fully functional
2022-10-20 11:57:00 -03:00
Sergio R. Caprile
ae7ca00e69
Dettach git clone and fix clean
...
The user has to clone the repo, then edit the Makefile to change WiFi credentials. Running make build does both and the tests go flawlessly
The user can run make to clone the repo, then change credentials and run make build, it will skip cloning if the repo is already there
In some systems the compiled files are not owned by the user as Docker runs as root, so we first invoke clean in the cloned repo (which erases the compiled files), and then remove the cloned repo that the user owns and can rm.
2022-10-14 12:09:39 -03:00
cpq
e8d29d54d6
Use board nucleo_f429zi
2022-10-14 11:39:00 +01:00
Sergio R. Caprile
6edcc72364
fix paths in Makefile
2022-10-10 16:51:07 -03:00
Sergey Lyubka
250dfc1377
Merge pull request #1790 from cesanta/zephyr-device-dashboard
...
Add device-dashboard example on Zephyr
2022-10-10 15:59:08 +01:00
Sergey Lyubka
45489c1c87
Merge pull request #1789 from zudwalex/picow
...
Add Pico-W example
2022-10-10 15:58:53 +01:00
Sergey Lyubka
09b250f189
Merge pull request #1787 from cesanta/zephyr
...
Update Zephyr examples
2022-10-10 15:58:39 +01:00
zahar517
52e66077a7
Fix json-rpc-over-ws example
2022-10-08 14:39:01 +03:00
Sergio R. Caprile
84bf4d21a3
Add device-dashboard example on Zephyr
2022-10-07 11:52:31 -03:00
Alex Alashkin
04cfc510d0
Add Pico-W example
2022-10-07 09:11:35 +03:00
Sergio R. Caprile
d846e67ec1
Update Zephyr examples
2022-10-06 17:30:27 -03:00
Sergey Lyubka
8346be7a81
Merge pull request #1783 from cesanta/zephyr
...
Update to latest Zephyr and their Docker repo
2022-10-05 11:41:55 +01:00
Sergio R. Caprile
e7cb82175a
rename time() to ourtime()
2022-10-04 19:27:38 -03:00
Sergio R. Caprile
1ef0aa14c0
Update to latest Zephyr and their Docker repo
2022-10-04 17:24:13 -03:00
Sergio R. Caprile
7cf4834336
Fix wrong ca.pem path
...
Remove extra EHLO before AUTH (there were two)
2022-09-28 16:05:29 -03:00
cpq
5574a2663a
Close connection on 3 keep-alive misses
2022-09-25 17:35:14 +01:00
Sergey Lyubka
dcede59379
Merge pull request #1743 from cesanta/stm32-nucleo-f746z
...
Stm32 nucleo f746z
2022-09-25 10:22:52 +01:00
Sergey Lyubka
695153c527
Merge pull request #1762 from gdawg/ssdp-example-fix-dupe-responses
...
Fix SSDP example for second and subsequent responses
2022-09-25 10:20:55 +01:00
Andrew Griffiths
25d42ad345
Fix SSDP example for second and subsequent responses
2022-09-24 14:14:26 +10:00
Sergio R. Caprile
770ffd1483
Add new example as per the tutorial
2022-09-22 11:32:52 -03:00
Sergio R. Caprile
9373e77636
Update Makefile as per the tutorial, enhance it
2022-09-22 11:01:40 -03:00
cpq
48800504be
Add smtp client example
2022-09-20 11:34:22 +01:00
Sergey Lyubka
161d44ee04
Merge pull request #1730 from cesanta/stm32-nucleo-f429z
...
Update Makefile as per the tutorial
2022-09-13 21:46:41 +01:00
Sergey Lyubka
7ea155b943
Merge pull request #1729 from cesanta/mip-tap
...
Add example to use TAP interface on Linux
2022-09-13 21:46:06 +01:00
cpq
82b50fd3a5
Pass MDC clock divider explicitly rather than guess
2022-09-12 23:57:04 +01:00
Sergio R. Caprile
9e5503dd04
Update Makefile as per the tutorial
2022-09-12 17:29:47 -03:00
Sergio R. Caprile
2ec2ed62c8
Add example to use TAP interface on Linux
2022-09-12 10:52:23 -03:00
cpq
76c4bb556f
Update README
2022-09-11 11:23:58 +01:00
cpq
40f484cc54
Update README
2022-09-11 11:20:53 +01:00
cpq
85b701b8c2
Formatting
2022-09-10 21:49:20 +01:00
cpq
c718d7999f
Add MAC addr filtering to stm32 driver. Record free space in q profiler
2022-09-10 16:38:03 +01:00
Sergio R. Caprile
1b5ab3261c
Merge pull request #1722 from cesanta/mip-tls
...
Add mbedtls support to MIP
2022-09-09 14:09:19 -03:00
cpq
124ac12150
Add mbedtls support to MIP
2022-09-09 15:53:42 +01:00
Sergio R. Caprile
8c1ffa3f5d
Added Linux howto
2022-09-09 10:42:46 -03:00
cpq
f76a7e36e8
Corrected MacOS setup diagram
2022-09-08 12:11:01 +01:00
cpq
6484c4bc8b
Updated description
2022-09-08 12:09:30 +01:00
cpq
bba2421ba9
Corrected MacOS setup diagram
2022-09-08 11:36:01 +01:00
cpq
3c69c7feaf
Add MacOS setup diagram
2022-09-08 11:28:16 +01:00
cpq
45b2ffe1af
Use DMG_HTTP_DIRLIST_TIME
2022-09-08 11:02:32 +01:00
cpq
06ab83dca6
Implement keep-alive, 45 sec interval. Correct ACK piggyback
2022-09-08 08:50:42 +01:00
cpq
881b282604
Implement ack timer
2022-09-07 20:48:23 +01:00
cpq
b2624f6055
Make mip-pcap work on Mac
2022-09-07 13:36:00 +01:00
Sergey Lyubka
51076e68c8
Merge pull request #1701 from cesanta/enableFPU
...
Enable FPU
2022-09-02 15:46:00 +01:00
Sergio R. Caprile
3270f1252b
Enable FPU
2022-09-02 11:18:11 -03:00
Sergey Lyubka
d8ee105e1e
Merge pull request #1699 from cesanta/scb
...
Fix SCB address for scb struct
2022-09-02 14:09:08 +01:00
cpq
f7f7319698
Refactor W5500 driver, add arduino w5500 example
2022-09-02 12:58:54 +01:00
Sergio R. Caprile
62a6b61fc9
Fix SCB address for scb struct
2022-09-01 17:14:31 -03:00
cpq
1949439d69
Adopt mip changes
2022-08-31 08:44:05 +01:00
cpq
c131b8daf1
struct mip_ipcfg -> struct mip_cfg
2022-08-31 08:41:16 +01:00
Sergey Lyubka
3cf85770c7
Merge pull request #1694 from cesanta/nucleo-f746zg-baremetal
...
Group clock setup dependencies
2022-08-30 12:25:41 +01:00
Sergio R. Caprile
42c1bee8ea
Add baremetal example on Nucleo-F429ZI
2022-08-29 19:20:20 -03:00
Sergio R. Caprile
c289556775
Group clock setup dependencies
2022-08-29 14:36:40 -03:00
cpq
1c16e95b3a
Fix driver link
2022-08-29 08:55:53 +01:00
cpq
2f3f1357c8
Unbreak after mip init API change
2022-08-27 17:15:11 +01:00
cpq
dcdeffff9a
MIP refactor: use mg_hton*, move driver_data to ifp, parametrise f746 PLL setup
2022-08-27 16:45:31 +01:00
Sergio R. Caprile
d1124703b7
Merge pull request #1687 from cesanta/webui-login
...
Fix SameSite cookie value
2022-08-26 10:24:00 -03:00
Sergio R. Caprile
4a8dd81c93
Fix SameSite cookie value
2022-08-26 10:22:31 -03:00
cpq
f474a31484
Rebuild packed_fs.c
2022-08-26 14:21:33 +01:00
cpq
e9ec2c5304
Add TLS support to MQTT
2022-08-26 14:20:54 +01:00
cpq
c7b9ca68c2
Move mg_mqtt_next-* to the example, and some nits
2022-08-26 14:20:54 +01:00
Sergio R. Caprile
3d3f6e09b6
Fix SameSite cookie value
2022-08-26 10:17:49 -03:00
Sergey Lyubka
7252f5385b
Merge pull request #1683 from cesanta/multi-threaded
...
Show how to send data to a worker thread
2022-08-25 23:53:29 +01:00
Sergio R. Caprile
ad641880a6
Show how to send data to a worker thread
2022-08-25 17:00:47 -03:00
Sergio R. Caprile
3cd4fd2d61
Workaround for aliased weak symbol override issue
...
Changed README to use picocom as cu is apparently not able to add carriage return after line feed
2022-08-24 19:02:11 -03:00
Sergey Lyubka
060f43839d
Merge pull request #1680 from cesanta/esp8266
...
Expanded Makefile
2022-08-20 00:27:09 +01:00
cpq
9c3c4a6f4b
MIP client
2022-08-20 00:03:15 +01:00
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
Sergey Lyubka
6b51666248
Move esp32 example
2022-06-08 13:24:41 +01:00
Sergey Lyubka
628a007112
Refresh packed filesystems
2022-06-08 13:22:09 +01:00
Sergey Lyubka
9f8424e93f
Update readme
2022-06-08 09:06:14 +01:00
Sergey Lyubka
2e750236be
Add uart-bridge example
2022-06-08 08:58:32 +01:00
Sergey Lyubka
e75afcba42
Update dash UI
2022-06-05 17:17:19 +01:00
Sergey Lyubka
31c7d66245
Rework dashboard
2022-06-05 14:59:59 +01:00
Sergey Lyubka
219428c249
Change device dashboard to use MQTT
2022-06-04 22:21:59 +01:00
Sergey Lyubka
c48349ba56
Add sntp-time-sync example
2022-06-03 13:57:57 +01:00
Sergio R. Caprile
7da5d42009
Merge pull request #1573 from cesanta/timers
...
Minor cosmetic changes
2022-06-02 10:06:41 -03:00
Sergey Lyubka
a88ea776a9
Change MG_MAX_RECV_BUF_SIZE -> MG_MAX_RECV_SIZE
2022-06-02 13:50:44 +01:00
Sergey Lyubka
063244e4ca
Minor cosmetic changes
2022-06-01 21:15:31 +01:00
Sergey Lyubka
f735585239
Update timers example
2022-06-01 17:09:15 +01:00
Sergey Lyubka
30349ec217
Update timers example
2022-06-01 17:09:13 +01:00
Sergey Lyubka
55517d48ed
Change linux target
2022-06-01 16:25:04 +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
2ae341cf5e
Add nucleo-f746zg-baremetal
2022-05-26 13:53:36 +01:00
Sergey Lyubka
69082db381
Regenerated packed fs
2022-05-25 11:15:00 +01:00
Sergey Lyubka
c2d2d085cd
Add chart example
2022-05-23 15:27:19 +01:00
Sergey Lyubka
b3a4c12d67
Handle #1559 - set no flags in send() call
2022-05-22 23:49:38 +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
47e15a3d47
RTX nits
2022-05-17 19:29:53 +01:00
Alex Alashkin
ac55c900e7
Use docker for Zephyr CI
2022-05-16 15:30:25 +03: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
Alex Alashkin
0ed7545947
Add TI support
2022-05-15 19:25:50 +03:00
Sergey Lyubka
95e22e8d4f
Exporting only dashboard func
2022-05-15 14:40:58 +01:00
Sergey Lyubka
443d0f0c6c
Rename complete -> device-dashboard, remove multiple-logins and dashboard
2022-05-14 09:08:23 +01:00
Sergey Lyubka
c20e48179f
Un-break the test and untie serving code in dash example
2022-05-13 22:15:33 +01:00
Sergey Lyubka
3fbb7de712
Refactor dashboard example
2022-05-13 20:08:08 +01:00
Sergey Lyubka
5271626947
Disable SSI by default
2022-05-08 21:54:15 +01:00
Sergey Lyubka
6db0485c7b
Set c->loc for accepted and UDP connections
2022-05-06 20:19:40 +01:00
Sergey Lyubka
f19eec7fae
Refactor multithreading API
2022-04-25 14:56:15 +01:00
Alex Alashkin
56c40ff0fd
Fix zephyr tests
2022-04-20 09:28:36 +03:00
Sergey Lyubka
20fc8f0279
Handle #1529 : add automatic linkage against ws2_32.lib on _WIN32 targets
2022-04-19 18:51:28 +01:00
Sergey Lyubka
944704a12d
Fix #1528 : pack.c build on Win32
2022-04-19 18:46:29 +01:00
Alex Alaskin
a7c24aeeee
Add Zephyr build to Github actions
2022-04-13 19:54:08 +03:00
Sergey Lyubka
186eb998ba
Adjust to timer API change, add root makefile
2022-04-13 14:03:00 +01:00
Sergey Lyubka
d630ba743d
Merge pull request #1524 from zudwalex/zephyr2
...
Add Zephyr examples
2022-04-13 11:17:22 +01:00
Sergey Lyubka
ebd2e89faa
Handle #1522 - Fix TLS buffering
2022-04-13 10:48:17 +01:00
Alex Alashkin
17e0fb1c15
Add Zephyr examples
2022-04-13 11:10:22 +03:00
Sergey Lyubka
6e3e77a1a0
Enhance http-streaming-client
2022-04-12 19:06:37 +01:00
Sergey Lyubka
ef44f90491
Fix #1520 - move state to struct mg_mgr
2022-04-12 14:14:55 +01:00
Sergey Lyubka
b20eded30e
Fix ESP32 example
2022-04-05 12:54:20 +01:00
Sergey Lyubka
affcef7e37
Fix clean targets
2022-04-03 00:04:58 +01:00
Sergey Lyubka
b5fcf95b88
Enable mbedTLS
2022-04-01 21:33:09 +01:00
Sergey Lyubka
d954851d43
Drop CRL from mbedTLS integration - let customer do a custom init if required
2022-04-01 16:42:41 +01:00
Sergey Lyubka
3d9fa10485
Increase sock limit, fix multiple connections issue
2022-04-01 15:42:15 +01:00
Sergey Lyubka
4e0039625e
Remove cruft
2022-03-31 18:07:15 +01:00
Sergey Lyubka
6c909f8935
Disable SNTP
2022-03-31 18:02:29 +01:00
Sergey Lyubka
4f5d385e52
Enable SNTP in zephyr example
2022-03-31 17:42:09 +01:00
Sergey Lyubka
84fe1d87b3
Enable DHCP
2022-03-31 17:26:58 +01:00
Sergey Lyubka
bb0bc41f99
Add zephyr example skeleton
2022-03-31 16:58:27 +01:00
Sergey Lyubka
ad4812218d
Handle #1497 - handshake format
2022-03-21 15:17:09 +00:00
Sergey Lyubka
7ef82f5caf
Add vc2017 target
2022-03-21 14:38:42 +00:00
Sergey Lyubka
1141ea7933
Add connection timeout
2022-03-20 18:50:01 +00:00
Sergey Lyubka
6c021765bb
Merge pull request #1479 from zudwalex/infineon_rtx_support
...
Add RTX-RTOS support
2022-03-18 09:18:49 +00:00
Sergey Lyubka
870431dc1a
Enhance HTTP client example
2022-03-15 14:14:36 +00:00
Sergey Lyubka
d255fc737a
Fix mongoose.exe target
2022-03-15 10:03:00 +00:00
Sergey Lyubka
7bf8b81995
Fix mg_http_delete_chunk()
2022-03-11 15:38:59 +00:00
Alex Alashkin
412f5cf3e0
Add RTX-RTOS support
2022-02-23 19:56:37 +02:00
Sergey Lyubka
e99973d4b7
Introduce local address
2022-02-22 22:00:55 +00:00
Sergey Lyubka
4fec149345
Disable dirlist by default
2022-02-14 11:32:01 +00:00
Sergey Lyubka
969b84043c
Fix #1465 - rename LL_* constants, introduce MG_* log macros
2022-02-12 18:17:25 +00:00
Sergey Lyubka
54f75889fa
Using mg_snprintf() everywhere
2022-02-10 17:11:03 +00:00
Sergey Lyubka
f64c86d23f
Use mg_snprintf()
2022-02-10 11:56:55 +00:00
Sergey Lyubka
9e634310b4
Use MG_EV_HTTP_CHUNK for streaming upload
2022-02-09 12:24:06 +00:00
Sergey Lyubka
33666e7d6b
Fix ESP32 example
2022-02-08 14:13:47 +00:00
Sergey Lyubka
40d4c7e410
Fix ESP32 example
2022-02-08 13:43:34 +00:00
Sergey Lyubka
49d5aff8f9
Call realpath() against root_dir only when there are no overrides
2022-02-01 11:10:01 +00:00
Sergey Lyubka
63b880e624
Handle #1459 - deprecate mg_globmatch, introduce mg_match()
2022-01-29 11:03:54 +00:00
Sergey Lyubka
768f67ae0a
Fix #1458 - fail on example build error, and fix examples/mqtt-server
2022-01-27 12:10:03 +00:00
Sergey Lyubka
f6cebf6956
Listen on INADDR_ANY by default
2022-01-22 17:03:27 +00:00
Sergey Lyubka
226917e1cd
Use mg_str, not pointers, in mg_mqtt_{sub,pub}
2022-01-19 09:57:27 +00:00
Sergey Lyubka
fe813ee247
Add buf,len params to mg_mgr_wakeup()
2022-01-19 09:25:01 +00:00
Sergey Lyubka
d0857fe36c
Add mkdir to the FS API
2022-01-18 19:19:34 +00:00
Sergey Lyubka
56a7438114
Add fs arg to mg_file* and mg_http_upload API
2022-01-18 17:11:02 +00:00
Sergey Lyubka
97f95e17db
Better strategy for restoring multicast address
2022-01-07 18:40:48 +00:00
Sergey Lyubka
6725d61b3f
Re-init SSDP peer address before every search
2022-01-07 18:28:51 +00:00
Sergey Lyubka
f7ff571c5f
Added SSDP search example
2022-01-05 13:22:00 +00:00
Sergey Lyubka
6ad4d242c2
Better cleanup
2022-01-05 11:45:22 +00:00