Axeda demo software for u-blox C027 (GSM)

Dependencies:   mbed

Committer:
AxedaCorp
Date:
Mon Aug 11 19:02:42 2014 +0000
Revision:
0:a725e8eab383
1st commit

Who changed what in which revision?

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