A library for talking to Multi-Tech's Cellular SocketModem Devices.

Dependents:   M2X_dev axeda_wrapper_dev MTS_M2x_Example1 MTS_Cellular_Connect_Example ... more

Committer:
jengbrecht
Date:
Mon Dec 09 15:29:35 2013 +0000
Revision:
0:563b70517320
Child:
1:f641337952a9
Initial Commit Library!

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jengbrecht 0:563b70517320 1 #ifndef VARS_H
jengbrecht 0:563b70517320 2 #define VARS_H
jengbrecht 0:563b70517320 3
jengbrecht 0:563b70517320 4 #include <string>
jengbrecht 0:563b70517320 5
jengbrecht 0:563b70517320 6 // An array of strings for printing the names of the Radio enum.
jengbrecht 0:563b70517320 7 const string RadioNames[] = {"NA", "E1", "G2", "EV2", "H4", "EV3", "H5"};
jengbrecht 0:563b70517320 8
jengbrecht 0:563b70517320 9 /** This class holds several enum types and other static variables
jengbrecht 0:563b70517320 10 * that are used throughout the rest of the SDK.
jengbrecht 0:563b70517320 11 */
jengbrecht 0:563b70517320 12 class Vars
jengbrecht 0:563b70517320 13 {
jengbrecht 0:563b70517320 14 public:
jengbrecht 0:563b70517320 15 /// Enumeration for different cellular radio types.
jengbrecht 0:563b70517320 16 enum Radio {NA, E1, G2, EV2, H4, EV3, H5};
jengbrecht 0:563b70517320 17
jengbrecht 0:563b70517320 18 enum RelationalOperator {GREATER, LESS, EQUAL, GREATER_EQUAL, LESS_EQUAL};
jengbrecht 0:563b70517320 19 };
jengbrecht 0:563b70517320 20
jengbrecht 0:563b70517320 21 #endif /* VARS_H */