iR58/bk_aidk/projects/lock_lfvx/main/system_client.h
2025-05-10 11:44:51 +08:00

32 lines
523 B
C

#ifndef __SYSTEM_CLIENT_H__
#define __SYSTEM_CLIENT_H__
#ifdef __cplusplus
extern "C" {
#endif
typedef enum
{
NULL_MSG = 0,
MSG_ENTER_POWER_SAVE,
MSG_EXIT_POWER_SAVE,
MSG_AGORA,
MSG_CLOSE_BLE,
MSG_SEND_PHOTO,
} SystemMessageType;
typedef struct
{
SystemMessageType type;
int len;
uint8_t *msg;
} SystemMessage;
void system_client_start();
void system_start_ota_timer();
void system_client_do(SystemMessageType msg);
#ifdef __cplusplus
}
#endif
#endif