CoAP
OpenWSN implements CoAP-18 (https://datatracker.ietf.org/doc/draft-ietf-core-coap/):
- as part of the firmware which runs on the motes
- as a open-source Python module available at https://github.com/openwsn-berkeley/coap
Below is the state machine implemented in the Python CoAP module.