123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #ifndef __AICARE_CONFIG_H__
- #define __AICARE_CONFIG_H__
- #include "aicare_profile.h"
- #include "sys_utils.h"
- typedef struct
- {
- uint16_t type;
- uint8_t status;
- uint16_t length;
- uint8_t *data;
- }aicare_tlv_t;
-
-
-
- enum GLOBAL_STA_CODE_T
- {
- AICARE_STA_SUC=0x00,
- AICARE_STA_FAIL,
- AICARE_STA_OTA,
- AICARE_STA_FILE,
- AICARE_STA_CHARGE,
- AICARE_STA_LVRT,
- AICARE_STA_RUN,
- AICARE_STA_CALL,
- AICARE_STA_OOM,
- };
- enum AICARE_APP_CMD_T
- {
- AICARE_HANDSHAKE1_CMD=0x0001,
- AICARE_HANDSHAKE2_CMD=0x0002,
- AICARE_SET_PIDVID_CMD=0x0003,
- AICARE_SET_ADVNAME_CMD=0x0004,
- AICARE_READ_CHIP_CMD=0x0005,
- AICARE_FIND_UPDATA_CMD=0x0006,
-
- AICARE_DEV_TIME_CMD=0x0102,
- AICARE_BATT_LEVEL_CMD=0x0103,
- AICARE_DEV_VERSION_CMD=0x0104,
- AICARE_DEV_MAC_CMD=0x0105,
- AICARE_SET_USERINFO_CMD=0x0106,
- AICARE_STEP_COUNT_CMD=0x0107,
- AICARE_SET_BRIGHT_CMD=0x0108,
- AICARE_SET_SITTING_CMD=0x0109,
- };
- #endif
|