OVMS3-idf/examples/protocols
Ivan Grokhotkov 4813ab2d28 examples: check return value of nvs_flash_init
nvs_flash_init may return an error code in some cases, and applications
should check this error code (or at least assert on it being ESP_OK, to
make potential issues more immediately obvious).

This change modifies all the examples which use NVS to check the error
code. Most examples get a simple ESP_ERROR_CHECK assert, while NVS
examples, OTA example, and NVS unit tests get a more verbose check which
may be used in real applications.
2017-03-15 10:44:54 +08:00
..
aws_iot AWS IoT Device SDK Support 2017-03-13 17:23:29 +08:00
coap_client examples: check return value of nvs_flash_init 2017-03-15 10:44:54 +08:00
coap_server examples: check return value of nvs_flash_init 2017-03-15 10:44:54 +08:00
http_request examples: check return value of nvs_flash_init 2017-03-15 10:44:54 +08:00
https_request examples: check return value of nvs_flash_init 2017-03-15 10:44:54 +08:00
mdns examples: check return value of nvs_flash_init 2017-03-15 10:44:54 +08:00
openssl_client examples: check return value of nvs_flash_init 2017-03-15 10:44:54 +08:00
openssl_server examples: check return value of nvs_flash_init 2017-03-15 10:44:54 +08:00
sntp examples: check return value of nvs_flash_init 2017-03-15 10:44:54 +08:00
README.md Added README.md to example category folders 2017-01-18 21:03:15 +01:00

Protocols Examples

Implementation of internet communication protocols and services.

See the README.md file in the upper level examples directory for more information about examples.