You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
438 B

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. #pragma once
  2. #include <stdbool.h>
  3. #include <stdint.h>
  4. typedef struct
  5. {
  6. bool wifi_connect_flag;
  7. bool wifi_distribution_network_flag;
  8. uint8_t wifi_max_connect_num;
  9. } wifi_structer_t;
  10. void T_wifi_init(wifi_structer_t *wifi_structer);
  11. void T_wifi_registered_cb(void);
  12. void T_wifi_connect(void);
  13. void T_wifi_disconnect(void);
  14. bool T_wifi_connect_timeout(void);
  15. void T_wifi_send_data(void);
  16. bool T_wifi_distribution_network(void);