Herunterladen Inhalt Inhalt Diese Seite drucken

Compiler-Optionen; Rapidm2M Device Api; Konstanten - Microtronics rapidM2M C32-Serie Benutzerhandbuch

Inhaltsverzeichnis

Werbung

13.2 Compiler-Optionen

Komprimierung des Pawn Programmcodes
// Über den Parameter wird angegeben welche der Sektionen komprimiert werden
// sollen
// 0: keine Komprimierung (default)
// 1: DATA
// 2: DATA und CODE
// 3: DATA, CODE und TABELS
#pragma amxcompress <0-3>

13.3 rapidM2M Device API

13.3.1 Konstanten

Returncodes für allgemeine Zwecke
OK
ERROR
ERROR_PARAM
ERROR_UNKNOWN_HDL
ERROR_ALREADY_SUBSCRIBED = -4,
ERROR_NOT_SUBSCRIBED
ERROR_FATAL
ERROR_BAD_HDL
ERROR_BAD_STATE
ERROR_PIN_KO
ERROR_NO_MORE_HANDLES
ERROR_DONE
ERROR_OVERFLOW
ERROR_NOT_SUPPORTED
ERROR_NO_MORE_TIMERS
ERROR_NO_MORE_SEMAPHORES = -15, /* The function requires a semaphore allocation,
ERROR_SERVICE_LOCKED
ERROR_MEM
ERROR_SIM_STATE
ERROR_MODEM_DISABLED
ERROR_SENSOR_DISABLED
DISABLED)
ERROR_FEATURE_LOCKED
ERROR_TXITF
112
= 0,
= -1,
= -2,
// Parameter error
= -3,
// Unknown handler, handle or resource error
// Already subscribed service or resource error
= -5,
// Not subscribed service error
= -6,
// Fatal error
= -7,
// Bad handle or resource error
= -8,
// Bad state error
= -9,
// Bad PIN state error
= -10, /* The service subscription maximum capacity is
reached */
= -11, /* The required iterative process is now
terminated */
= -12, /* The required operation has exceeded the
function capabilities */
= -13, /* An option, required by the function, is not
enabled on the CPU, the function is not
supported in this configuration */
= -14, /* The function requires a timer subscription,
but no more timer resources are available */
but there are no more semaphore resources */
= -16, /* The function was called from a low or high
level interrupt handler (the function is
forbidden in this case) */
= -100,// error allocating memory
= -101,// SIM state error
= -102,// Modem disabled
= -102,// Sensor disabled (Alias for ERROR_MODEM_
= -103,// feature locked
= -104,/* tx interface (uplink) not available
(e.g. not opened, currenly closing) */
Rev. 03

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis