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

asked 2018-03-30 15:49:45 +0000

allenhuffman gravatar image

updated 2018-03-30 15:50:17 +0000

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 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!

edit retag flag offensive close merge delete