
This is a simple mbed client example demonstrating, registration of a device with mbed Device Connector and reading and writing values as well as deregistering on different Network Interfaces including Ethernet, WiFi, 6LoWPAN ND and Thread respectively.
Fork of mbed-os-example-client by
Revision 25:32b45b3e4d12, committed 2016-10-28
- Comitter:
- mbed_official
- Date:
- Fri Oct 28 12:00:11 2016 +0100
- Parent:
- 24:5db6419ee4be
- Child:
- 26:bb8801a6b7d0
- Commit message:
- Merge pull request #96 from ARMmbed/mbedTLS_cleanup
Cleanup of mbedTLS config
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-client
Changed in this revision
mbedtls_mbed_client_config.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/mbedtls_mbed_client_config.h Tue Oct 25 07:45:08 2016 +0100 +++ b/mbedtls_mbed_client_config.h Fri Oct 28 12:00:11 2016 +0100 @@ -50,7 +50,6 @@ #define MBEDTLS_ASN1_PARSE_C #define MBEDTLS_ASN1_WRITE_C #define MBEDTLS_BIGNUM_C -#define MBEDTLS_CCM_C #define MBEDTLS_CIPHER_C #define MBEDTLS_CTR_DRBG_C #define MBEDTLS_ECP_C @@ -68,22 +67,12 @@ // XXX mbedclient needs these: mbedtls_x509_crt_free, mbedtls_x509_crt_init, mbedtls_x509_crt_parse #define MBEDTLS_X509_USE_C #define MBEDTLS_X509_CRT_PARSE_C -// a bit wrong way to get mbedtls_ssl_conf_psk: -// XXX: this should be ifdef'd out from client too -#define MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED // XXX: clean these up!! -#define MBEDTLS_KEY_EXCHANGE__WITH_CERT__ENABLED -#define MBEDTLS_KEY_EXCHANGE__SOME__ECDHE_ENABLED -#define MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED #define MBEDTLS_SHA512_C #define MBEDTLS_ECDH_C #define MBEDTLS_GCM_C -#define MBEDTLS_CCM_C -#define MBEDTLS_PKCS1_V15 - -#define MBEDTLS_CIPHER_MODE_CBC #define MBEDTLS_ECDH_C #define MBEDTLS_ECDSA_C #define MBEDTLS_X509_CRT_PARSE_C @@ -98,8 +87,6 @@ // Remove selftesting and save 11KB of ROM #undef MBEDTLS_SELF_TEST -#undef MBEDTLS_SSL_COOKIE_C - // Reduces ROM size by 30 kB #undef MBEDTLS_ERROR_STRERROR_DUMMY #undef MBEDTLS_VERSION_FEATURES