Asterisk - The Open Source Telephony Project  21.4.1
Data Structures | Data Fields
mbl_pvt Struct Reference

Data Structures

struct  msg_queue
 

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
 
struct ast_smootherbt_in_smoother
 
struct ast_smootherbt_out_smoother
 
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
 
int timeout
 
enum mbl_type type
 

Detailed Description

Definition at line 118 of file chan_mobile.c.

Field Documentation

unsigned int answered

we sent/received an answer

Definition at line 160 of file chan_mobile.c.

Referenced by handle_response_ciev().

unsigned int connected

do we have an rfcomm connection to a device

Definition at line 161 of file chan_mobile.c.

struct hfp_pvt* hfp
unsigned int incoming

incoming call

Definition at line 154 of file chan_mobile.c.

Referenced by handle_response_ciev().

unsigned int incoming_sms

outgoing sms

Definition at line 156 of file chan_mobile.c.

Referenced by handle_response_cmgr(), handle_response_cmti(), and handle_response_error().

pvt lock

Definition at line 121 of file chan_mobile.c.

Referenced by mbl_load_device(), and sco_accept().

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.

unsigned int outgoing

outgoing call

Definition at line 153 of file chan_mobile.c.

Referenced by handle_response_ciev(), and handle_response_ok().

unsigned int outgoing_sms

outgoing sms

Definition at line 155 of file chan_mobile.c.

Referenced by handle_response_error(), and handle_response_ok().

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 handle_response_error(), handle_response_ok(), and mbl_load_device().


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