28#define PBAP_MASK_LEN 8
185#define PBAP_ERROR_OFFSET 0x100
profile_connect_state_t
定义蓝牙协议的连接状态。
Definition bts_br_gap.h:182
pbap_pce_error_code_callback error_code_cb
Definition bts_pbap.h:335
unsigned char * name
Definition bts_pbap.h:140
int pbap_pce_set_phone_book(const bd_addr_t *bd_addr, const unsigned char *name)
设置虚拟文件夹体系结构中的当前文件夹。
unsigned char * search_value
Definition bts_pbap.h:158
unsigned char order
Definition bts_pbap.h:160
pbap_format_vcard_t
PBAP vCard格式取值。
Definition bts_pbap.h:37
unsigned char reset_new_missed_calls
Definition bts_pbap.h:161
int pbap_pce_get_device_connect_state(const bd_addr_t *bd_addr)
查询PBAP client连接状态。
unsigned char vcard_selector_operator
Definition bts_pbap.h:162
pbap_pce_receive_data_callback receive_data_cb
Definition bts_pbap.h:334
int pbap_pce_pull_vcard_entry(const bd_addr_t *bd_addr, const pbap_pce_pull_vcard_entry_param_t *param)
检索特定的vCard。
unsigned char search_property
Definition bts_pbap.h:159
int pbap_pce_connect(const bd_addr_t *bd_addr)
建立与PSE的连接。
unsigned char reset_new_missed_calls
Definition bts_pbap.h:142
void(* pbap_pce_receive_data_callback)(const bd_addr_t *bd_addr, const unsigned char *data, int len)
接收到数据回调函数。
Definition bts_pbap.h:298
pbap_repositories_t
PBAP存储位置。
Definition bts_pbap.h:49
void(* pbap_pce_conn_state_changed_callback)(const bd_addr_t *bd_addr, profile_connect_state_t state)
连接状态变化回调函数。
Definition bts_pbap.h:229
void(* pbap_pce_error_code_callback)(const bd_addr_t *bd_addr, int code)
上报错误码回调函数。
Definition bts_pbap.h:321
int pbap_pce_register_callbacks(pbap_pce_callbacks_t *func)
注册PBAP回调函数。
int pbap_pce_stop_trans(const bd_addr_t *bd_addr)
停止传输。
unsigned char format
Definition bts_pbap.h:141
#define PBAP_ERROR_OFFSET
PBAP错误码偏移。
Definition bts_pbap.h:185
pbap_pce_conn_state_changed_callback state_changed_cb
Definition bts_pbap.h:331
unsigned short max_list_count
Definition bts_pbap.h:138
unsigned short list_offset
Definition bts_pbap.h:139
int pbap_pce_pull_phone_book(const bd_addr_t *bd_addr, const pbap_pce_pull_phone_book_param_t *param)
下载电话簿对象。
#define PBAP_MASK_LEN
PBAP掩码长度。
Definition bts_pbap.h:28
pbap_order_type_t
PBAP排序类型。
Definition bts_pbap.h:62
void(* pbap_pce_trans_complete_callback)(const bd_addr_t *bd_addr)
传输完成回调函数。
Definition bts_pbap.h:273
pbap_property_mask_t
PBAP属性掩码取值。
Definition bts_pbap.h:88
unsigned short list_offset
Definition bts_pbap.h:156
void(* pbap_pce_phone_book_size_callback)(const bd_addr_t *bd_addr, unsigned short size)
电话簿大小回调函数。
Definition bts_pbap.h:252
pbap_error_codes_t
PBAP错误码。
Definition bts_pbap.h:194
unsigned char * name
Definition bts_pbap.h:157
unsigned char format
Definition bts_pbap.h:175
int pbap_pce_disconnect(const bd_addr_t *bd_addr)
建立与PSE的连接。
int pbap_pce_pull_vcard_listing(const bd_addr_t *bd_addr, const pbap_pce_pull_vcard_listing_param_t *param)
检索PSE的电话簿列表对象。
pbap_pce_phone_book_size_callback phone_book_sized_cb
Definition bts_pbap.h:332
unsigned short max_list_count
Definition bts_pbap.h:155
pbap_search_property_t
PBAP搜索属性。
Definition bts_pbap.h:75
unsigned char * name
Definition bts_pbap.h:174
pbap_pce_trans_complete_callback trans_complete_cb
Definition bts_pbap.h:333
unsigned char vcard_selector_operator
Definition bts_pbap.h:143
@ PBAP_FORMAT_VCARD21
Definition bts_pbap.h:38
@ PBAP_FORMAT_VCARD30
Definition bts_pbap.h:39
@ PBAP_REPOSITORY_LOCAL
Definition bts_pbap.h:50
@ PBAP_REPOSITORY_SIM
Definition bts_pbap.h:52
@ PBAP_ORDER_ALPHANUMERIC
Definition bts_pbap.h:64
@ PBAP_ORDER_PHONETIC
Definition bts_pbap.h:65
@ PBAP_ORDER_INDEXED
Definition bts_pbap.h:63
@ PBAP_PROPERTY_MASK_RTY_MASK_RTY_MASK_SORT_STRING
Definition bts_pbap.h:116
@ PBAP_PROPERTY_MASK_ADR
Definition bts_pbap.h:94
@ PBAP_PROPERTY_MASK_ORG
Definition bts_pbap.h:105
@ PBAP_PROPERTY_MASK_EMAIL
Definition bts_pbap.h:97
@ PBAP_PROPERTY_MASK_LOGO
Definition bts_pbap.h:103
@ PBAP_PROPERTY_MASK_TEL
Definition bts_pbap.h:96
@ PBAP_PROPERTY_MASK_TITLE
Definition bts_pbap.h:101
@ PBAP_PROPERTY_MASK_UID
Definition bts_pbap.h:110
@ PBAP_PROPERTY_MASK_LABEL
Definition bts_pbap.h:95
@ PBAP_PROPERTY_MASK_RTY_MASK_ROLE
Definition bts_pbap.h:102
@ PBAP_PROPERTY_MASK_BDAY
Definition bts_pbap.h:93
@ PBAP_PROPERTY_MASK_RTY_MASK_X_BT_UCI
Definition bts_pbap.h:122
@ PBAP_PROPERTY_MASK_URL
Definition bts_pbap.h:109
@ PBAP_PROPERTY_MASK_NOTE
Definition bts_pbap.h:106
@ PBAP_PROPERTY_MASK_RTY_MASK_TZ
Definition bts_pbap.h:99
@ PBAP_PROPERTY_MASK_FILTER
Definition bts_pbap.h:124
@ PBAP_PROPERTY_MASK_NICKNAME
Definition bts_pbap.h:112
@ PBAP_PROPERTY_MASK_KEY
Definition bts_pbap.h:111
@ PBAP_PROPERTY_MASK_PHOTO
Definition bts_pbap.h:92
@ PBAP_PROPERTY_MASK_MAILER
Definition bts_pbap.h:98
@ PBAP_PROPERTY_MASK_RTY_MASK_PROID
Definition bts_pbap.h:114
@ PBAP_PROPERTY_MASK_FN
Definition bts_pbap.h:90
@ PBAP_PROPERTY_MASK_VERSION
Definition bts_pbap.h:89
@ PBAP_PROPERTY_MASK_N
Definition bts_pbap.h:91
@ PBAP_PROPERTY_MASK_RTY_MASK_X_BT_SPEEDDIALKEY
Definition bts_pbap.h:120
@ PBAP_PROPERTY_MASK_CLASS
Definition bts_pbap.h:115
@ PBAP_PROPERTY_MASK_X_BT_UID
Definition bts_pbap.h:123
@ PBAP_PROPERTY_MASK_RTY_MASK_AGENT
Definition bts_pbap.h:104
@ PBAP_PROPERTY_MASK_INVALID
Definition bts_pbap.h:125
@ PBAP_PROPERTY_MASK_GEO
Definition bts_pbap.h:100
@ PBAP_PROPERTY_MASK_REV
Definition bts_pbap.h:107
@ PBAP_PROPERTY_MASK_RTY_MASK_RTY_MASK_CATEGORIES
Definition bts_pbap.h:113
@ PBAP_PROPERTY_MASK_X_IRMC_CALL_DATETIME
Definition bts_pbap.h:118
@ PBAP_PROPERTY_MASK_SOUND
Definition bts_pbap.h:108
@ PBAP_ERROR_NOT_ACCEPTABLE
Definition bts_pbap.h:202
@ PBAP_ERROR_SERVICE_UNAVAILABLE
Definition bts_pbap.h:203
@ PBAP_ERROR_NOT_IMPLEMENTED
Definition bts_pbap.h:197
@ PBAP_ERROR_UNAUTHORIZED
Definition bts_pbap.h:198
@ PBAP_ERROR_OK
Definition bts_pbap.h:195
@ PBAP_ERROR_BAD_REQUEST
Definition bts_pbap.h:196
@ PBAP_ERROR_PRECONDITION_FAILED
Definition bts_pbap.h:199
@ PBAP_ERROR_NOT_FOUND
Definition bts_pbap.h:201
@ PBAP_ERROR_FORBIDDEN
Definition bts_pbap.h:205
@ PBAP_SEARCH_PROPERTY_SOUND
Definition bts_pbap.h:78
@ PBAP_SEARCH_PROPERTY_NUMBER
Definition bts_pbap.h:77
@ PBAP_SEARCH_PROPERTY_NAME
Definition bts_pbap.h:76
osal_u8 code
Definition oal_net.h:1
定义设备的蓝牙地址。
Definition bts_def.h:140
PBAP回调函数接口定义。
Definition bts_pbap.h:330
电话簿参数。
Definition bts_pbap.h:135
vCard参数。
Definition bts_pbap.h:172
vCard列表对象参数。
Definition bts_pbap.h:153
Definition hal_uart_v151_regs_def.h:38