85a2e25093
esp_modem: Added modem_console commands for deep-sleep and modem PSM.
2022-10-10 12:51:47 +05:30
988b3f9905
ci: Compile esp_modem examples with USB support
2022-10-05 11:25:20 +02:00
53b59332dc
esp_modem: Expand PPPoS example with USB DTE
2022-10-05 11:25:14 +02:00
bf84ae940a
esp_modem: Allow USB DTE reconnection
...
esp_modem_usb_dte component is fetched from IDF component registry.
2022-10-05 11:25:06 +02:00
a89a0ab7a3
esp_modem: Add ConsoleCommand destructor
...
Commands are registered in Constructor. But there is now of deregistering it
This is needed for correct console re-construction,
for example with USB modem replugging.
2022-10-05 11:14:42 +02:00
fe536e476c
esp_modem_get_gnss_power_mode ( #136 )
...
Co-authored-by: Franz Höpfinger <krone-trailer@franzhoepfinger.de >
2022-10-05 08:54:41 +02:00
55b4775ca8
remove unused Config Parameters !
2022-10-04 09:30:53 +02:00
1c6c610f20
Merge pull request #146 from MicroDev1/master
...
Prevent crash when hostname is null (IDFGH-8356)
2022-10-01 07:47:38 +02:00
9b48b0a5e0
update(esp_modem): Bump component version
2022-09-30 17:37:11 +02:00
25ac2d98c6
feat(esp_modem): Make some CMUX params compile-time configurable
...
* bool flag to defragment CMUX payload (useful for devices that send longer messages)
* int flag to force a delay between creating virtual terminals (useful for chatty devices that send some requests)
2022-09-30 17:36:38 +02:00
ce175df376
fix(esp_modem): CMUX to ignore MSC frames
...
Otherwise it gets confused with DISC frame and causes trouble when entering
CMUX mode (if device sends MSC requests)
Closes https://github.com/espressif/esp-protocols/issues/140
2022-09-30 17:36:38 +02:00
9d9d0db1ee
Merge pull request #145 from david-cermak/bugfix/modem_console_flow_ctrl_config
...
fix(esp_modem): Console example to use configurable flow-ctrl
2022-09-30 16:56:22 +02:00
62cb235aa9
esp_modem: Allow error handler register in C
...
C++ API offers interface to register error callback.
C API isn't flexible enough, so we offer conversion function between C++ and C enums.
2022-09-30 11:55:09 +02:00
04c711f757
esp_modem: Move common C definitions in to separate header
...
Separate header for C API created.
It can be used by C DTE extensions.
2022-09-30 11:41:34 +02:00
467fec5c9b
Merge pull request #141 from gabsuren/examples/asio_examples_integrationn
...
ASIO: Example tests integration
2022-09-30 10:38:38 +02:00
5193ebc6ea
ASIO: Example tests integration
2022-09-27 16:09:50 +04:00
3498e86d8b
prevent crash when hostname is null
2022-09-21 21:03:07 +05:30
07a347f907
fix(esp_modem): Fix CRLF endlines in examples
2022-09-20 08:20:05 +02:00
d9c9681094
fix(esp_modem): Console example to use configurable flow-ctrl
2022-09-20 08:18:53 +02:00
accf9244ca
Minor formatting fix and spelling
2022-09-19 17:11:57 +02:00
290197c210
feat(esp-modem): Add exit PPP in example
2022-09-19 17:07:49 +02:00
b8d1e58778
Merge pull request #116 from gabsuren/examples/mdns_examples_integration
...
mdns: Example tests integration
2022-09-15 11:41:58 +02:00
cc4d33d871
Merge pull request #125 from david-cermak/bugfix/modem_command_race
...
fix(esp_modem): DTE command race of timeout vs reply's signal
2022-09-14 14:46:06 +02:00
ef0e48a678
extended the modem_console example. ( #120 )
...
Co-authored-by: Franz Höpfinger <krone-trailer@franzhoepfinger.de >
Co-authored-by: david-cermak <38914379+david-cermak@users.noreply.github.com >
2022-09-14 14:05:25 +02:00
187ef7676e
update(esp_modem): Bump component version
2022-09-14 13:52:00 +02:00
a8714730fb
fix(esp_modem): DTE command race of timeout vs reply's signal
...
Race condtion:
* First command timeouted, but the reply came just after evaluation and
set signal variable to GOT_LINE
* Second command should timeout too, but a consistency check validates
that it timeouted and at the same time GOT_LINE (from previous step) and
throws an exception
STR:
* Revert change in esp_modem_dte.cpp
* Run TEST_CASE("DTE command races", "[esp_modem]")
Closes https://github.com/espressif/esp-protocols/issues/110
2022-09-14 13:50:22 +02:00
d2f519f9e5
Merge pull request #139 from david-cermak/bugfix/modem_get_operator_name_with_act
...
fix(esp_modem): Make get_operator_name() return also ACT value
2022-09-14 13:46:28 +02:00
a045c1c885
mdns: Example tests integration
2022-09-14 10:58:31 +04:00
543521a220
Merge pull request #123 from thorrak/hygiene/TTL
...
Replace hardcoded TTL values with named defines (IDFGH-8113)
2022-09-09 15:13:22 +02:00
1029078541
fix(esp_modem): Correct timeouts for certain commands
...
And adds an explicit timeout parameter to the esp_modem_at()
Closes https://github.com/espressif/esp-protocols/issues/129
2022-09-09 11:23:21 +02:00
0015e5411c
fix(esp_modem): Make get_operator_name() return also ACT value
...
Closes https://github.com/espressif/esp-protocols/issues/128
2022-09-09 10:54:55 +02:00
d07237b2ce
esp_modem: Fix IDF version resolution
2022-09-09 09:31:26 +02:00
3c65fde2a7
Merge pull request #117 from david-cermak/bugfix/mdns_add_service_fail_if_nohostname
...
mdns: Fix add_service() to report error if no hostname has been set
2022-09-08 12:59:08 +02:00
35833d2730
Merge pull request #131 from tore-espressif/feature/esp_modem/err_cb
...
esp_modem: Expose set_error_cb method
2022-09-08 12:54:13 +02:00
088f7ac3f8
mdns: bump up the component version
2022-09-07 09:44:33 +05:30
e079f8ba98
mdns: fix IPV4 only build and also update CI configuration
...
Earlier commit 48c157bc46
had typo
regarding variable name. This was not caught in CI because IPV6
was not really getting disabled due to an indirect dependency
of `CONFIG_EXAMPLE_CONNECT_IPV6`.
This commit fixes both the problems.
2022-09-07 09:43:46 +05:30
330332a0fb
mdns: add test configuration for IPV6 disabled build
2022-09-05 13:24:14 +05:30
48c157bc46
mdns: fix build issue with CONFIG_LWIP_IPV6 disabled
2022-09-02 16:13:17 +05:30
98bf3efeb6
esp_modem: Fix format warnings
...
Closes https://github.com/espressif/esp-protocols/issues/79
2022-09-02 10:02:34 +02:00
ae8479c77e
esp_modem: Expose set_error_cb method
2022-09-02 09:17:49 +02:00
bb4c002841
Replace hardcoded TTL values with named defines
...
- Replaces hardcoded PTR "half-TTL" with `MDNS_ANSWER_PTR_TTL/2` (defined in mdns_private.h)
- Replaces hardcoded TXT "half-TTL" with `MDNS_ANSWER_TXT_TTL/2` (defined in mdns_private.h)
2022-08-23 08:44:36 -04:00
656ab21c9b
mdns: Fix add_service() to report error if no-hostname
2022-08-19 18:47:47 +02:00
2099434b3f
fix(esp_modem): Correct exit of CMUX mode
...
* Fix DISC message's control field (0xFF->0xFE) to keep Poll bit cleared
* Accept UIH resp on DISC for both (0xFF, 0xFE) ignoring P/F bit
* Fix timeout processing when handling DISC message
Closes https://github.com/espressif/esp-protocols/issues/103
2022-08-19 11:45:59 +02:00
d74c296182
fix(mdns): Example makefile to add only mdns as extra comps
2022-08-18 16:41:38 +02:00
c4e85bd099
mdns: fix bit order issue in DNS header flags
...
The bit field in the header flags does not match its intended order on
little endian machines. The PR removes the bit field and uses bit
operations instead.
2022-08-18 16:39:38 +02:00
89e1bd27b3
fix(esp-modem): Add filename/line info to exception message
...
This is useful if exceptions are enabled, but caught internally on C++ API boundary
2022-08-18 14:52:21 +02:00
469f953b28
esp_modem: updated package version to 0.1.19
2022-08-18 15:59:48 +04:00
381eb314dc
Merge pull request #93 from gabsuren/feature/websocket_json_example
...
websocket: updated example to show how to transfer json data
2022-08-15 14:50:48 +02:00
5c245dbdb5
esp_websocket_client: Upgraded version to 0.0.3
2022-08-05 10:21:41 +04:00
134a9a9eee
Revert "bugfix: mdns IPv6 address convert error"
...
This reverts commit 238ee96783
.
2022-08-04 15:52:40 +04:00