/* * Bluecell_operate.h * * Created on: 2020. 4. 3. * Author: YJ */ #ifndef BLUECELL_OPERATE_H_ #define BLUECELL_OPERATE_H_ #include #include "Bluecell_operate.h" /* SYN Sub-UID R-Code TR-ID Seq-Num TTL Time ¿À·ù ÀÀ´ä CMD Length Header Checksum SUB-DATA SUB-DATA-CRC ETX */ /* * 0 80 Àüü »óÅ Á¶È¸ ¸ðµç AID Ç׸ñ¿¡ ´ëÇÑ »óÅ ¿äû ¹× ÀÀ´ä (¿äû FrameÀÇ SUB-DATA ´Â ±æÀÌ´Â 0) 1 81 Á¦¾î ¿äû Á¦¾î ¿äûÀÇ REQ´Â 0x01 À̰í ÀÀ´äÀº Àüü µ¥ÀÌÅÍ »óŸ¦ ÀÀ´ä 10 90 Download Notification ´Ù¿î·Îµå ÅëÁö 11 91 Download Data ´Ù¿î·Îµå data 12 92 Download Confirm ´Ù¿î·Îµå È®ÀÎ 13 93 Download Complete Download Complete Command 14 94 System-Reboot System Rebooting Command 40 C0 Å×À̺í Á¶È¸ ¹× ÀÀ´ä 41 C1 Å×ÀÌºí ¼³Á¤ ¹× ÀÀ´ä * * */ typedef enum{ AllDataReq = 0, // -> Response 80 DataCtrlReq, // -> Response 81 DownNotification, // -> Response 90 DownData, // -> Response 91 DownConfirm , // -> Response 92 DownComplete, // -> Response 93 SystemReboot, // -> Response 94 TableDataReq = 40, }; #endif /* BLUECELL_OPERATE_H_ */