libosmogsm 1.13.1.1-afb4 Osmocom GSM library

Data Structures | Macros | Enumerations | Functions | Variables
gsm_48_049.h File Reference
`#include <stdint.h>`
`#include <osmocom/core/utils.h>`

Go to the source code of this file.

## Data Structures
struct | cbsp_header

## Macros
#define | CBSP_TCP_PORT 48049

## Enumerations
enum | cbsp_iei { CBSP_IEI_MSG_CONTENT = 0x01 , CBSP_IEI_OLD_SERIAL_NR = 0x02 , CBSP_IEI_NEW_SERIAL_NR = 0x03 , CBSP_IEI_CELL_LIST = 0x04 , CBSP_IEI_CATEGORY = 0x05 , CBSP_IEI_REP_PERIOD = 0x06 , CBSP_IEI_NUM_BCAST_REQ = 0x07 , CBSP_IEI_NUM_BCAST_COMPL_LIST = 0x08 , CBSP_IEI_FAILURE_LIST = 0x09 , CBSP_IEI_RR_LOADING_LIST = 0x0a , CBSP_IEI_CAUSE = 0x0b , CBSP_IEI_DCS = 0x0c , CBSP_IEI_RECOVERY_IND = 0x0d , CBSP_IEI_MSG_ID = 0x0e , CBSP_IEI_EMERG_IND = 0x0f , CBSP_IEI_WARN_TYPE = 0x10 , CBSP_IEI_WARN_SEC_INFO = 0x11 , CBSP_IEI_CHANNEL_IND = 0x12 , CBSP_IEI_NUM_OF_PAGES = 0x13 , CBSP_IEI_SCHEDULE_PERIOD = 0x14 , CBSP_IEI_NUM_OF_RES_SLOTS = 0x15 , CBSP_IEI_BCAST_MSG_TYPE = 0x16 , CBSP_IEI_WARNING_PERIOD = 0x17 , CBSP_IEI_KEEP_ALIVE_REP_PERIOD = 0x18 }
enum | cbsp_msg_type { CBSP_MSGT_WRITE_REPLACE = 0x01 , CBSP_MSGT_WRITE_REPLACE_COMPL = 0x02 , CBSP_MSGT_WRITE_REPLACE_FAIL = 0x03 , CBSP_MSGT_KILL = 0x04 , CBSP_MSGT_KILL_COMPL = 0x05 , CBSP_MSGT_KILL_FAIL = 0x06 , CBSP_MSGT_LOAD_QUERY = 0x07 , CBSP_MSGT_LOAD_QUERY_COMPL = 0x08 , CBSP_MSGT_LOAD_QUERY_FAIL = 0x09 , CBSP_MSGT_MSG_STATUS_QUERY = 0x0a , CBSP_MSGT_MSG_STATUS_QUERY_COMPL = 0x0b , CBSP_MSGT_MSG_STATUS_QUERY_FAIL = 0x0c , CBSP_MSGT_SET_DRX = 0x0d , CBSP_MSGT_SET_DRX_COMPL = 0x0e , CBSP_MSGT_SET_DRX_FAIL = 0x0f , CBSP_MSGT_RESET = 0x10 , CBSP_MSGT_RESET_COMPL = 0x11 , CBSP_MSGT_RESET_FAIL = 0x12 , CBSP_MSGT_RESTART = 0x13 , CBSP_MSGT_FAILURE = 0x14 , CBSP_MSGT_ERROR_IND = 0x15 , CBSP_MSGT_KEEP_ALIVE = 0x16 , CBSP_MSGT_KEEP_ALIVE_COMPL = 0x17 }
enum | cbsp_category { CBSP_CATEG_HIGH_PRIO = 0x00 , CBSP_CATEG_BACKGROUND = 0x01 , CBSP_CATEG_NORMAL = 0x02 }
enum | cbsp_cell_id_disc { CBSP_CIDD_WHOLE_CGI = 0x0 , CBSP_CIDD_LAC_CI = 0x1 , CBSP_CIDD_CI = 0x2 , CBSP_CIDD_LAI = 0x4 , CBSP_CIDD_LAC = 0x5 , CBSP_CIDD_ALL_IN_BSC = 0x6 }
enum | cbsp_cell_id_cause { CBSP_CAUSE_PARAM_NOT_RECOGNISED = 0x00 , CBSP_CAUSE_PARAM_VAL_INVALID = 0x01 , CBSP_CAUSE_MSG_REF_NOT_IDENTIFIED = 0x02 , CBSP_CAUSE_CELL_ID_NOT_VALID = 0x03 , CBSP_CAUSE_UNRECOGNISED_MSG = 0x04 , CBSP_CAUSE_MISSING_MAND_IE = 0x05 , CBSP_CAUSE_BSC_CAPACITY_EXCEEDED = 0x06 , CBSP_CAUSE_CELL_MEMORY_EXCEEDED = 0x07 , CBSP_CAUSE_BSC_MEMORY_EXCEEDED = 0x08 , CBSP_CAUSE_CB_NOT_SUPPORTED = 0x09 , CBSP_CAUSE_CB_NOT_OPERATIONAL = 0x0a , CBSP_CAUSE_INCOMPATIBLE_DRX_PARAM = 0x0b , CBSP_CAUSE_EXT_CHAN_NOT_SUPPORTED = 0x0c , CBSP_CAUSE_MSG_REF_ALREADY_USED = 0x0d , CBSP_CAUSE_UNSPECIFIED_ERROR = 0x0e , CBSP_CAUSE_LAI_OR_LAC_NPT_VALID = 0x0f }
enum | cbsp_channel_ind { CBSP_CHAN_IND_BASIC = 0 , CBSP_CHAN_IND_EXTENDED = 1 }

## Functions
struct cbsp_header | __attribute__ ((packed))

## Variables
uint8_t | msg_type
uint8_t | len [3]
const struct value_string | cbsp_msg_type_names []
const struct value_string | cbsp_iei_names []
const struct value_string | cbsp_category_names []
const struct tlv_definition | cbsp_att_tlvdef

## Macro Definition Documentation

## ◆ CBSP_TCP_PORT

#define CBSP_TCP_PORT 48049

## Enumeration Type Documentation

## ◆ cbsp_category

enum cbsp_category

Enumerator
CBSP_CATEG_HIGH_PRIO |
CBSP_CATEG_BACKGROUND |
CBSP_CATEG_NORMAL |

## ◆ cbsp_cell_id_cause

enum cbsp_cell_id_cause

Enumerator
CBSP_CAUSE_PARAM_NOT_RECOGNISED |
CBSP_CAUSE_PARAM_VAL_INVALID |
CBSP_CAUSE_MSG_REF_NOT_IDENTIFIED |
CBSP_CAUSE_CELL_ID_NOT_VALID |
CBSP_CAUSE_UNRECOGNISED_MSG |
CBSP_CAUSE_MISSING_MAND_IE |
CBSP_CAUSE_BSC_CAPACITY_EXCEEDED |
CBSP_CAUSE_CELL_MEMORY_EXCEEDED |
CBSP_CAUSE_BSC_MEMORY_EXCEEDED |
CBSP_CAUSE_CB_NOT_SUPPORTED |
CBSP_CAUSE_CB_NOT_OPERATIONAL |
CBSP_CAUSE_INCOMPATIBLE_DRX_PARAM |
CBSP_CAUSE_EXT_CHAN_NOT_SUPPORTED |
CBSP_CAUSE_MSG_REF_ALREADY_USED |
CBSP_CAUSE_UNSPECIFIED_ERROR |
CBSP_CAUSE_LAI_OR_LAC_NPT_VALID |

## ◆ cbsp_cell_id_disc

enum cbsp_cell_id_disc

Enumerator
CBSP_CIDD_WHOLE_CGI |
CBSP_CIDD_LAC_CI |
CBSP_CIDD_CI |
CBSP_CIDD_LAI |
CBSP_CIDD_LAC |
CBSP_CIDD_ALL_IN_BSC |

## ◆ cbsp_channel_ind

enum cbsp_channel_ind

Enumerator
CBSP_CHAN_IND_BASIC |
CBSP_CHAN_IND_EXTENDED |

## ◆ cbsp_iei

enum cbsp_iei

Enumerator
CBSP_IEI_MSG_CONTENT |
CBSP_IEI_OLD_SERIAL_NR |
CBSP_IEI_NEW_SERIAL_NR |
CBSP_IEI_CELL_LIST |
CBSP_IEI_CATEGORY |
CBSP_IEI_REP_PERIOD |
CBSP_IEI_NUM_BCAST_REQ |
CBSP_IEI_NUM_BCAST_COMPL_LIST |
CBSP_IEI_FAILURE_LIST |
CBSP_IEI_RR_LOADING_LIST |
CBSP_IEI_CAUSE |
CBSP_IEI_DCS |
CBSP_IEI_RECOVERY_IND |
CBSP_IEI_MSG_ID |
CBSP_IEI_EMERG_IND |
CBSP_IEI_WARN_TYPE |
CBSP_IEI_WARN_SEC_INFO |
CBSP_IEI_CHANNEL_IND |
CBSP_IEI_NUM_OF_PAGES |
CBSP_IEI_SCHEDULE_PERIOD |
CBSP_IEI_NUM_OF_RES_SLOTS |
CBSP_IEI_BCAST_MSG_TYPE |
CBSP_IEI_WARNING_PERIOD |
CBSP_IEI_KEEP_ALIVE_REP_PERIOD |

## ◆ cbsp_msg_type

enum cbsp_msg_type

Enumerator
CBSP_MSGT_WRITE_REPLACE |
CBSP_MSGT_WRITE_REPLACE_COMPL |
CBSP_MSGT_WRITE_REPLACE_FAIL |
CBSP_MSGT_KILL |
CBSP_MSGT_KILL_COMPL |
CBSP_MSGT_KILL_FAIL |
CBSP_MSGT_LOAD_QUERY |
CBSP_MSGT_LOAD_QUERY_COMPL |
CBSP_MSGT_LOAD_QUERY_FAIL |
CBSP_MSGT_MSG_STATUS_QUERY |
CBSP_MSGT_MSG_STATUS_QUERY_COMPL |
CBSP_MSGT_MSG_STATUS_QUERY_FAIL |
CBSP_MSGT_SET_DRX |
CBSP_MSGT_SET_DRX_COMPL |
CBSP_MSGT_SET_DRX_FAIL |
CBSP_MSGT_RESET |
CBSP_MSGT_RESET_COMPL |
CBSP_MSGT_RESET_FAIL |
CBSP_MSGT_RESTART |
CBSP_MSGT_FAILURE |
CBSP_MSGT_ERROR_IND |
CBSP_MSGT_KEEP_ALIVE |
CBSP_MSGT_KEEP_ALIVE_COMPL |

## Variable Documentation

## ◆ cbsp_att_tlvdef

const struct tlv_definition cbsp_att_tlvdef
| extern

Referenced by osmo_cbsp_decode().

## ◆ cbsp_category_names

const struct value_string cbsp_category_names[]
| extern

## ◆ cbsp_iei_names

const struct value_string cbsp_iei_names[]
| extern

## ◆ cbsp_msg_type_names

const struct value_string cbsp_msg_type_names[]
| extern

## ◆ len

uint8_t len[3]

## ◆ msg_type

uint8_t msg_type