Connecting the Quectel BGxx module to a LwM2M server
AnyNet SMARTconnect™ uses the essential AnyNet files to connect a Quectel BGxx module to a LwM2M bootstrap server. For more information, see Creating the essential AnyNet files.
AnyNet SMARTconnect™ then obtains the certificates and data required to connect to a LwM2M server from the LwM2M bootstrap server. There are two modes for the connection:
Secure – CoAP messages are encrypted using a DTLS connection.
Non-secure – CoAP messages are exchanged unencrypted via UDP.
About LwM2M certificates
After the bootstrap procedure completes, for secure mode, AnyNet SMARTconnect™ saves these files in the datatx folder:
lwm2m_server_public_key– the x509 server certificatelwm2m_public_key– the LwM2M public certificatelwm2m_secret_key– the LwM2M public private keylwm2m_url– the LwM2M server URL, in this format:coap(s)://<server>coapsindicates secure mode.coapindicates non-secure mode.If
coapsis used, but a LwM2M file is missing, non-secure mode is used.For non-secure mode, only
anynet_thingname_storeandlwm2m_urlare required.
LwM2M files require the same six-byte header as the essential AnyNet files. For more information, see Creating the essential AnyNet files.
Last updated
Was this helpful?