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

OBEX Client Functions. More...

Modules

 Header Operations
 OBEX Header Operations.
 

Functions

wiced_bt_obex_status_t wiced_bt_obex_connect (wiced_bt_device_address_t bd_addr, uint8_t scn, uint16_t mtu, wiced_bt_obex_client_cback_t *p_cback, wiced_bt_obex_handle_t *p_handle, uint8_t *p_pkt)
 Function wiced_bt_obex_connect. More...
 
wiced_bt_obex_status_t wiced_bt_obex_disconnect (wiced_bt_obex_handle_t handle, uint8_t *p_pkt)
 Function wiced_bt_obex_disconnect. More...
 
wiced_bt_obex_status_t wiced_bt_obex_send_request (wiced_bt_obex_handle_t handle, wiced_bt_obex_req_code_t req_code, wiced_bt_obex_req_param_t *p_param, uint8_t *p_pkt)
 Function wiced_bt_obex_send_request. More...
 

Detailed Description

OBEX Client Functions.

Client API Functions sub module for OBEX.

Function Documentation

wiced_bt_obex_status_t wiced_bt_obex_connect ( wiced_bt_device_address_t  bd_addr,
uint8_t  scn,
uint16_t  mtu,
wiced_bt_obex_client_cback_t *  p_cback,
wiced_bt_obex_handle_t *  p_handle,
uint8_t *  p_pkt 
)

Function wiced_bt_obex_connect.

This function registers a client entity to OBEX and sends a CONNECT request to the server

Parameters
[in]bd_addr: Remote server BD address
[in]scn: Remote server SCN
[in]mtu: MTU
[in]p_cback: Pointer to client event callback function
[out]p_handle: Pointer to return client connection handle
[in]p_pkt: Connect request packet
Returns
wiced_bt_obex_status_t
wiced_bt_obex_status_t wiced_bt_obex_disconnect ( wiced_bt_obex_handle_t  handle,
uint8_t *  p_pkt 
)

Function wiced_bt_obex_disconnect.

This function disconnects the server and unregister the client entity.

Parameters
[in]handle: Client connection handle
[in]p_pkt: Disconnect request packet
Returns
wiced_bt_obex_status_t
wiced_bt_obex_status_t wiced_bt_obex_send_request ( wiced_bt_obex_handle_t  handle,
wiced_bt_obex_req_code_t  req_code,
wiced_bt_obex_req_param_t p_param,
uint8_t *  p_pkt 
)

Function wiced_bt_obex_send_request.

This function sends a request to the connected server.

Parameters
[in]handle: Client connection handle
[in]req_code: Request code
[in]p_param: Request parameters
[in]p_pkt: Request packet
Returns
wiced_bt_obex_status_t