libosmogsm  0.11.0-dirty
Osmocom GSM library
include/osmocom/gsm/protocol/gsm_04_12.h File Reference

GSM TS 04.12 definitions for Short Message Service Cell Broadcast. More...

#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  gsm412_block_type
struct  gsm412_sched_msg

Defines

#define GSM412_MSG_LEN   88 /* TS 04.12 Section 3.1 */
#define GSM412_BLOCK_LEN   22 /* TS 04.12 Section 3.1 */
#define GSM412_SEQ_FST_BLOCK   0x0
#define GSM412_SEQ_SND_BLOCK   0x1
#define GSM412_SEQ_TRD_BLOCK   0x2
#define GSM412_SEQ_FTH_BLOCK   0x3
#define GSM412_SEQ_FST_SCHED_BLOCK   0x8
#define GSM412_SEQ_NULL_MSG   0xf

Functions

struct gsm412_block_type __attribute__ ((packed))

Variables

uint8_t seq_nr
uint8_t lb
uint8_t lpd
uint8_t spare
uint8_t beg_slot_nr
uint8_t type
uint8_t end_slot_nr
uint8_t spare1
uint8_t spare2
uint8_t cbsms_msg_map [6]
uint8_t data [0]

Detailed Description

GSM TS 04.12 definitions for Short Message Service Cell Broadcast.


Define Documentation

#define GSM412_BLOCK_LEN   22 /* TS 04.12 Section 3.1 */
#define GSM412_MSG_LEN   88 /* TS 04.12 Section 3.1 */
#define GSM412_SEQ_FST_BLOCK   0x0
#define GSM412_SEQ_FST_SCHED_BLOCK   0x8
#define GSM412_SEQ_FTH_BLOCK   0x3
#define GSM412_SEQ_NULL_MSG   0xf
#define GSM412_SEQ_SND_BLOCK   0x1
#define GSM412_SEQ_TRD_BLOCK   0x2

Function Documentation

struct gsm412_block_type __attribute__ ( (packed)  )

Variable Documentation

uint8_t beg_slot_nr
uint8_t cbsms_msg_map[6]
uint8_t data[0]
uint8_t end_slot_nr
uint8_t lb
uint8_t lpd
uint8_t seq_nr
uint8_t spare
uint8_t spare1
uint8_t spare2
uint8_t type
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines