libosmosim 1.9.0.209-e0c63
Osmocom SIM library
osim_card_sw Struct Reference

A card status word (SW) More...

#include <sim.h>

Data Fields

uint16_t code
 status word code (2 bytes) More...
 
uint16_t mask
 status word mask (2 bytes), to match range/prefix of SW More...
 
enum osim_card_sw_type type
 
enum osim_card_sw_class class
 
union {
   const char *   str
 Human-readable meaning of SW. More...
 
u
 

Detailed Description

A card status word (SW)

Field Documentation

◆ class

enum osim_card_sw_class osim_card_sw::class

Referenced by osim_sw_class().

◆ code

uint16_t osim_card_sw::code

status word code (2 bytes)

◆ mask

uint16_t osim_card_sw::mask

status word mask (2 bytes), to match range/prefix of SW

◆ str

const char* osim_card_sw::str

Human-readable meaning of SW.

Referenced by osim_print_sw_buf().

◆ type

enum osim_card_sw_type osim_card_sw::type

Referenced by osim_print_sw_buf().

◆ 

union { ... } osim_card_sw::u

Referenced by osim_print_sw_buf().


The documentation for this struct was generated from the following file: