view cdg211/cdginc/p_gmmsm.val @ 632:d968a3216ba0

new tangomdm build target TCS211/Magnetite built for target leonardo runs just fine on the Tango-based Caramel board, but a more proper tangomdm build target is preferable in order to better market these Tango modems to prospective commercial customers. The only differences are in GPIO and MCSI config: * MCSI is enabled in the tangomdm build config. * GPIO 1 is loudspeaker amplifier control on Leonardo, but on Tango platforms it can be used for anything. On Caramel boards this GPIO should be configured as an output driving high. * GPIO 2 needs to be configured as Calypso input on Leonardo, but on Tango platforms it can be used for anything. On Caramel boards this GPIO should be configured as an output, either high or low is OK.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 04 Jan 2020 19:27:41 +0000
parents 56abf6cf8a0b
children
line wrap: on
line source

/*
+--------------------------------------------------------------------------+
| PROJECT : PROTOCOL STACK                                                 |
| FILE    : p_gmmsm.val                                                    |
| SOURCE  : "__out__\g23m_dfile\prim\gmmsm.pdf"                            |
| LastModified : "2003-01-23"                                              |
| IdAndVersion : "8441.106.00.005"                                         |
| SrcFileTime  : "Mon Nov 24 15:49:28 2003"                                |
| Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:15 2007                    |
|           !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!!                |
+--------------------------------------------------------------------------+
*/

/* PRAGMAS
 * PREFIX                 : NONE
 * COMPATIBILITY_DEFINES  : NO (require PREFIX)
 * ALWAYS_ENUM_IN_VAL_FILE: NO
 * ENABLE_GROUP: NO
 * CAPITALIZE_TYPENAME: NO
 */


#ifndef P_GMMSM_VAL
#define P_GMMSM_VAL


#define CDG_ENTER__P_GMMSM_VAL

#define CDG_ENTER__FILENAME _P_GMMSM_VAL
#define CDG_ENTER__P_GMMSM_VAL__FILE_TYPE CDGINC
#define CDG_ENTER__P_GMMSM_VAL__LAST_MODIFIED _2003_01_23
#define CDG_ENTER__P_GMMSM_VAL__ID_AND_VERSION _8441_106_00_005

#define CDG_ENTER__P_GMMSM_VAL__SRC_FILE_TIME _Mon_Nov_24_15_49_28_2003

#include "CDG_ENTER.h"

#undef CDG_ENTER__P_GMMSM_VAL

#undef CDG_ENTER__FILENAME


/*
 * Value constants for VAL_sm_cause
 */
#define VAL_SM_CAUSE___DEF             (0x0)      /* Protocol error, unspecified    */
#define SM_ERRCS_IMSI_UNKNOWN          (0xa02)    /* IMSI unknown in HLR            */
#define SM_ERRCS_ILLEGAL_MS            (0xa03)    /* Illegal MS                     */
#define SM_ERRCS_IMEI_NOT_ACCEPTED     (0xa04)    /* IMEI not accepted              */
#define SM_ERRCS_ILLEGAL_ME            (0xa06)    /* Illegal ME                     */
#define SM_ERRCS_GPRS_NOT_ALLOWED      (0xa07)    /* GPRS services not allowed      */
#define SM_ERRCS_GSM_GPRS_NOT_ALLOWED  (0xa08)    /* GPRS services and non-GPRS services not allowed */
#define SM_ERRCS_NO_MS_ID              (0xa09)    /* MS identity cannot be derived by the network */
#define SM_ERRCS_IMPLICIT_DETACHED     (0xa0a)    /* Implicitly detached            */
#define SM_ERRCS_PLMN_NOT_ALLOWED      (0xa0b)    /* PLMN not allowed               */
#define SM_ERRCS_LA_NOT_ALLOWED        (0xa0c)    /* Location Area not allowed      */
#define SM_ERRCS_ROAMING_NOT_ALLOWED   (0xa0d)    /* Roaming not allowed in this location area */
#define SM_ERRCS_MSC_TEMP_NOT_RECHABLE (0xa10)    /* MSC temporarily not reachable  */
#define SM_ERRCS_NET_FAIL              (0xa11)    /* Network failure                */
#define SM_ERRCS_CONGESTION            (0xa16)    /* Congestion                     */
#define SM_ERRCS_SEMANTIC_INCORRECT    (0xa5f)    /* Semantically incorrect message */
#define SM_ERRCS_INVALID_M_INFO        (0xa60)    /* Invalid mandatory information  */
#define SM_ERRCS_TYPE_INVALID          (0xa61)    /* Message type non-existent or not implemented */
#define SM_ERRCS_TYPE_INCOMPATIBLE     (0xa62)    /* Message type not compatible with the protocol state */
#define SM_ERRCS_IE_INVALID            (0xa63)    /* Information element non-existent or not implemented */
#define SM_ERRCS_COND_IE_ERROR         (0xa64)    /* Conditional IE error           */
#define SM_ERRCS_MESSAGE_INVALID       (0xa65)    /* Message not compatible with the protocol state */
#define SM_ERRCS_PROTOCOL_ERROR        (0xa6f)    /* Protocol error, unspecified    */
#define SM_ERRCS_POWER_OFF             (0xa70)    /* local detach on power off      */

/*
 * Value constants for VAL_nsapi
 */
#define VAL_NSAPI___DEF                (0x0)      /* reserved                       */
#define GMMSM_NSAPI_5                  (0x5)      /* NSAPI 5                        */
#define GMMSM_NSAPI_6                  (0x6)      /* NSAPI 6                        */
#define GMMSM_NSAPI_7                  (0x7)      /* NSAPI 7                        */
#define GMMSM_NSAPI_8                  (0x8)      /* NSAPI 8                        */
#define GMMSM_NSAPI_9                  (0x9)      /* NSAPI 9                        */
#define GMMSM_NSAPI_10                 (0xa)      /* NSAPI 10                       */
#define GMMSM_NSAPI_11                 (0xb)      /* NSAPI 11                       */
#define GMMSM_NSAPI_12                 (0xc)      /* NSAPI 12                       */
#define GMMSM_NSAPI_13                 (0xd)      /* NSAPI 13                       */
#define GMMSM_NSAPI_14                 (0xe)      /* NSAPI 14                       */
#define GMMSM_NSAPI_15                 (0xf)      /* NSAPI 15                       */

/*
 * user defined constants
 */
#define GMMSM_MAX_N_PDU_NUMBER_LIST    (0x10)     

#include "CDG_LEAVE.h"


#endif