libnrsc5 5032de3
NRSC-5 digital radio via the RTL-SDR
|
#include <nrsc5.h>
Data Fields | |
struct nrsc5_sig_service_t * | next |
uint8_t | type |
uint16_t | number |
const char * | name |
nrsc5_sig_component_t * | components |
nrsc5_sig_component_t * | audio_component |
Represents Station Information Guide (SIG) records
Element of a linked list that will accompany an NRSC5_EVENT_SIG type event. Each element describes a channel (audio or data), with a name, e.g. "MPS" is used to indicate main program service, "SPS1" to indicate supplemental program service 1. Each service may include a linked list of type nrsc5_sig_component_t describing its components, which may include both audio and other data.
Note: Stations which have only a single audio program and no data services may not broadcast a SIG table. Applications should not assume that a SIG table will be present. Information about audio services can be obtained from PDU headers (reported in NRSC5_EVENT_AUDIO_SERVICE events) instead.
nrsc5_sig_component_t* nrsc5_sig_service_t::audio_component |
Direct link to the audio component of an audio service, or NULL for a data service
nrsc5_sig_component_t* nrsc5_sig_service_t::components |
Head of linked list of components
const char* nrsc5_sig_service_t::name |
Channel name, e.g. "MPS" or "SPS1"
struct nrsc5_sig_service_t* nrsc5_sig_service_t::next |
Pointer to next element or NULL
uint16_t nrsc5_sig_service_t::number |
Channel number: 1,2,3,4
uint8_t nrsc5_sig_service_t::type |
NRSC5_SIG_SERVICE_AUDIO or NRSC5_SIG_SERVICE_DATA