David Cermak
f12a205657
fix(sockutls): Fix gai_strerror() impl to return const string
...
Previous gai_strerror() returned numeric representation of the code,
but used TLS storage, which might cause issues with stack sizes on all
tasks in the system. Alternatively we can leave the storage to static
only (which wouldn't be thread-safe) or we could one-time allocate and
never free (which is wrong).
This option uses hardcoded strings for common error codes used in lwip.
The disadvantage is that we might need to update the impl in the future
when lwip adds more codes.
2025-01-07 14:06:00 +01:00
david-cermak
b4cb8f8a66
Merge pull request #720 from david-cermak/fix/sock_utils_define_conflict
...
[sock-utils] Fix potential macro conflict
sock_utils-v0.2.1
2024-12-20 16:36:08 +01:00
David Cermak
0499ed93df
bump(sockutls): 0.2.0 -> 0.2.1
...
0.2.1
Bug Fixes
- Fix potential macro colission including standard headers (ade9448c )
2024-12-20 15:41:10 +01:00
David Cermak
ade9448c01
fix(sockutls): Fix potential macro colission including standard headers
2024-12-20 15:40:54 +01:00
david-cermak
4745fc8fe1
Merge pull request #719 from david-cermak/bump/mosq_2.2.0_1
...
[mosq]: Bump: v2.0.20 -> 2.0.20~1
mosq-v2.0.20_1
2024-12-20 15:31:13 +01:00
David Cermak
73e523e736
bump(mosq): 2.0.20 -> 2.0.20~1
...
2.0.20~1
Bug Fixes
- Use sock_utils instead of func stubs (3cd0ed37 )
- Update API docs adding on-message callback (5dcc3330 )
2024-12-20 15:09:41 +01:00
David Cermak
3cd0ed377b
fix(mosq): Use sock_utils instead of func stubs
2024-12-20 15:07:42 +01:00
David Cermak
95294f5f89
fix(mosq): Add consistency check for api docs and versions
2024-12-20 15:07:37 +01:00
David Cermak
5dcc33300f
fix(mosq): Update API docs adding on-message callback
2024-12-20 12:09:48 +01:00
david-cermak
840a561de4
Merge pull request #710 from david-cermak/feat/mosq_p2p_example
...
[mosq]: Add serverless broker example
mosq-v2.0.20
2024-12-19 17:11:13 +01:00
David Cermak
e6fb8aa078
bump(mosq): 2.0.18~0 -> 2.0.20~0
...
2.0.20~0
Features
- Upgrade to mosquitto v2.0.20 (3b2c614d )
- Add support for on-message callback (cdeab8f5 )
- Add example with two brokers synced on P2P (d57b8c5b )
Bug Fixes
- Fix dependency issues moving esp-tls to public deps (6cce87e4 )
2024-12-19 16:51:49 +01:00
David Cermak
3b2c614d86
feat(mosq): Upgrade to mosquitto v2.0.20
...
Used tagged version v2.0.20
2024-12-19 16:41:37 +01:00
David Cermak
cdeab8f517
feat(mosq): Add support for on-message callback
2024-12-19 16:41:37 +01:00
David Cermak
6cce87e465
fix(mosq): Fix dependency issues moving esp-tls to public deps
...
Since esp-tls structs are using in public header files
2024-12-19 16:41:37 +01:00
David Cermak
d57b8c5b29
feat(mosq): Add example with two brokers synced on P2P
...
Broker-less two chip example which virtual private IoT
networks on MQTT protocol.
2024-12-19 16:40:02 +01:00
david-cermak
9c11003449
Merge pull request #713 from david-cermak/feat/sock_utiis_0.2
...
[sock-utils]: Bump 0.1 -> 0.2
sock_utils-v0.2.0
2024-12-19 11:13:59 +01:00
David Cermak
85a7fc772c
bump(sockutls): 0.1.0 -> 0.2.0
...
0.2.0
Features
- Declare socketpair and gai_strerror via standard headers (b090a3cb )
- Add support for gethostname() (f7c0b756 )
2024-12-19 10:57:36 +01:00
David Cermak
b090a3cb69
feat(sockutls): Declare socketpair and gai_strerror via standard headers
...
Adding a reverse dependency to lwip and define macros, which
enable declarations of socketpair() and gai_strerror() in standard
heders (sys/socket.h and netdb.h)
2024-12-19 10:54:56 +01:00
david-cermak
42cde46c97
Merge pull request #714 from bryghtlabs-richard/chore/websocketTidying
...
Chore(websocket) tidy up two small issues
2024-12-17 11:35:57 +01:00
Richard Allen
beb6e57e5e
chore(websocket): align structure members
2024-12-16 16:20:21 -06:00
Richard Allen
15d3a01e11
chore(websocket): remove unused client variable
2024-12-16 15:46:43 -06:00
david-cermak
e12ecb8e89
Merge pull request #707 from david-cermak/bugfix/sckutls_gethostname
...
[sock-utils]: Add support for gethostname()
2024-12-16 16:36:32 +01:00
david-cermak
54271a1b96
Merge pull request #709 from david-cermak/bump/modem_1.3
...
[modem]: bump 1.2.1 -> 1.3.0
modem-v1.3.0
2024-12-12 09:46:27 +01:00
David Cermak
886215032f
bump(modem): 1.2.1 -> 1.3.0
...
1.3.0
Features
- Add mode detection to the example (18f196fa )
- Support for pausing network in C-API (1db83cd1 )
- Add support for pausing netif (247f1681 , #699 )
Bug Fixes
- Minor cleanup of pppos example (5e929902 )
- Fix PPP mode detection to accept LCP/conf (c989c6ad )
- Refine mode switch data->command (8b6ea331 , #692 )
- Detect serial ports properly (0cb59ff8 )
- Fix CMUX enter to ignore URC before transition (1284f66d , #669 )
2024-12-10 12:48:09 +01:00
david-cermak
269351f41c
Merge pull request #700 from david-cermak/feat/modem_pause_network
...
[modem]: Add support for pausing netif
2024-12-10 12:14:10 +01:00
David Cermak
5e929902c7
fix(modem): Minor cleanup of pppos example
...
* Use CONFIG_EXAMPLE_DETECT_MODE_BEFORE_CONNECT to demonstrate mode
detect
* Use disconnection flag to indicate conneciton issue and gracefully
degrade to command mode
* Remove IDF-verion < v5.0 code
2024-12-10 11:36:10 +01:00
David Cermak
f7c0b7564a
feat(sockutls): Add support for gethostname()
...
Closes https://github.com/espressif/esp-idf/issues/14849
2024-12-09 17:16:59 +01:00
David Cermak
c989c6adae
fix(modem): Fix PPP mode detection to accept LCP/conf
2024-12-06 10:12:25 +01:00
David Cermak
18f196fa1e
feat(modem): Add mode detection to the example
2024-12-06 09:48:00 +01:00
David Cermak
1db83cd1ca
feat(modem): Support for pausing network in C-API
...
also adds a demo of this feature to pppos client example
2024-12-05 20:16:45 +01:00
David Cermak
247f1681e8
feat(modem): Add support for pausing netif
...
Closes https://github.com/espressif/esp-protocols/issues/699
2024-12-05 20:16:41 +01:00
david-cermak
32387f7e39
Merge pull request #702 from david-cermak/fix/modem_data_cmd_mode_refine
...
[modem]: Refine data -> command transition
2024-12-04 15:42:43 +01:00
David Cermak
dbc3ea6809
fix(common): Export IDF environment in bash shell
...
To avoid issues with IDF_PATH/export with the latest tools
2024-12-04 14:44:43 +01:00
David Cermak
8b6ea3311a
fix(modem): Refine mode switch data->command
...
* netif.stop() moved after setting the transition callback
* send PPP escape sequence if enabled before waiting for transition to
complete
* add newline character before sync() command (after the "+++")
Closes https://github.com/espressif/esp-protocols/issues/692
2024-12-04 14:39:01 +01:00
david-cermak
8e55b93b59
Merge pull request #703 from david-cermak/fix/modem_cmux_data_before_switch
...
[modem]: CMUX: ignore URC before entering CMUX
2024-12-04 08:18:54 +01:00
David Cermak
0cb59ff80d
fix(modem): Detect serial ports properly
2024-11-29 18:27:26 +01:00
David Cermak
1284f66d58
fix(modem): Fix CMUX enter to ignore URC before transition
...
Closes https://github.com/espressif/esp-protocols/issues/669
2024-11-29 17:32:35 +01:00
Abhik Roy
c5b49de2db
Merge pull request #502 from espressif-abhikroy/component/console_cmd_mqtt
...
feat(console): Added component with mqtt command
console_cmd_mqtt-v1.0.0
2024-11-29 21:53:01 +11:00
Abhik Roy
2e9bb6ee45
bump(console): First version [1.0.0]
...
1.0.0
Features
- Added component with mqtt command (1fcc5b1d )
2024-11-29 21:48:50 +11:00
Abhik Roy
1fcc5b1d56
feat(console): Added component with mqtt command
2024-11-29 00:59:27 +11:00
david-cermak
849fe7b6cb
Merge pull request #698 from david-cermak/fix/modem_minor_fixes_on_1.2
...
[modem]: Support for URC handler in C-API -> v1.2.1
modem-v1.2.1
2024-11-20 16:28:39 +01:00
David Cermak
5eadf1edee
bump(modem): 1.2.0 -> 1.2.1
...
1.2.1
Bug Fixes
- Use higher GPIO range to support new chips (428fdbbd , #558 )
- Remove tests and support for IDFv4.4, added IDFv5.4 (433a033f )
- Fix typo GENETIC -> GENERIC in mode types (090b1ff8 , #667 )
- Add support for URC handler into C-API (295d99df , #180 )
2024-11-20 15:47:03 +01:00
David Cermak
428fdbbd80
fix(modem): Use higher GPIO range to support new chips
...
We can use IDF's Kconfig.env_caps in future, but that's not available on v5.0.
Closes https://github.com/espressif/esp-protocols/issues/558
2024-11-20 11:36:00 +01:00
David Cermak
433a033fcc
fix(modem): Remove tests and support for IDFv4.4, added IDFv5.4
2024-11-20 11:35:33 +01:00
David Cermak
090b1ff845
fix(modem): Fix typo GENETIC -> GENERIC in mode types
...
Closes https://github.com/espressif/esp-protocols/issues/667
2024-11-20 10:25:20 +01:00
David Cermak
295d99df96
fix(modem): Add support for URC handler into C-API
...
Closes https://github.com/espressif/esp-protocols/issues/180
2024-11-20 10:15:22 +01:00
david-cermak
b65cff3a0b
Merge pull request #696 from david-cermak/bump/mdsn_1.4.2
...
[mdns]: Bump to v1.4.2
mdns-v1.4.2
2024-11-14 15:31:45 +01:00
David Cermak
e711f26670
bump(mdns): 1.4.1 -> 1.4.2
...
1.4.2
Features
- support update subtype (062b8dca )
Updated
- chore(mdns): Add more info to idf_component.yml (4a1cb65c )
2024-11-14 12:04:25 +01:00
David Cermak
4a1cb65c67
chore(mdns): Add more info to idf_component.yml
...
Fixing component manager warnings:
WARNING: A component description has not been provided in the manifest file. Please update your file and include a brief description of the component.This will help other developers understand the purpose and functionality of your component. Documentation: https://***/projects/idf-component-manager/en/latest/guides/packaging_components.html#create-idf-component-yml
WARNING: A homepage URL has not been provided in the manifest file. Please update your file and include the URL to the component's homepage. Documentation: https://***/projects/idf-component-manager/en/latest/guides/packaging_components.html#create-idf-component-yml
2024-11-14 12:03:56 +01:00
david-cermak
6c61dd39cf
Merge pull request #693 from zwx1995esp/feat/support_add_remove_subtype
...
feat(mdns): support update subtype (IDFGH-14068)
2024-11-14 10:36:22 +01:00