mirror of
https://github.com/RoCry/blozi-etag.git
synced 2026-05-12 03:44:46 +08:00
16 lines
388 B
C
16 lines
388 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
void init_ble();
|
|
void set_adv_data(int16_t temp, uint16_t humi, uint8_t battery_level, uint16_t battery_mv);
|
|
bool ble_get_connected();
|
|
void ble_send_temp(uint16_t temp);
|
|
void ble_send_battery(uint8_t value);
|
|
void blt_pm_proc(void);
|
|
|
|
int RxTxWrite(void * p);
|
|
int otaWritePre(void * p);
|
|
void ble_set_connection_speed(uint16_t speed);
|