1234567891011121314151617181920212223242526 |
- //
- // Created by robin on 5/6/16.
- //
-
- #ifndef DIGICODE_HOST_CONFIG_H
- #define DIGICODE_HOST_CONFIG_H
-
- #define SERIAL_BAUDRATE 9600
- #define SERIAL_PACKET_TYPE unsigned char
- #define SERIAL_PACKET_LENGTH_TYPE unsigned char
- #define SERIAL_PACKET_TYPE_INT unsigned char
-
-
- #define ERROR_NONE 0
- #define ERROR_HOST_PROTOCOL 1
- #define ERROR_HOST_TIMEOUT 2
-
- #define PACKET_DEBUG 1
- #define PACKET_SELF_TEST 2
- #define PACKET_LOGIN 3
-
- #define LOGIN_OK 0
- #define LOGIN_FAILED 1
- #define LOGIN_ERROR 2
-
- #endif //DIGICODE_HOST_CONFIG_H
|