espconn_secure.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #ifndef __ESPCONN_ENCRY_H__
  2. #define __ESPCONN_ENCRY_H__
  3. #include "espconn/espconn.h"
  4. /******************************************************************************
  5. * FunctionName : espconn_encry_connect
  6. * Description : The function given as connection
  7. * Parameters : espconn -- the espconn used to connect with the host
  8. * Returns : none
  9. *******************************************************************************/
  10. sint8 espconn_secure_connect(struct espconn *espconn);
  11. /******************************************************************************
  12. * FunctionName : espconn_encry_disconnect
  13. * Description : The function given as the disconnection
  14. * Parameters : espconn -- the espconn used to disconnect with the host
  15. * Returns : none
  16. *******************************************************************************/
  17. extern sint8 espconn_secure_disconnect(struct espconn *espconn);
  18. /******************************************************************************
  19. * FunctionName : espconn_encry_sent
  20. * Description : sent data for client or server
  21. * Parameters : espconn -- espconn to set for client or server
  22. * psent -- data to send
  23. * length -- length of data to send
  24. * Returns : none
  25. *******************************************************************************/
  26. extern sint8 espconn_secure_sent(struct espconn *espconn, uint8 *psent, uint16 length);
  27. /******************************************************************************
  28. * FunctionName : espconn_secure_accept
  29. * Description : The function given as the listen
  30. * Parameters : espconn -- the espconn used to listen the connection
  31. * Returns : none
  32. *******************************************************************************/
  33. extern sint8 espconn_secure_accept(struct espconn *espconn);
  34. #endif