27 lines
458 B
C
27 lines
458 B
C
#ifndef BELON_CONFIG_H_
|
|
#define BELON_CONFIG_H_
|
|
|
|
#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();
|
|
|
|
#endif // BELON_CONFIG_H_
|
|
|