coap_io.h 344 B

123456789101112131415161718192021
  1. #ifndef _COAP_IO_H
  2. #define _COAP_IO_H 1
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #include "lwip/ip_addr.h"
  7. #include "espconn.h"
  8. #include "pdu.h"
  9. #include "hash.h"
  10. coap_tid_t coap_send(struct espconn *pesp_conn, coap_pdu_t *pdu);
  11. coap_tid_t coap_send_confirmed(struct espconn *pesp_conn, coap_pdu_t *pdu);
  12. #ifdef __cplusplus
  13. }
  14. #endif
  15. #endif