#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Go to the source code of this file.
Macros | |
#define | ERRBIT_ALERT 128 |
#define | ERRNUM_ACCESS 7 |
#define | ERRNUM_CRC 3 |
#define | ERRNUM_DATA_LENGTH 5 |
#define | ERRNUM_DATA_LIMIT 6 |
#define | ERRNUM_DATA_RANGE 4 |
#define | ERRNUM_INSTRUCTION 2 |
#define | ERRNUM_RESULT_FAIL 1 |
#define | PKT_ERROR 8 |
#define | PKT_HEADER0 0 |
#define | PKT_HEADER1 1 |
#define | PKT_HEADER2 2 |
#define | PKT_ID 4 |
#define | PKT_INSTRUCTION 7 |
#define | PKT_LENGTH_H 6 |
#define | PKT_LENGTH_L 5 |
#define | PKT_PARAMETER0 8 |
#define | PKT_RESERVED 3 |
#define | RXPACKET_MAX_LEN (1*1024) |
#define | TXPACKET_MAX_LEN (1*1024) |
#define ERRBIT_ALERT 128 |
Definition at line 61 of file protocol2_packet_handler.cpp.
#define ERRNUM_ACCESS 7 |
Definition at line 59 of file protocol2_packet_handler.cpp.
#define ERRNUM_CRC 3 |
Definition at line 55 of file protocol2_packet_handler.cpp.
#define ERRNUM_DATA_LENGTH 5 |
Definition at line 57 of file protocol2_packet_handler.cpp.
#define ERRNUM_DATA_LIMIT 6 |
Definition at line 58 of file protocol2_packet_handler.cpp.
#define ERRNUM_DATA_RANGE 4 |
Definition at line 56 of file protocol2_packet_handler.cpp.
#define ERRNUM_INSTRUCTION 2 |
Definition at line 54 of file protocol2_packet_handler.cpp.
#define ERRNUM_RESULT_FAIL 1 |
Definition at line 53 of file protocol2_packet_handler.cpp.
#define PKT_ERROR 8 |
Definition at line 49 of file protocol2_packet_handler.cpp.
#define PKT_HEADER0 0 |
Definition at line 41 of file protocol2_packet_handler.cpp.
#define PKT_HEADER1 1 |
Definition at line 42 of file protocol2_packet_handler.cpp.
#define PKT_HEADER2 2 |
Definition at line 43 of file protocol2_packet_handler.cpp.
#define PKT_ID 4 |
Definition at line 45 of file protocol2_packet_handler.cpp.
#define PKT_INSTRUCTION 7 |
Definition at line 48 of file protocol2_packet_handler.cpp.
#define PKT_LENGTH_H 6 |
Definition at line 47 of file protocol2_packet_handler.cpp.
#define PKT_LENGTH_L 5 |
Definition at line 46 of file protocol2_packet_handler.cpp.
#define PKT_PARAMETER0 8 |
Definition at line 50 of file protocol2_packet_handler.cpp.
#define PKT_RESERVED 3 |
Definition at line 44 of file protocol2_packet_handler.cpp.
#define RXPACKET_MAX_LEN (1*1024) |
Definition at line 38 of file protocol2_packet_handler.cpp.
#define TXPACKET_MAX_LEN (1*1024) |
Definition at line 37 of file protocol2_packet_handler.cpp.