Ivan Grokhotkov
6d87100a70
feat(examples): add local components via idf_component.yml
...
Specifying all the dependencies (managed and local) in the manifest
makes it easier for users to see every component the example
depends on.
2023-09-19 10:38:24 +02:00
Andrii
6a42266795
fix(mqtt): Unite supported components tags under common structure
2023-08-10 09:06:16 +00:00
Bogdan Kolendovskyy
d7b8b36082
examples: fix format errors, remove -Wno-format
...
Logging in series of examples has misuse of "%d" instead of type-appropriate format specifiers.
Fix by changing "%d" to PRIxx macros corresponding to type.
Remove -Wno-format compile flag in those examples that are affected.
2023-02-14 15:46:54 +01:00
Ivan Grokhotkov
e596c84d49
build system: re-add -Wno-format as private flag for some example components
2022-08-03 16:42:47 +04:00
Euripedes Rocha
ff1c405ed1
[MQTT] - Updates esp_mqtt configuration struct
...
- Layered config struct
- Fix examples.
2022-07-15 12:32:50 -03:00
Roland Dobai
766aa57084
Build & config: Remove leftover files from the unsupported "make" build system
2021-11-11 15:32:36 +01:00
David Cermak
b4d792446c
examples/mqtt: Use common transport for setting log severity
2021-02-16 09:00:43 +01:00
Euripedes Rocha Filho
b5682610b6
examples/mqtt: Cleanup on examples
...
- Removes extra callback function, the code from the callback is integrated into the event handler code.
- Clarify usage of handler args, pass NULL as callback data instead of client, to avoid user confusion,
and add documentation on usage of handler_args.
2021-02-11 07:29:29 +01:00
Euripedes Rocha Filho
61f8dc4365
examples/mqtt : Fix ssl mutual auth to use event loop
...
The example for mqtt ssl mutual authentication is now using the event
loop. Thi modification makes it uniform with all the other mqtt
examples.
2021-01-08 07:38:14 +00:00
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
Marius Vikhammer
a54291b22b
MQTT: add server side authentication to mutual auth example
2020-08-12 11:25:00 +08:00
David Cermak
31b2702387
esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK()
...
esp_netif_init() returns standard esp_err_t error code (unlike tcpip_adapter init), so shall be checked for the return value
Also to make the initialization code more consistent.
2019-12-17 09:07:49 +01:00
David Cermak
a49b934ef8
examples: protocol examples which use common connection component
...
updated to use esp_netif_init instead of tcpip_adapter in initialization code
2019-11-13 12:36:25 +01:00
Anton Maklakov
afbaf74007
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2019-08-01 16:28:56 +07:00
Renz Christian Bagaporo
6771eead80
examples: use new component registration api
2019-06-21 19:53:29 +08:00
Ivan Grokhotkov
6548afcf49
examples/protocols/mqtt: use common network component
2019-04-15 03:32:05 +00:00
Roland Dobai
37126d3451
Correct Kconfigs according to the coding style
2019-01-29 13:37:01 +01:00
David Cermak
13bf307c85
mqtt: support for BEFORE_CONNECT event in idf
...
Updated examples to use new event id, idf to use mqtt with fixed retained, oversized messages
2019-01-03 09:22:24 +01:00
David Cermak
0cdb33c9dd
mqtt: ssl mutual authentication example added per PR from github, corrected cmake build, updated per idf style
...
Merges https://github.com/espressif/esp-idf/pull/2490
2018-10-30 08:04:09 +01:00