- uchar mcu_send_1[75]={
- 0xff,0xff,0x00,0x47,0x02,0x55,0x00,0x00,
- 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x34,
- 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x34,
- 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x31,
- 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x31,
- 0x34,0x39,0x33,0x35,0x33,0x31,0x33,0x36,
- 0x30,0x66,0x38,0x66,0x34,0x32,0x37,0x64,
- 0x38,0x64,0x33,0x34,0x35,0x39,0x36,0x62,
- 0x33,0x37,0x33,0x62,0x38,0x61,0x39,0x30,
- 0x00,0x00,0x55};
- /*wifi模组与设备mcu心跳,mcu回复*/
- uchar mcu_send_2[9]={0xff,0xff,0x00,0x05,0x08,0x55,0x00,0x00,0x55};
- /*设备mcu通知wifi模组进入配置模式,mcu发送*/
- uchar mcu_send_3[10]={0xff,0xff,0x00,0x06,0x09,0x55,0x00,0x00,0x11,0x55};
- /*设备mcu重置wifi,mcu发送*/
- uchar mcu_send_4[9]={0xff,0xff,0x00,0x05,0x0b,0x55,0x00,0x00,0x55};
- /*wifi模组向设备通知工作状态变化,mcu回复*/
- uchar mcu_send_5[9]={0xff,0xff,0x00,0x05,0x0e,0x55,0x00,0x00,0x55};
- /*wifi模组请求重启mcu,mcu回复*/
- uchar mcu_send_6[9]={0xff,0xff,0x00,0x05,0x10,0x55,0x00,0x00,0x55};
- /*非法消息通知,mcu回复*/
- uchar mcu_send_7[10]={0xff,0xff,0x00,0x06,0x12,0x55,0x00,0x00,0x11,0x55};
- /*wifi模组读取设备当前状态,mcu回复*/
- uchar mcu_send_8[11]={0xff,0xff,0x00,0x07,0x04,0x55,0x00,0x00,0x03,0x11,0x55};
- /*设备向wifi主动上报当前状态,mcu发送*/
- uchar mcu_send_9[11]={0xff,0xff,0x00,0x07,0x05,0x55,0x00,0x00,0x04,0x11,0x55};
- /*wifi模组控制设备,mcu回复*/
- uchar mcu_send_10[9]={0xff,0xff,0x00,0x05,0x04,0x55,0x00,0x00,0x55};
- /*mcu通知wifi进入可绑定模式,mcu发送*/
- uchar mcu_send_12[9]={0xff,0xff,0x00,0x05,0x15,0x55,0x00,0x00,0x55};
复制代码
校验和怎么都是0X55 |