sendBuffer[0]='A';
sendBuffer[6]=NumPack[2*length+3];
sendBuffer[5]=NumPack[2*length+2];
sendBuffer[4]=0x00;sendBuffer[1]=0x00;sendBuffer[2]=0x00;sendBuffer[3]=0x00;
sendBuffer[7]=(u8)(sendBuffer[1]+sendBuffer[2]+sendBuffer[3]+sendBuffer[4]+sendBuffer[5]+sendBuffer[6]);
|
|