mbl_pvt Struct Reference

Collaboration diagram for mbl_pvt:

Collaboration graph
[legend]

Data Fields

struct adapter_pvtadapter
bdaddr_t addr
int alignment_count
unsigned int alignment_detection_triggered:1
short alignment_samples [4]
unsigned int answered:1
unsigned int blackberry:1
unsigned int connected:1
char context [AST_MAX_CONTEXT]
unsigned int do_alignment_detection:1
struct ast_dspdsp
struct {
   struct mbl_pvt *   next
entry
struct ast_frame fr
int group
int hangupcause
unsigned int has_sms:1
struct hfp_pvthfp
char id [31]
unsigned int incoming:1
unsigned int incoming_sms:1
char io_buf [CHANNEL_FRAME_SIZE+AST_FRIENDLY_OFFSET]
ast_mutex_t lock
pthread_t monitor_thread
struct mbl_pvt::msg_queue msg_queue
unsigned int needcallerid:1
unsigned int needchup:1
unsigned int needring:1
unsigned int no_callsetup:1
unsigned int outgoing:1
unsigned int outgoing_sms:1
struct ast_channelowner
char rfcomm_buf [256]
int rfcomm_port
int rfcomm_socket
int ring_sched_id
struct ast_sched_contextsched
int sco_socket
struct ast_smoothersmoother
int timeout
enum mbl_type type

Data Structures

struct  msg_queue

Detailed Description

Definition at line 119 of file chan_mobile.c.


Field Documentation

struct adapter_pvt* adapter [read]

bdaddr_t addr

Definition at line 146 of file chan_mobile.c.

Referenced by do_alignment_detection(), and mbl_new().

Definition at line 143 of file chan_mobile.c.

Referenced by do_alignment_detection(), and mbl_new().

Definition at line 145 of file chan_mobile.c.

Referenced by do_alignment_detection().

unsigned int answered

we sent/received an answer

Definition at line 160 of file chan_mobile.c.

Referenced by do_monitor_headset(), handle_response_ciev(), mbl_answer(), and mbl_new().

unsigned int blackberry

Definition at line 144 of file chan_mobile.c.

Referenced by do_monitor_phone(), handle_response_ok(), and mbl_load_device().

unsigned int connected

char context[AST_MAX_CONTEXT]

Definition at line 130 of file chan_mobile.c.

Referenced by mbl_load_device(), and mbl_new().

unsigned int do_alignment_detection

Definition at line 142 of file chan_mobile.c.

Referenced by do_alignment_detection(), mbl_new(), and mbl_read().

struct ast_dsp* dsp [read]

Definition at line 148 of file chan_mobile.c.

Referenced by mbl_load_device(), mbl_new(), mbl_read(), and unload_module().

struct { ... } entry

struct ast_frame fr [read]

Definition at line 121 of file chan_mobile.c.

Referenced by mbl_read().

int group

Definition at line 127 of file chan_mobile.c.

Referenced by handle_cli_mobile_show_devices(), mbl_load_device(), and mbl_request().

Definition at line 150 of file chan_mobile.c.

Referenced by handle_response_busy(), mbl_call(), and mbl_queue_hangup().

unsigned int has_sms

struct hfp_pvt* hfp [read]

char id[31]

unsigned int incoming

incoming call

Definition at line 154 of file chan_mobile.c.

Referenced by do_monitor_headset(), handle_response_ciev(), mbl_answer(), and mbl_hangup().

unsigned int incoming_sms

char io_buf[CHANNEL_FRAME_SIZE+AST_FRIENDLY_OFFSET]

Definition at line 135 of file chan_mobile.c.

Referenced by mbl_read().

pthread_t monitor_thread

Definition at line 138 of file chan_mobile.c.

Referenced by mbl_load_device(), start_monitor(), and unload_module().

queue for messages we are expecting

Referenced by mbl_load_device(), msg_queue_head(), msg_queue_pop(), msg_queue_push(), and msg_queue_push_data().

unsigned int needcallerid

we need callerid

Definition at line 157 of file chan_mobile.c.

Referenced by handle_response_ciev(), handle_response_clip(), and handle_response_ring().

unsigned int needchup

unsigned int needring

we need to send a RING

Definition at line 159 of file chan_mobile.c.

Referenced by do_monitor_headset(), headset_send_ring(), mbl_call(), and mbl_hangup().

struct mbl_pvt* next [read]

Definition at line 163 of file chan_mobile.c.

unsigned int no_callsetup

Definition at line 140 of file chan_mobile.c.

Referenced by hfp_parse_cind_test(), and mbl_load_device().

unsigned int outgoing

unsigned int outgoing_sms

struct ast_channel* owner [read]

char rfcomm_buf[256]

Definition at line 134 of file chan_mobile.c.

Definition at line 132 of file chan_mobile.c.

Referenced by do_discovery(), and mbl_load_device().

Definition at line 147 of file chan_mobile.c.

Referenced by mbl_call(), and mbl_load_device().

struct ast_sched_context* sched [read]

Definition at line 149 of file chan_mobile.c.

Referenced by do_monitor_headset(), mbl_call(), mbl_load_device(), and unload_module().

struct ast_smoother* smoother [read]

Definition at line 136 of file chan_mobile.c.

Referenced by mbl_load_device(), mbl_new(), mbl_write(), and unload_module().

int timeout

used to set the timeout for rfcomm data (may be used in the future)

Definition at line 139 of file chan_mobile.c.

Referenced by do_monitor_phone(), handle_response_error(), handle_response_ok(), and mbl_load_device().

enum mbl_type type


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

Generated on Thu Apr 16 06:36:49 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6