- Change in
NetworkContext
struct
- "Pem" has been removed from member names, the new member names are as follows:
pcServerRootCA
,pcClientCert
,pcClientKey
. pcServerRootCASize
,pcClientCertSize
,pcClientKeySize
members have been added.- It is now required to set these
*Size
members in addition to the pointers to the certificates.
Example:
Old Code Snippet:
pNetworkContext->pcClientCertPem = client_cert_pem_start;
New Code Snippet:
pNetworkContext->pcClientCert = client_cert_start;
pNetworkContext->pcClientCertSize = client_cert_end - client_cert_start;
-
This releases includes a version >=v2.0.0 of the
coreMQTT
library.
Please refer to the coreMQTT Migration Guide for more details. -
The
*_USE_DS_PERIPHERAL
and*_USE_SECURE_ELEMENT
config options have been removed and no longer need to be set while usingcoreMQTT
andcoreHTTP
libraries.