You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
396 B

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __ARGUS_REMOTE_NETWORK_CONNECTOR_DATA__
  2. #define __ARGUS_REMOTE_NETWORK_CONNECTOR_DATA__
  3. #define ARGUS_START_SERVER_FLAG 0x55
  4. #define ARGUS_START_CLIENT_FLAG 0x88
  5. #define ARGUS_HEADER_SIZE 5
  6. //Proto uses CRC16
  7. #define ARGUS_CHECKSUM_SIZE 2
  8. typedef struct S_ARGUS_DATA_HEADER{
  9. uint8_t START_FLAG;
  10. uint32_t SIZE;
  11. }ARGUS_DATA_HEADER;
  12. #endif