/* ************************************************************************ ** ** Copyright (c) 2010 by ** Core|Vision B.V. ** Cereslaan 10b ** 5384 VT Heesch ** The Netherlands ** ** All Rights Reserved ** ************************************************************************ */ /* ************************************************************************ ** ** Project name: Dual Inventive: Communication Protocol 3000 ** Filename: cp3000-def.h ** Author: Jack Weeland ** Date: August 13, 2010 ** File version: 1.00 of August 13, 2010 ** ************************************************************************ */ /* ************************************************************************ ** ** CP3000 definitions ** ************************************************************************ */ #ifndef _CP3000_DEF_H #define _CP3000_DEF_H // Data in a security certificate to identify an entity. The // "Common Name" and "Organisational Unit Name" are reused by // CP3000 to store the identity of a server or device. // The fields have the following meaning: // Common Name: server address (host:port) or IMEI for devices // Organisation Unit Name: as defined below for servers of device // type for devices (4 hexadecimal digits as defined by the // MCUTYPE constants in "zkl-common.h") // Organisation: company name // Locality: residential town of the company // StateOrProvince: (optional) // Country: country of the company // Names of the server entities, stored in the "Organisational // Unit Name" of a certificate. #define CP3000_OU_CASERVER "CA Server" #define CP3000_OU_TCPSERVER "TCP Server" #define CP3000_OU_SECURESERVER "Secure Server" #define CP3000_OU_SMSSERVER "SMS Server" #define CP3000_OU_MTINFO "MTinfo" #endif /* _CP3000_DEF_H */