scapy.contrib.coap module

RFC 7252 - Constrained Application Protocol (CoAP) layer for Scapy

class scapy.contrib.coap.CoAP

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.coap.CoAP'>, <class 'scapy.packet.Packet'>]
content_format
fields_desc = [<Field (CoAP).ver>, <Field (CoAP).type>, <Field (CoAP).tkl>, <Field (CoAP).code>, <Field (CoAP).msg_id>, <Field (CoAP).token>, <Field (CoAP).options>, <Field (CoAP).paymark>]
getfieldval(attr)
post_dissect(pay)

DEV: is called right after the current layer has been dissected