| | |
| | | KLCmdReadData = 0x35,
|
| | | KLCmdWriteData = 0x36 ,
|
| | |
|
| | | KLCmdStopBlinkLED = 0x4F,
|
| | | KLCmdBlinkLED = 0x50,
|
| | |
|
| | | KLCmdReadProg = 0x51,
|
| | | KLCmdWriteProg,
|
| | |
| | | KLCmdSaveSysCfg,
|
| | | KLCmdSaveRunStat,
|
| | | KLCmdReadRunStat,
|
| | | KLCmdClearRunStat,
|
| | |
|
| | | KLCmdEraseFlashPage = 0x61,
|
| | | KLCmdWriteToFlash = 0x62,
|
| | |
| | | extern unsigned char KLBufferIn[16];
|
| | | extern unsigned char KLBufferOut[16];
|
| | |
|
| | | extern unsigned char nKLAddr;
|
| | | extern unsigned char nKLStationId;
|
| | | extern unsigned char nKLSeq;
|
| | |
|
| | | extern int KLThisuS;
|
| | |
| | | //
|
| | |
|
| | | /* Make a Packet and return Packet Length */
|
| | | int KLMakeReqPacket(void * pBuf1,uchar Src, uchar Dst, uchar nType, uchar nSEQ, uchar DataLen, void *pData );
|
| | | int KLMakeReqPacket(void * pBuf1, uchar Src, uchar Dst, uchar nType, uchar nSEQ, uchar DataLen, void *pData );
|
| | | int KLMakeRplyPacket(void * pBuf1, uchar Dst, uchar Status, uchar nCmd, uchar DataLen, const void *pData );
|
| | |
|
| | | /* */
|