12345678910111213141516171819202122232425262728293031323334353637383940 |
- #ifndef __MBA32A_H
- #define __MBA32A_H
- #include "main.h"
- void MBA32A_Init(void);
- void USART_SendString(UART_HandleTypeDef *huart,char *str);
- void Lock_OandC(void);
- uint8_t sendCmd_BT(char *pCmd,char *pRes, uint32_t timeOut, uint8_t sendNum);
- extern char autoRe[1024];
- void OpenCloseLock(void);
- void event_lock(void);
- void open_close_lock(void);
- extern bool L0worked;
- extern bool L1worked;
- extern bool L2worked;
- extern bool L3worked;
- extern bool L4worked;
- extern bool L5worked;
- extern bool L6worked;
- extern bool L7worked;
- extern int workedLock; // 用于跟踪已连接的设备的数量
- extern int devices[8]; // 数组用于跟踪设备的工作状态
- extern bool openOrClose ;
- extern bool ConnOk;
- #endif /*__MBA32A_H*/
|