Compare commits
No commits in common. "312360707d54820ce1e16026d47c22e2eb49a9b7" and "f7cd159a1df5cc2732444072819e55bacf1887ca" have entirely different histories.
312360707d
...
f7cd159a1d
3 changed files with 2 additions and 17 deletions
|
|
@ -7,7 +7,6 @@ set(REQUIRES
|
|||
)
|
||||
|
||||
set(SRCS
|
||||
src/baros.c
|
||||
src/baros_ble.c
|
||||
src/baros_ble_ota.c
|
||||
)
|
||||
|
|
|
|||
|
|
@ -24,10 +24,6 @@ typedef enum {
|
|||
typedef struct {
|
||||
const char *name;
|
||||
baros_role_t role;
|
||||
} baros_cfg_t;
|
||||
|
||||
typedef struct {
|
||||
const char *name;
|
||||
} baros_ble_cfg_t;
|
||||
|
||||
ESP_EVENT_DECLARE_BASE(EVENT_BAROS_BLE);
|
||||
|
|
@ -37,8 +33,9 @@ typedef enum {
|
|||
BAROS_BLE_CONNECT,
|
||||
} baros_ble_event_t;
|
||||
|
||||
uint8_t baros_init(baros_cfg_t *cfg);
|
||||
uint8_t baros_ble_init(baros_ble_cfg_t *cfg);
|
||||
int baros_ble_scan_start();
|
||||
int baros_ble_scan_stop();
|
||||
|
||||
#define BARBACK_BANNER "\n\
|
||||
▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄ ▄\n\
|
||||
|
|
|
|||
11
src/baros.c
11
src/baros.c
|
|
@ -1,11 +0,0 @@
|
|||
#include "baros.h"
|
||||
|
||||
uint8_t baros_init(baros_cfg_t *cfg) {
|
||||
baros_ble_cfg_t ble_cfg = {
|
||||
.name = cfg->name
|
||||
};
|
||||
|
||||
baros_ble_init(&ble_cfg);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue