coap_io.h 365 B

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