mirror of
https://github.com/m5stack/StackChan.git
synced 2026-04-27 11:02:40 +00:00
0cb413697b
Co-authored-by: jyy <jiangyeying@m5stack.com>
23 lines
404 B
C
23 lines
404 B
C
#ifndef __ESP_NOW_INIT_H__
|
|
#define __ESP_NOW_INIT_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "esp_err.h"
|
|
#include <esp_mac.h>
|
|
#include <espnow.h>
|
|
#include <espnow_storage.h>
|
|
#include <espnow_utils.h>
|
|
#include "esp_wifi.h"
|
|
|
|
void wifi_espnow_init(uint8_t channel);
|
|
int wifi_espnow_reinit(uint8_t new_channel);
|
|
void espnow_send_data(uint8_t *pkt, size_t len);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif |