The string interpolation of $TF_USERNAME in section Authenticate of README does not work because of it is wrapped by a single quote.
It should like following:
% coap-client -m post -u "Client_identity" -k "$TF_GATEWAYCODE" -e "{\"9090\":\"$TF_USERNAME\"}" "coaps://$TF_GATEWAYIP:5684/15011/9063"
Thank you for sharing your work!!
The string interpolation of $TF_USERNAME in section
Authenticate
of README does not work because of it is wrapped by a single quote.It should like following:
% coap-client -m post -u "Client_identity" -k "$TF_GATEWAYCODE" -e "{\"9090\":\"$TF_USERNAME\"}" "coaps://$TF_GATEWAYIP:5684/15011/9063"