#include "./lanTask.h"
#include "bmc_main.h"
#include "bmc_type.h"



int lanMasssageTest()
{
	int i=0;
	MsgPkt_T MsgPkt,MsgPkt1;
	uint8_t REC_BUF[64];
	GetMsg (&MsgPkt,OBSM_TASK_Q,15);
	
	for(i=0;i<MsgPkt.Size;i++)
	  {
		REC_BUF[i]=MsgPkt.Data[i];
	  }
	REC_BUF[0]=0x81;
	REC_BUF[1]=0x1c;
	REC_BUF[2]=0x63;
	REC_BUF[3]=0x20;
	REC_BUF[4]=0x00;
	REC_BUF[5]=0x38;
	REC_BUF[6]=0x00;
	REC_BUF[7]=0x01;
	REC_BUF[8]=0x36;
	REC_BUF[9]=0x04;
	REC_BUF[10]=0x00;
	REC_BUF[11]=0x00;
	REC_BUF[12]=0x00;
	REC_BUF[13]=0x00;
	REC_BUF[14]=0x00;
	REC_BUF[15]=0x6d;

	for(i=0;i<16;i++)
	  {
	  	MsgPkt1.Data[i]=REC_BUF[i];
	  }
	MsgPkt1.Size=0x10;
	PostMsg (&MsgPkt1,MSG_HNDLR_Q);
}





