esp-idf/components
Jon Shallow 1aaec808da Add DTLS support to libcoap using MbedTLS
This update supports DTLS, TLS is a future TODO

components/coap/CMakeLists.txt:
components/coap/component.mk:

Add in the new files that have to be built
Replace libcoap/src/coap_notls.c with libcoap/src/coap_mbedtls.c

components/coap/libcoap:

Update the version to include the current version for supporting MbedTLS

components/coap/port/coap_debug.c:
components/coap/port/coap_mbedtls.c:
components/coap/port/include/coap/coap_dtls.h:

New port files for DTLS

components/coap/port/include/coap_config_posix.h:

Include building with MbedTLS

examples/protocols/coap_client/README.md:
examples/protocols/coap_client/main/CMakeLists.txt:
examples/protocols/coap_client/main/Kconfig.projbuild:
examples/protocols/coap_client/main/coap_client_example_main.c:
examples/protocols/coap_client/main/component.mk:

Update CoAP client to support DTLS

examples/protocols/coap_client/main/coap_ca.pem
examples/protocols/coap_client/main/coap_client.crt
examples/protocols/coap_client/main/coap_client.key

New PKI Certs for CoAP client (copied from wpa2_enterprise example)

examples/protocols/coap_server/README.md:
examples/protocols/coap_server/main/CMakeLists.txt:
examples/protocols/coap_server/main/Kconfig.projbuild:
examples/protocols/coap_server/main/coap_server_example_main.c:
examples/protocols/coap_server/main/component.mk:

Update CoAP server to support DTLS
Change "no data" to "Hello World!" to prevent confusion

examples/protocols/coap_server/main/coap_ca.pem
examples/protocols/coap_server/main/coap_server.crt
examples/protocols/coap_server/main/coap_server.key

New PKI Certs for CoAP server (copied from wpa2_enterprise example)

Closes https://github.com/espressif/esp-idf/pull/3345
Closes https://github.com/espressif/esp-idf/issues/1379
2019-08-06 10:37:40 +05:30
..
app_trace Fix remaining -Wstrict-prototypes warnings 2019-08-01 16:28:56 +07:00
app_update Fix remaining -Wstrict-prototypes warnings 2019-08-01 16:28:56 +07:00
asio
bootloader tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
bootloader_support make code conform to Wstrict-prototypes 2019-08-01 16:28:56 +07:00
bt Merge branch 'bugfix/strict_prototypes' into 'master' 2019-08-05 09:38:39 +08:00
coap Add DTLS support to libcoap using MbedTLS 2019-08-06 10:37:40 +05:30
console tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
cxx tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
driver spi_common: remove deprecated spi_common_periph_claim macros 2019-08-05 09:26:47 +00:00
efuse tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
esp-tls Merge branch 'feature/transport_support_der_certs' into 'master' 2019-08-05 09:52:08 +08:00
esp32 brownout: fix rtc_brownout_isr_handler signature 2019-08-01 16:28:56 +07:00
esp_adc_cal tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
esp_common make code conform to Wstrict-prototypes 2019-08-01 16:28:56 +07:00
esp_eth ethernet: can build without enable esp32 emac 2019-07-22 21:07:02 +08:00
esp_event tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
esp_gdbstub tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
esp_http_client Merge branch 'bugfix/strict_prototypes' into 'master' 2019-08-05 09:38:39 +08:00
esp_http_server tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
esp_https_ota
esp_https_server esp-tls: Naming variables refering to certificates and keys in a neutral way to suggest that both PEM and DER format could be used, added comments descibing important details about using these formats 2019-08-02 09:25:16 +02:00
esp_local_ctrl tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
esp_ringbuf tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
esp_rom tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
esp_websocket_client tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
esp_wifi Merge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid' into 'master' 2019-08-05 21:18:27 +08:00
espcoredump tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
esptool_py Merge branch 'feature/esptool_py_use_component_properties' into 'master' 2019-07-15 10:52:15 +08:00
expat
fatfs Fix a build issue with replacing init_spi_flash() in the host tests 2019-08-01 16:28:56 +07:00
freemodbus tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
freertos Fix remaining -Wstrict-prototypes warnings 2019-08-01 16:28:56 +07:00
heap tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
idf_test modify WIFI_CONN_0101 case for wrong authmode of AP 2019-08-02 10:22:46 +08:00
jsmn
json
libsodium tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
log tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
lwip tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
mbedtls Add DTLS support to libcoap using MbedTLS 2019-08-06 10:37:40 +05:30
mdns mdns: mdns_service_remove_all doesn't take an argument 2019-08-01 16:28:56 +07:00
mqtt mqtt: referenced esp-mqtt master to close disconnection issues and fix static analysis warnings 2019-07-18 10:34:10 +02:00
newlib tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
nghttp
nvs_flash tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
openssl tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
partition_table global: update note in the partition tables 2019-07-27 10:28:16 +02:00
protobuf-c
protocomm tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
pthread tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
sdmmc tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
smartconfig_ack esp_wifi: refactor smartconfig callback to use esp event 2019-07-04 18:00:04 +08:00
soc tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
spi_flash Fix a build issue with replacing init_spi_flash() in the host tests 2019-08-01 16:28:56 +07:00
spiffs Fix a build issue with replacing init_spi_flash() in the host tests 2019-08-01 16:28:56 +07:00
tcp_transport Merge branch 'feature/transport_support_der_certs' into 'master' 2019-08-05 09:52:08 +08:00
tcpip_adapter tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
ulp
unity Fix remaining -Wstrict-prototypes warnings 2019-08-01 16:28:56 +07:00
vfs make code conform to Wstrict-prototypes 2019-08-01 16:28:56 +07:00
wear_levelling Fix a build issue with replacing init_spi_flash() in the host tests 2019-08-01 16:28:56 +07:00
wifi_provisioning wifi_prov_mgr : Added missing esp_event_post() for WIFI_PROV_END events 2019-07-13 15:48:23 +05:30
wpa_supplicant Fix remaining -Wstrict-prototypes warnings 2019-08-01 16:28:56 +07:00
xtensa make code conform to Wstrict-prototypes 2019-08-01 16:28:56 +07:00