Hi there,
BG95-M3 with FW BG95M3LAR02A03_01.014.01.014
I want to use custom CoAP message tokens instead of automatic generated.
Pls consider the following CoAP header command: clientId=0, msgId=1, mode=0 (no auto token), token-length=1 byte, token=“01” (numerical value 1 as “hex string”)
AT+QCOAPHEADER=0,1,0,1,"01"
The module accepts the command:
OK
I also set some CoAP options and finally send the message (optBitMask=15):
AT+QCOAPSEND=1,0,1,15
The module replies with > and since I have no payload I complete the command with CTRL-Z
Module replies with:
OK
+QCOAPACK: 1,2,1000,0
+QCOAPRECV: 1,1000,2.05,1,00, ... rest omitted for brevity
So the request works but the incoming message URC shows a token value of 00 which is not my token value of 01 - why?
Thanks for any hints on how to set a custom CoAP token!
Regards,
Sven