Axeda Ready Demo for Freescale FRDM-KL46Z as accident alert system

Dependencies:   FRDM_MMA8451Q KL46Z-USBHost MAG3110 SocketModem TSI mbed FATFileSystem

Fork of AxedaGo-Freescal_FRDM-KL46Z by Axeda Corp

Committer:
AxedaCorp
Date:
Wed Jul 02 19:57:37 2014 +0000
Revision:
2:2f9019c5a9fc
Parent:
0:65004368569c
ip switch

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AxedaCorp 0:65004368569c 1 #ifndef _AXSETTINGS_H_
AxedaCorp 0:65004368569c 2 #define _AXSETTINGS_H_
AxedaCorp 0:65004368569c 3
AxedaCorp 0:65004368569c 4 /************************************************************************************/
AxedaCorp 0:65004368569c 5 /* axSettings.h */
AxedaCorp 0:65004368569c 6 /* ©2013 Axeda Corporation */
AxedaCorp 0:65004368569c 7 /* */
AxedaCorp 0:65004368569c 8 /*This file defines default settings for the domain objects. Most of the time they */
AxedaCorp 0:65004368569c 9 /*define how many characters will be allocated to a particular field. The library */
AxedaCorp 0:65004368569c 10 /*automatically truncate strings that are too long and will return an error code. */
AxedaCorp 0:65004368569c 11 /************************************************************************************/
AxedaCorp 0:65004368569c 12
AxedaCorp 0:65004368569c 13 //define max string sizes for certain structs
AxedaCorp 0:65004368569c 14 #define AX_ALM_NAME_S 50 //Defines how many characters are allocated for an alarm name (ax_alarm.alarmName)
AxedaCorp 0:65004368569c 15 #define AX_ALM_DESC_S 50 //Defines how many characters are allocated for an alarm description (ax_alarm.alarmDescription)
AxedaCorp 0:65004368569c 16 #define AX_ALM_CAUSE_S 50 //Defines how many characters are allocated for an alarm cause (ax_alarm.alarmCause)
AxedaCorp 0:65004368569c 17 #define AX_ALM_REAS_S 50 //Defines how many characters are allocated for an alarm reason (ax_alarm.alarmReason)
AxedaCorp 0:65004368569c 18
AxedaCorp 0:65004368569c 19 #define AX_DN_NAME_S 50 //Defines how many characters are allocated for a dataNode name (ax_dataNode.name)
AxedaCorp 0:65004368569c 20 #define AX_DN_SV_S 50 //Defines how many characters are allocated for a dataNode string (ax_datanode.sValue)
AxedaCorp 0:65004368569c 21
AxedaCorp 0:65004368569c 22 #define AX_EVT_NAME_S 50 //Defines how many characters are allocated for an event name (ax_event.name)
AxedaCorp 0:65004368569c 23 #define AX_EVT_DESC_S 50 //Defines how many characters are allocated for an devent description (ax_event.description)
AxedaCorp 0:65004368569c 24
AxedaCorp 0:65004368569c 25 #define AX_MSID_DID_S 0 //Defines how many characters are allocated for a device ID (ax_deviceID.deviceId)
AxedaCorp 0:65004368569c 26 #define AX_MSID_MDL_S 50 //Defines how many characters are allocated for a model number (ax_deviceID.model)
AxedaCorp 0:65004368569c 27 #define AX_MSID_SER_S 50 //Defines how many characters are allocated for a serial number (ax_deviceID.serial)
AxedaCorp 0:65004368569c 28 #define AX_MSID_TEN_S 50 //Defines how many characters are allocated for a tenant ID (ax_deviceID.tenant)
AxedaCorp 0:65004368569c 29
AxedaCorp 0:65004368569c 30 #define AX_FILE_NAME_S 50 //Defines how many characters are allocated for a file name (ax_file.name)
AxedaCorp 0:65004368569c 31 #define AX_FILE_HINT_S 50 //Defines how many characters are allocated for a file hint (ax_file.hint)
AxedaCorp 0:65004368569c 32 #define AX_FILE_ID_S 50 //Defines how many characters are allocated for a file ID (ax_file.fileID)
AxedaCorp 0:65004368569c 33
AxedaCorp 0:65004368569c 34 #define AX_PLAT_HOST_S 50 //Defines how many characters are allocated for a platform hostname (ax_platform.hostname)
AxedaCorp 0:65004368569c 35
AxedaCorp 0:65004368569c 36 #define AX_PKGI_FID_S 50 //Defines how many characters are allocated for a package file ID (ax_package_instruction.file_id)
AxedaCorp 0:65004368569c 37 #define AX_PKGI_PATH_S 50 //Defines how many characters are allocated for a package path (ax_package_instruction.path)
AxedaCorp 0:65004368569c 38 #define AX_PKGI_FNAME_S 50 //Defines how many characters are allocated for a package file name (ax_package_instruction.filename)
AxedaCorp 0:65004368569c 39
AxedaCorp 0:65004368569c 40 #define AX_PKG_ID_S 50 //Defines how many characters are allocated for a package ID (ax_package.packageID)
AxedaCorp 0:65004368569c 41
AxedaCorp 0:65004368569c 42 #define AX_NET_BUFF_S 1024 //Defines how many characters are allocated for an HTTP response (ax_alarm.alarmReason)
AxedaCorp 0:65004368569c 43
AxedaCorp 0:65004368569c 44
AxedaCorp 0:65004368569c 45
AxedaCorp 0:65004368569c 46 #endif
AxedaCorp 0:65004368569c 47