2025-05-16 18:06:38 +08:00

30 lines
588 B
C

#ifndef BELON_CONFIG_H_
#define BELON_CONFIG_H_
#define BLE_WIFI_FLASH_KEY_SSID "wifi_ssid"
#define BLE_WIFI_FLASH_KEY_PASS "wifi_pass"
#include "stdint.h"
typedef struct
{
uint8_t bind_mac[6];
uint8_t audio_enable;
uint8_t audio_volume;
uint8_t detect_interval;
uint32_t tempreature_limit_low;
uint32_t tempreature_limit_high;
uint8_t resave[32];
} app_dev_config_t;
void belon_ble_active();
void belon_ble_init_scan();
void belon_ble_init_adv();
void belon_ble_scan_start();
void belon_ble_scan_stop();
void wifi_status_cb(void *param);
#endif // BELON_CONFIG_H_