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 /************************************************************************************/
AxedaCorp 0:65004368569c 2 /* axDomain.h */
AxedaCorp 0:65004368569c 3 /* ©2013 Axeda Corporation */
AxedaCorp 0:65004368569c 4 /* */
AxedaCorp 0:65004368569c 5 /* Defines methods for creation and interaction with Axeda domain constructs. This */
AxedaCorp 0:65004368569c 6 /* is a device independent implementation which can be applied to any device that */
AxedaCorp 0:65004368569c 7 /* supports ANSI C. */
AxedaCorp 0:65004368569c 8 /************************************************************************************/
AxedaCorp 0:65004368569c 9
AxedaCorp 0:65004368569c 10 #ifndef AXDOMAIN_H
AxedaCorp 0:65004368569c 11 #define AXDOMAIN_H
AxedaCorp 0:65004368569c 12
AxedaCorp 0:65004368569c 13 #include "axTypes.h"
AxedaCorp 0:65004368569c 14 #include "axConstants.h"
AxedaCorp 0:65004368569c 15 #include "axStatusCodes.h"
AxedaCorp 0:65004368569c 16
AxedaCorp 0:65004368569c 17 #ifdef __cplusplus
AxedaCorp 0:65004368569c 18 extern "C" {
AxedaCorp 0:65004368569c 19 #endif
AxedaCorp 0:65004368569c 20
AxedaCorp 0:65004368569c 21 int ax_data_createAlarm(ax_alarm *alm, char *alName, char *alDescription, int alSeverity, char *cause, char *reason, int timeOccured, int priority);
AxedaCorp 0:65004368569c 22 int ax_data_createEvent(ax_event *evt, char *name, char *description, int timeOccured, int priority);
AxedaCorp 0:65004368569c 23 int ax_data_createRegistration();
AxedaCorp 0:65004368569c 24 int ax_data_createLocation(ax_location *loc, double lat, double lon, double alt, int timeAcquired, int priority);
AxedaCorp 0:65004368569c 25 int ax_data_createModelSerialDeviceId(ax_deviceID *device, char *model, char *serial, char *tenant);
AxedaCorp 0:65004368569c 26 int ax_createFile(ax_file *file, char *name, char *hint, int size, unsigned char *data);
AxedaCorp 0:65004368569c 27
AxedaCorp 0:65004368569c 28 int ax_createPlatform(ax_platform *axedaCloud, char *hostname, int ip[], int port);
AxedaCorp 0:65004368569c 29
AxedaCorp 0:65004368569c 30
AxedaCorp 0:65004368569c 31 int ax_data_createDataItem(ax_dataSet *destDI, char *diName, int diType, char *stringValue, double numericValue, int timeAcquired, int priority);
AxedaCorp 0:65004368569c 32 int ax_data_createAnalogDataItem(ax_dataSet *destDI, char *diName, double value, int timeAcquired, int priority);
AxedaCorp 0:65004368569c 33 int ax_data_createDigitalDataItem(ax_dataSet *destDI, char *diName, double value, int timeAcquired, int priority);
AxedaCorp 0:65004368569c 34 int ax_data_createStringDataItem(ax_dataSet *destDI, char *diName, char *value, int timeAcquired, int priority);
AxedaCorp 0:65004368569c 35
AxedaCorp 0:65004368569c 36 int ax_data_createSet(ax_dataSet *set, int acquisitionTime, int priority);
AxedaCorp 0:65004368569c 37
AxedaCorp 0:65004368569c 38 int ax_data_addToSet(ax_dataSet *set, char *diName, int diType, char *stringValue, double numericValue);
AxedaCorp 0:65004368569c 39 int ax_data_addStringToSet(ax_dataSet *set, char *diName, char *value);
AxedaCorp 0:65004368569c 40 int ax_data_addAnalogToSet(ax_dataSet *set, char *diName, double value);
AxedaCorp 0:65004368569c 41 int ax_data_addDigitalToSet(ax_dataSet *set, char *diName, double value);
AxedaCorp 0:65004368569c 42 int ax_data_destroySet(ax_dataSet *set);
AxedaCorp 0:65004368569c 43
AxedaCorp 0:65004368569c 44 int ax_pkg_createPackageInstruction(ax_package_instruction *package, int instruction_type, char *file_id, char *path, char *filename);
AxedaCorp 0:65004368569c 45 int ax_pkg_createPackage(ax_package *package, char *pkgID, int time, int priority);
AxedaCorp 0:65004368569c 46 int ax_pkg_addDLInstruction(ax_package *pkg, char *file_id, char *path, char *filename);
AxedaCorp 0:65004368569c 47 int ax_pkg_destroyPackage(ax_package *pkg);
AxedaCorp 0:65004368569c 48
AxedaCorp 0:65004368569c 49 #ifdef __cplusplus
AxedaCorp 0:65004368569c 50 }
AxedaCorp 0:65004368569c 51 #endif
AxedaCorp 0:65004368569c 52 #endif
AxedaCorp 0:65004368569c 53