30 lines
588 B
C
Raw Normal View History

2025-04-08 18:46:12 +08:00
#ifndef BELON_CONFIG_H_
#define BELON_CONFIG_H_
2025-05-16 18:06:38 +08:00
#define BLE_WIFI_FLASH_KEY_SSID "wifi_ssid"
#define BLE_WIFI_FLASH_KEY_PASS "wifi_pass"
2025-04-08 18:46:12 +08:00
#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();
2025-05-16 18:06:38 +08:00
void wifi_status_cb(void *param);
2025-04-08 18:46:12 +08:00
#endif // BELON_CONFIG_H_