mirror of
https://github.com/m5stack/StackChan.git
synced 2026-04-27 19:12:40 +00:00
add remote source code (#12)
Co-authored-by: jyy <jiangyeying@m5stack.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user