Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can a CoAP LUA plugin access header information? (i.e., "Request In:")

We have modified a CoAP LUA plugin so it can parse our custom payloads. But, to know what the payload is in response to, we need to be able to figure out where the GET request was. The standard "coap" filter does show "[Request In: xxxx]" and "[Response In: xxxx]" and I wondered if there was a way to access this via LUA.

Thanks!

Can a CoAP LUA plugin access header information? (i.e., "Request In:")

We have modified a CoAP LUA plugin so it can parse our custom payloads. But, to know what the payload is in response to, we need to be able to figure out where the GET request was. was so we can look at the URI options. The standard "coap" filter does show "[Request In: xxxx]" and "[Response In: xxxx]" and I wondered if there was a way to access this via LUA.

Thanks!