Infineon Logo AIROC BTSDK v4.9 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Server

OBEX Server Functions. More...

Modules

 Client
 OBEX Client Functions.
 

Functions

wiced_bt_obex_status_t wiced_bt_obex_start_server (wiced_bt_obex_start_params_t *p_params, wiced_bt_obex_handle_t *p_handle)
 Function wiced_bt_obex_start_server. More...
 
wiced_bt_obex_status_t wiced_bt_obex_stop_server (wiced_bt_obex_handle_t handle)
 Function wiced_bt_obex_stop_server. More...
 
wiced_bt_obex_status_t wiced_bt_obex_send_response (wiced_bt_obex_handle_t handle, wiced_bt_obex_req_code_t req_code, wiced_bt_obex_rsp_code_t rsp_code, uint8_t *p_pkt)
 Function wiced_bt_obex_send_rsp. More...
 
uint16_t wiced_bt_obex_get_peer_addr (wiced_bt_obex_handle_t handle, wiced_bt_device_address_t bd_addr)
 Function wiced_bt_obex_get_peer_addr. More...
 

Detailed Description

OBEX Server Functions.

Server API Functions sub module for OBEX.

Function Documentation

uint16_t wiced_bt_obex_get_peer_addr ( wiced_bt_obex_handle_t  handle,
wiced_bt_device_address_t  bd_addr 
)

Function wiced_bt_obex_get_peer_addr.

This function is called to get the Bluetooth address of the connected device

Parameters
[in]handle: OBEX server handle
[out]bd_addr: Remote BD address
Returns
L2CAP channel ID
wiced_bt_obex_status_t wiced_bt_obex_send_response ( wiced_bt_obex_handle_t  handle,
wiced_bt_obex_req_code_t  req_code,
wiced_bt_obex_rsp_code_t  rsp_code,
uint8_t *  p_pkt 
)

Function wiced_bt_obex_send_rsp.

Send response to a Request from an OBEX client.

Parameters
[in]handle: OBEX server handle
[in]req_code: Request code
[in]rsp_code: Response code
[in]p_pkt: Response packet
Returns
wiced_bt_obex_status_t
wiced_bt_obex_status_t wiced_bt_obex_start_server ( wiced_bt_obex_start_params_t p_params,
wiced_bt_obex_handle_t *  p_handle 
)

Function wiced_bt_obex_start_server.

Start OBEX server

Parameters
[in]p_params: Parameters for starting server
[out]p_handle: Pointer to return OBEX server handle
Returns
wiced_bt_obex_status_t
wiced_bt_obex_status_t wiced_bt_obex_stop_server ( wiced_bt_obex_handle_t  handle)

Function wiced_bt_obex_stop_server.

Stop OBEX server

Parameters
[in]handle: OBEX server handle
Returns
wiced_bt_obex_status_t