The %XSUDO command is used to authenticate AT commands.
Before you start the authentication, perform the following
two steps (only once):
- Generate private and public keys with OpenSSL:
openssl ecparam -name prime256v1 -genkey -noout -out [private key PEM file] openssl ec -in [private key PEM file] -out [public key PEM file] -pubout - Write the public key with the AT
command:
AT%XPMNG=0,"<public key>" OK
To authenticate an AT command, perform the following steps: