- Change in
NetworkContextstruct
- "Pem" has been removed from member names, the new member names are as follows:
pcServerRootCA,pcClientCert,pcClientKey. pcServerRootCASize,pcClientCertSize,pcClientKeySizemembers have been added.- It is now required to set these
*Sizemembers 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
coreMQTTlibrary.
Please refer to the coreMQTT Migration Guide for more details. -
The
*_USE_DS_PERIPHERALand*_USE_SECURE_ELEMENTconfig options have been removed and no longer need to be set while usingcoreMQTTandcoreHTTPlibraries.