Thu Oct 11 06:50:38 2012

Asterisk developer's documentation


chan_usbradio_pvt Struct Reference

Collaboration diagram for chan_usbradio_pvt:

Collaboration graph
[legend]

Public Types

enum  { M_UNSET, M_FULL, M_READ, M_WRITE }

Data Fields

char area
int autoanswer
int autohangup
struct {
   unsigned   dcsrxpolarity:1
   unsigned   dcstxpolarity:1
   unsigned   loopback:1
   unsigned   lsdrxpolarity:1
   unsigned   lsdtxpolarity:1
   unsigned   radioactive:1
   unsigned   remoted:1
   unsigned   rxcap2:1
   unsigned   rxcapraw:1
   unsigned   rxplmon:1
   unsigned   rxpolarity:1
   unsigned   txcap2:1
   unsigned   txcapraw:1
   unsigned   txpolarity:1
b
int boost
i16 cdMethod
char cid_name [256]
char cid_num [256]
char ctx [AST_MAX_CONTEXT]
char debuglevel
char devicenum
char devstr [128]
struct ast_dspdsp
enum chan_usbradio_pvt:: { ... }  duplex
unsigned short eeprom [EEPROM_PHYSICAL_LEN]
char eepromctl
ast_mutex_t eepromlock
char ext [AST_MAX_EXTENSION]
unsigned int frags
int hdwtype
int hid_gpio_ctl
int hid_gpio_ctl_loc
int hid_gpio_loc
int hid_io_cor
int hid_io_cor_loc
int hid_io_ctcss
int hid_io_ctcss_loc
int hid_io_ptt
pthread_t hidthread
FILE * hkickhid
int hookstate
int idleinterval
char invertptt
char language [MAX_LANGUAGE]
time_t lasthidtime
struct timeval lastopen
char lastrx
char lasttx
int micmax
char mohinterpret [MAX_MUSICCLASS]
int mute
char * name
struct chan_usbradio_pvtnext
char numrxctcssfreqs
char numtxctcssfreqs
int overridecontext
struct ast_channelowner
t_pmr_chan * pmrChan
int pttkick [2]
unsigned int queuesize
char radioduplex
struct ast_frame read_f
int readerrs
int readpos
char rptnum
int rxboostset
char rxcarrierdetect
char rxcdtype
char rxcpusaver
char * rxctcss [CTCSS_NUM_CODES]
float rxctcssadj
char rxctcssdecode
char rxctcssfreq [32]
char rxctcssfreqs [512]
float rxctcssgain
char rxctcssrelax
int rxdcsdecode
char rxdemod
int rxfreq
float rxgain
char rxhidsq
char rxkeyed
char rxkeytype
int rxlsddecode
int rxmixerset
char rxsdtype
int rxsquelchadj
int rxsqvoxadj
float rxvoiceadj
char set_numrxctcssfreqs
char set_numtxctcssfreqs
char * set_rxctcss
char set_rxctcssfreq [16]
char set_rxctcssfreqs [16]
int set_rxfreq
char * set_txctcss
char set_txctcssdefault [16]
char set_txctcssfreq [16]
char set_txctcssfreqs [16]
int set_txfreq
int sounddev
int spkrmax
int stophid
int total_blocks
int tracelevel
int tracetype
int turnoffs
char txchankey
char txcpusaver
char * txctcss [CTCSS_NUM_CODES]
int txctcssadj
char txctcssdefault [16]
char txctcssfreq [32]
char txctcssfreqs [512]
float txctcssgain
int txfreq
char txkeyed
char txmixa
int txmixaset
char txmixb
int txmixbset
char txprelim
int txsettletime
char txtestkey
char txtoctype
char ukey [48]
struct usb_dev_handle * usb_handle
char usbradio_read_buf [FRAME_SIZE *(2 *12)+AST_FRIENDLY_OFFSET]
char usbradio_read_buf_8k [FRAME_SIZE *2+AST_FRIENDLY_OFFSET]
char usbradio_write_buf [FRAME_SIZE *2 *2 *6]
char usbradio_write_buf_1 [FRAME_SIZE *2 *2 *6]
int usbradio_write_dst
int w_errors
char wanteeprom
int warned

Detailed Description

Definition at line 414 of file chan_usbradio.c.


Member Enumeration Documentation

anonymous enum

Enumerator:
M_UNSET 
M_FULL 
M_READ 
M_WRITE 

Definition at line 435 of file chan_usbradio.c.


Field Documentation

char area

Definition at line 499 of file chan_usbradio.c.

Referenced by store_config().

Definition at line 437 of file chan_usbradio.c.

Referenced by store_config(), and usbradio_hangup().

Definition at line 438 of file chan_usbradio.c.

Referenced by store_config(), and usbradio_hangup().

struct { ... } b

int boost

Definition at line 458 of file chan_usbradio.c.

Referenced by usbradio_read().

i16 cdMethod

Definition at line 436 of file chan_usbradio.c.

char cid_name[256]

Definition at line 476 of file chan_usbradio.c.

Referenced by usbradio_new().

char cid_num[256]

Definition at line 477 of file chan_usbradio.c.

Referenced by usbradio_new().

char ctx[AST_MAX_CONTEXT]

Definition at line 474 of file chan_usbradio.c.

Referenced by store_config().

unsigned dcsrxpolarity

Definition at line 610 of file chan_usbradio.c.

Referenced by store_config().

unsigned dcstxpolarity

Definition at line 609 of file chan_usbradio.c.

Referenced by store_config().

char debuglevel

char devicenum

Definition at line 459 of file chan_usbradio.c.

Referenced by mixer_write(), pmrdump(), setformat(), store_config(), tune_rxinput(), and tune_write().

char devstr[128]

Definition at line 460 of file chan_usbradio.c.

Referenced by find_desc_usb(), hidthread(), pmrdump(), radio_tune(), store_config(), and tune_write().

struct ast_dsp* dsp [read]

Definition at line 523 of file chan_usbradio.c.

Referenced by store_config(), unload_module(), and usbradio_read().

enum { ... } duplex

Referenced by setformat().

unsigned short eeprom[EEPROM_PHYSICAL_LEN]

Definition at line 616 of file chan_usbradio.c.

Referenced by hidthread(), and tune_write().

char eepromctl

Definition at line 617 of file chan_usbradio.c.

Referenced by hidthread(), radio_tune(), store_config(), and tune_write().

Definition at line 618 of file chan_usbradio.c.

Referenced by hidthread(), radio_tune(), store_config(), and tune_write().

char ext[AST_MAX_EXTENSION]

Definition at line 473 of file chan_usbradio.c.

Referenced by store_config().

unsigned int frags

Definition at line 441 of file chan_usbradio.c.

Referenced by setformat(), and store_config().

int hdwtype

Definition at line 590 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and store_config().

Definition at line 591 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and hidthread().

Definition at line 592 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and hidthread().

Definition at line 598 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and hidthread().

Definition at line 593 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and hidthread().

Definition at line 594 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and hidthread().

Definition at line 595 of file chan_usbradio.c.

Referenced by hidhdwconfig().

Definition at line 596 of file chan_usbradio.c.

Referenced by hidhdwconfig().

Definition at line 597 of file chan_usbradio.c.

Referenced by hidhdwconfig(), and hidthread().

pthread_t hidthread

Definition at line 467 of file chan_usbradio.c.

Referenced by usbradio_call(), and usbradio_hangup().

FILE* hkickhid

Definition at line 470 of file chan_usbradio.c.

int hookstate

Definition at line 439 of file chan_usbradio.c.

Referenced by usbradio_hangup().

Definition at line 501 of file chan_usbradio.c.

Referenced by store_config().

char invertptt

Definition at line 543 of file chan_usbradio.c.

Referenced by hidthread(), and store_config().

char language[MAX_LANGUAGE]

Definition at line 475 of file chan_usbradio.c.

Referenced by store_config(), and usbradio_new().

time_t lasthidtime

Definition at line 522 of file chan_usbradio.c.

Referenced by hidthread(), usbradio_call(), and usbradio_read().

struct timeval lastopen [read]

Definition at line 448 of file chan_usbradio.c.

Referenced by setformat(), and store_config().

char lastrx

Definition at line 506 of file chan_usbradio.c.

Referenced by usbradio_read().

char lasttx

Definition at line 517 of file chan_usbradio.c.

Referenced by hidthread().

unsigned loopback

Definition at line 613 of file chan_usbradio.c.

Referenced by store_config().

unsigned lsdrxpolarity

Definition at line 612 of file chan_usbradio.c.

Referenced by store_config().

unsigned lsdtxpolarity

Definition at line 611 of file chan_usbradio.c.

Referenced by store_config().

int micmax

Definition at line 462 of file chan_usbradio.c.

Referenced by mixer_write(), pmrdump(), store_config(), and tune_rxinput().

char mohinterpret[MAX_MUSICCLASS]

Definition at line 478 of file chan_usbradio.c.

Referenced by store_config(), and usbradio_indicate().

int mute

Definition at line 451 of file chan_usbradio.c.

Referenced by usbradio_read().

char* name

struct chan_usbradio_pvt* next [read]

Definition at line 415 of file chan_usbradio.c.

Referenced by find_desc(), find_desc_usb(), radio_active(), store_config(), and unload_module().

Definition at line 555 of file chan_usbradio.c.

Referenced by pmrdump().

Definition at line 556 of file chan_usbradio.c.

Definition at line 450 of file chan_usbradio.c.

Referenced by store_config().

struct ast_channel* owner [read]

t_pmr_chan* pmrChan

int pttkick[2]

Definition at line 432 of file chan_usbradio.c.

Referenced by hidthread(), and kickptt().

unsigned int queuesize

Definition at line 440 of file chan_usbradio.c.

Referenced by soundcard_writeframe(), and store_config().

unsigned radioactive

Definition at line 614 of file chan_usbradio.c.

Referenced by store_config().

Definition at line 494 of file chan_usbradio.c.

Referenced by store_config(), and usbradio_read().

struct ast_frame read_f [read]

Definition at line 491 of file chan_usbradio.c.

Referenced by usbradio_read().

int readerrs

Definition at line 621 of file chan_usbradio.c.

Referenced by usbradio_read().

int readpos

Definition at line 490 of file chan_usbradio.c.

Referenced by usbradio_read().

unsigned remoted

Definition at line 606 of file chan_usbradio.c.

Referenced by usbradio_request(), usbradio_text(), and xpmr_config().

char rptnum

Definition at line 500 of file chan_usbradio.c.

Referenced by store_config().

Definition at line 583 of file chan_usbradio.c.

Referenced by mixer_write(), pmrdump(), store_config(), and tune_rxinput().

unsigned rxcap2

Definition at line 604 of file chan_usbradio.c.

Referenced by radio_tune(), and usbradio_read().

unsigned rxcapraw

Definition at line 601 of file chan_usbradio.c.

Referenced by radio_tune(), and usbradio_read().

Definition at line 508 of file chan_usbradio.c.

Referenced by usbradio_read().

char rxcdtype

Definition at line 532 of file chan_usbradio.c.

Referenced by pmrdump(), store_config(), store_rxcdtype(), tune_rxinput(), and usbradio_read().

char rxcpusaver

Definition at line 527 of file chan_usbradio.c.

Referenced by store_config().

char* rxctcss[CTCSS_NUM_CODES]

Definition at line 558 of file chan_usbradio.c.

Referenced by pmrdump().

float rxctcssadj

Definition at line 509 of file chan_usbradio.c.

Referenced by usbradio_read().

char rxctcssfreq[32]

Definition at line 553 of file chan_usbradio.c.

Referenced by usbradio_read().

char rxctcssfreqs[512]

Definition at line 549 of file chan_usbradio.c.

Referenced by store_config(), and xpmr_config().

float rxctcssgain

Definition at line 546 of file chan_usbradio.c.

Definition at line 545 of file chan_usbradio.c.

Referenced by store_config(), and xpmr_config().

Definition at line 511 of file chan_usbradio.c.

Referenced by usbradio_read().

char rxdemod

Definition at line 530 of file chan_usbradio.c.

Referenced by pmrdump(), store_config(), store_rxdemod(), and tune_rxinput().

int rxfreq

Definition at line 562 of file chan_usbradio.c.

Referenced by store_config(), and xpmr_config().

float rxgain

Definition at line 531 of file chan_usbradio.c.

Referenced by store_rxgain().

char rxhidsq

Definition at line 507 of file chan_usbradio.c.

Referenced by hidthread(), and usbradio_read().

char rxkeyed

Definition at line 515 of file chan_usbradio.c.

Referenced by usbradio_read().

char rxkeytype

Definition at line 514 of file chan_usbradio.c.

Definition at line 512 of file chan_usbradio.c.

Referenced by usbradio_read().

Definition at line 582 of file chan_usbradio.c.

Referenced by hidthread(), mixer_write(), pmrdump(), store_config(), tune_rxinput(), and tune_write().

unsigned rxplmon

Definition at line 605 of file chan_usbradio.c.

unsigned rxpolarity

Definition at line 608 of file chan_usbradio.c.

Referenced by pmrdump(), and store_config().

char rxsdtype

Definition at line 533 of file chan_usbradio.c.

Referenced by pmrdump(), and store_rxsdtype().

Definition at line 534 of file chan_usbradio.c.

Referenced by hidthread(), pmrdump(), radio_tune(), store_config(), and tune_write().

Definition at line 535 of file chan_usbradio.c.

Referenced by store_config().

float rxvoiceadj

Definition at line 569 of file chan_usbradio.c.

Definition at line 570 of file chan_usbradio.c.

char* set_rxctcss

Definition at line 575 of file chan_usbradio.c.

char set_rxctcssfreq[16]

Definition at line 567 of file chan_usbradio.c.

char set_rxctcssfreqs[16]

Definition at line 572 of file chan_usbradio.c.

Referenced by usbradio_text(), and xpmr_config().

Definition at line 579 of file chan_usbradio.c.

Referenced by usbradio_text(), and xpmr_config().

char* set_txctcss

Definition at line 576 of file chan_usbradio.c.

Definition at line 565 of file chan_usbradio.c.

Referenced by xpmr_config().

char set_txctcssfreq[16]

Definition at line 566 of file chan_usbradio.c.

char set_txctcssfreqs[16]

Definition at line 573 of file chan_usbradio.c.

Referenced by usbradio_text(), and xpmr_config().

Definition at line 578 of file chan_usbradio.c.

Referenced by usbradio_text(), and xpmr_config().

int sounddev

int spkrmax

Definition at line 461 of file chan_usbradio.c.

Referenced by mixer_write(), pmrdump(), and store_config().

int stophid

Definition at line 469 of file chan_usbradio.c.

Referenced by hidthread(), usbradio_call(), and usbradio_hangup().

Definition at line 433 of file chan_usbradio.c.

Referenced by used_blocks().

Definition at line 498 of file chan_usbradio.c.

Referenced by store_config().

int tracetype

Definition at line 497 of file chan_usbradio.c.

Referenced by store_config().

int turnoffs

Definition at line 502 of file chan_usbradio.c.

Referenced by store_config().

unsigned txcap2

Definition at line 603 of file chan_usbradio.c.

Referenced by radio_tune(), and usbradio_read().

unsigned txcapraw

Definition at line 602 of file chan_usbradio.c.

Referenced by radio_tune(), and usbradio_write().

char txchankey

Definition at line 519 of file chan_usbradio.c.

char txcpusaver

Definition at line 528 of file chan_usbradio.c.

Referenced by store_config().

char* txctcss[CTCSS_NUM_CODES]

Definition at line 559 of file chan_usbradio.c.

Referenced by pmrdump().

Definition at line 588 of file chan_usbradio.c.

Referenced by hidthread(), radio_tune(), set_txctcss_level(), store_config(), and tune_write().

char txctcssdefault[16]

Definition at line 548 of file chan_usbradio.c.

Referenced by pmrdump(), store_config(), and xpmr_config().

char txctcssfreq[32]

Definition at line 552 of file chan_usbradio.c.

Referenced by pmrdump(), and store_config().

char txctcssfreqs[512]

Definition at line 550 of file chan_usbradio.c.

Referenced by store_config(), and xpmr_config().

float txctcssgain

Definition at line 539 of file chan_usbradio.c.

int txfreq

Definition at line 561 of file chan_usbradio.c.

Referenced by store_config(), and xpmr_config().

char txkeyed

Definition at line 518 of file chan_usbradio.c.

Referenced by usbradio_indicate(), usbradio_read(), and usbradio_write().

char txmixa

Definition at line 540 of file chan_usbradio.c.

Referenced by pmrdump(), radio_tune(), set_txctcss_level(), store_config(), and store_txmixa().

int txmixaset

char txmixb

Definition at line 541 of file chan_usbradio.c.

Referenced by pmrdump(), radio_tune(), set_txctcss_level(), store_config(), and store_txmixb().

int txmixbset

unsigned txpolarity

Definition at line 607 of file chan_usbradio.c.

Referenced by pmrdump(), and store_config().

char txprelim

Definition at line 538 of file chan_usbradio.c.

Referenced by pmrdump(), and store_config().

Definition at line 503 of file chan_usbradio.c.

Referenced by store_config().

char txtestkey

Definition at line 520 of file chan_usbradio.c.

Referenced by console_key(), console_unkey(), radio_tune(), tune_txoutput(), and usbradio_read().

char txtoctype

Definition at line 536 of file chan_usbradio.c.

Referenced by pmrdump(), store_config(), and store_txtoctype().

char ukey[48]

Definition at line 504 of file chan_usbradio.c.

Referenced by store_config().

struct usb_dev_handle* usb_handle [read]

Definition at line 620 of file chan_usbradio.c.

char usbradio_read_buf[FRAME_SIZE *(2 *12)+AST_FRIENDLY_OFFSET]

Definition at line 488 of file chan_usbradio.c.

Referenced by usbradio_read().

char usbradio_read_buf_8k[FRAME_SIZE *2+AST_FRIENDLY_OFFSET]

Definition at line 489 of file chan_usbradio.c.

Referenced by usbradio_read().

char usbradio_write_buf[FRAME_SIZE *2 *2 *6]

Definition at line 481 of file chan_usbradio.c.

Referenced by usbradio_read().

char usbradio_write_buf_1[FRAME_SIZE *2 *2 *6]

Definition at line 482 of file chan_usbradio.c.

Referenced by usbradio_read().

Definition at line 484 of file chan_usbradio.c.

Referenced by usbradio_read().

int w_errors

Definition at line 447 of file chan_usbradio.c.

Referenced by soundcard_writeframe().

char wanteeprom

Definition at line 495 of file chan_usbradio.c.

Referenced by hidthread(), store_config(), and tune_write().

int warned

Definition at line 443 of file chan_usbradio.c.

Referenced by setformat(), and used_blocks().


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

Generated on Thu Oct 11 06:50:39 2012 for Asterisk - the Open Source PBX by  doxygen 1.5.6