I am writing some value in the context of a variable using HTML Widget Example{“test1”:1, “test2”:2} and I want to call this context in the body ok the event when I trigger.
The example which I did is
{
“dev_id”:“11”,
“port”:1,
“payload_fields”:
{
“payload”:context
}}
I am sending this downlink to TTN and I am not receiving any data in TTN. If I change the “payload”:1(some value) I am receiving the data in TTN.
Could anyone help me with this? for sending the context as my data to TTN