123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- /******************************************************************
- *
- * uEcho for C
- *
- * Copyright (C) Satoshi Konno 2015
- *
- * This is licensed under BSD-style license, see file COPYING.
- *
- ******************************************************************/
- #ifndef _UECHO_CONST_H_
- #define _UECHO_CONST_H_
- #ifdef __cplusplus
- extern "C" {
- #endif
- #define uEchoMulticastAddr "224.0.23.0"
- enum {
- uEchoSupportedMajorVersion = 1,
- uEchoSupportedMinorVersion = 13,
- uEchoUdpPort = 3610,
- uEchoTcpPort = 3610,
- uEchoTidMin = 0,
- uEchoTidMax = 65535,
- };
- typedef enum {
- uEchoSpecifiedMessageFormat = 0x01,
- uEchoArbitraryMessageFormat = 0x02,
- } uEchoMessageFormatType;
- enum {
- uEchoManufactureCodeTestMin = 0xFFFFF0,
- uEchoManufactureCodeTestMax = 0xFFFFFF,
- };
- #ifdef __cplusplus
- }
- #endif
- #endif
|