Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_bip_client_cb Struct Reference

BIP client callback structure. More...

#include <zephyr/bluetooth/classic/bip.h>

Data Fields

void(* connect )(struct bt_bip_client *client, uint8_t rsp_code, uint8_t version, uint16_t mopl, struct net_buf *buf)
 OBEX Connect response received.
void(* disconnect )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 OBEX Disconnect response received.
void(* abort )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 OBEX Abort response received.
void(* get_caps )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 Get Capabilities response received.
void(* get_image_list )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 Get Image List response received.
void(* get_image_properties )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 Get Image Properties response received.
void(* get_image )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 Get Image response received.
void(* get_linked_thumbnail )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 Get Linked Thumbnail response received.
void(* get_linked_attachment )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 Get Linked Attachment response received.
void(* get_partial_image )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 Get Partial Image response received.
void(* get_monitoring_image )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 Get Monitoring Image response received.
void(* get_status )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 Get Status response received.
void(* put_image )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 Put Image response received.
void(* put_linked_thumbnail )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 Put Linked Thumbnail response received.
void(* put_linked_attachment )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 Put Linked Attachment response received.
void(* remote_display )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 Remote Display response received.
void(* delete_image )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 Delete Image response received.
void(* start_print )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 Start Print response received.
void(* start_archive )(struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)
 Start Archive response received.

Detailed Description

BIP client callback structure.

Callback functions for handling BIP client operation responses

Field Documentation

◆ abort

void(* bt_bip_client_cb::abort) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

OBEX Abort response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

◆ connect

void(* bt_bip_client_cb::connect) (struct bt_bip_client *client, uint8_t rsp_code, uint8_t version, uint16_t mopl, struct net_buf *buf)

OBEX Connect response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
versionOBEX protocol version
moplMaximum OBEX packet length
bufResponse data buffer

◆ delete_image

void(* bt_bip_client_cb::delete_image) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

Delete Image response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

◆ disconnect

void(* bt_bip_client_cb::disconnect) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

OBEX Disconnect response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

◆ get_caps

void(* bt_bip_client_cb::get_caps) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

Get Capabilities response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

◆ get_image

void(* bt_bip_client_cb::get_image) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

Get Image response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

◆ get_image_list

void(* bt_bip_client_cb::get_image_list) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

Get Image List response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

◆ get_image_properties

void(* bt_bip_client_cb::get_image_properties) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

Get Image Properties response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

◆ get_linked_attachment

void(* bt_bip_client_cb::get_linked_attachment) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

Get Linked Attachment response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

◆ get_linked_thumbnail

void(* bt_bip_client_cb::get_linked_thumbnail) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

Get Linked Thumbnail response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

◆ get_monitoring_image

void(* bt_bip_client_cb::get_monitoring_image) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

Get Monitoring Image response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

◆ get_partial_image

void(* bt_bip_client_cb::get_partial_image) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

Get Partial Image response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

◆ get_status

void(* bt_bip_client_cb::get_status) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

Get Status response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

◆ put_image

void(* bt_bip_client_cb::put_image) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

Put Image response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

◆ put_linked_attachment

void(* bt_bip_client_cb::put_linked_attachment) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

Put Linked Attachment response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

◆ put_linked_thumbnail

void(* bt_bip_client_cb::put_linked_thumbnail) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

Put Linked Thumbnail response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

◆ remote_display

void(* bt_bip_client_cb::remote_display) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

Remote Display response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

◆ start_archive

void(* bt_bip_client_cb::start_archive) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

Start Archive response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

◆ start_print

void(* bt_bip_client_cb::start_print) (struct bt_bip_client *client, uint8_t rsp_code, struct net_buf *buf)

Start Print response received.

Parameters
clientBIP client instance
rsp_codeOBEX response code
bufResponse data buffer

The documentation for this struct was generated from the following file:
  • zephyr/bluetooth/classic/bip.h