made a bit tune on iris-kit

This commit is contained in:
strawmanbobi
2022-01-30 10:47:36 +08:00
parent b93b789854
commit 6732258bda
4 changed files with 27 additions and 24 deletions

View File

@@ -24,10 +24,16 @@
#ifndef IRBABY_ALINK_H
#define IRBABY_ALINK_H
#include <stddef.h>
#include <stdint.h>
#include <AliyunIoTSDK.h>
typedef unsigned char uint8_t;
typedef enum {
FSM_IDLE = 0,
FSM_CONNECTED = 1,
FSM_ACTIVE = 2,
FSM_MAX = 7,
} ep_state_t;
void connectToAliyunIoT();