User manual
4.2.3.2 Konstanten
Returncodes für allgemeine Zwecke
OK = 0,
ERROR = -1,
ERROR_PARAM = -2, // Parameter error
ERROR_UNKNOWN_HDL = -3, // Unknown handler, handle or resource error
ERROR_ALREADY_SUBSCRIBED = -4, // Already subscribed service or resource error
ERROR_NOT_SUBSCRIBED = -5, // Not subscribed service error
ERROR_FATAL = -6, // Fatal error
ERROR_BAD_HDL = -7, // Bad handle or resource error
ERROR_BAD_STATE = -8, // Bad state error
ERROR_PIN_KO = -9, // Bad PIN state error
ERROR_NO_MORE_HANDLES = -10, /* The service subscription maximum capacity is
reached */
ERROR_DONE = -11, /* The required iterative process is now
terminated */
ERROR_OVERFLOW = -12, /* The required operation has exceeded the
function capabilities */
ERROR_NOT_SUPPORTED = -13, /* An option, required by the function, is not
enabled on the CPU, the function is not
supported in this configuration */
ERROR_NO_MORE_TIMERS = -14, /* The function requires a timer subscription,
but no more timer resources are available */
ERROR_NO_MORE_SEMAPHORES = -15, /* The function requires a semaphore allocation,
but there are no more semaphore resources */
ERROR_SERVICE_LOCKED = -16, /* The function was called from a low or high
level interrupt handler (the function is
forbidden in this case) */
ERROR_MEM = -100,// error allocating memory
ERROR_SIM_STATE = -101,// SIM state error
SIM-Status
//Verbindung kann per Script ausgelöst werden
RM2M_SIM_STATE_NONE = 0, //Initialzustand
RM2M_SIM_STATE_PRODUCTION = 1, //Neu produziertes Gerät liegt auf Lager
RM2M_SIM_STATE_HOT = 2, //Gültiger Vertrag
//Auslösen der Verbindung per Script nicht möglich
RM2M_SIM_STATE_COLD = 3, //Vertragsende oder Fair-Use Verletzung
RM2M_SIM_STATE_DISCARDED = 4, //Gerät wurde außer Dienst gestellt
Einstellung der Signalrichtung der GPIOs
RM2M_GPIO_INPUT = 0, // Eingang
RM2M_GPIO_OUTPUT = 1, // Ausgang
32 Rev. 01