OTS Object Client instance type.

Public Attributes#

sl_slist_node_t

Client List node.

sl_bt_ots_client_status_t

Client status.

sl_status_t

Last error during init.

uint8_t

Connection.

GATT database handles for the Object Client.

Callbacks for the higher layers.

Selected Current Object ID.

bool

Single object feature.

uint8_t

Selected handle index.

uint8_t

Selected olcp/oacp opcode.

Pointer to the target of the read operation.

Current object transfer on L2CAP channel.

uint32_t

Size of the current L2CAP transfer.

uint32_t

Offset of the current L2CAP transfer.

uint16_t

SDU of the current L2CAP transfer.

uint16_t

PDU of the current L2CAP transfer.

Prior L2CAP transfer storage.

Public Attribute Documentation#

node#

sl_slist_node_t sl_bt_ots_client::node

Client List node.


status#

sl_bt_ots_client_status_t sl_bt_ots_client::status

Client status.


error#

sl_status_t sl_bt_ots_client::error

Last error during init.


connection#

uint8_t sl_bt_ots_client::connection

Connection.


gattdb_handles#

sl_bt_ots_gattdb_handles_t sl_bt_ots_client::gattdb_handles

GATT database handles for the Object Client.


callbacks#

sl_bt_ots_client_callbacks_t* sl_bt_ots_client::callbacks

Callbacks for the higher layers.


current_object#

sl_bt_ots_object_id_t sl_bt_ots_client::current_object

Selected Current Object ID.


single_object#

bool sl_bt_ots_client::single_object

Single object feature.


subscription#

sl_bt_ots_subscription_status_t sl_bt_ots_client::subscription

Subscription status.


active_handle_index#

uint8_t sl_bt_ots_client::active_handle_index

Selected handle index.


active_opcode#

uint8_t sl_bt_ots_client::active_opcode

Selected olcp/oacp opcode.


read_object#

sl_bt_ots_object_t* sl_bt_ots_client::read_object

Pointer to the target of the read operation.


l2cap_transfer#

sl_bt_l2cap_transfer_transfer_t sl_bt_ots_client::l2cap_transfer

Current object transfer on L2CAP channel.


active_transfer_size#

uint32_t sl_bt_ots_client::active_transfer_size

Size of the current L2CAP transfer.


active_transfer_offset#

uint32_t sl_bt_ots_client::active_transfer_offset

Offset of the current L2CAP transfer.


active_transfer_sdu#

uint16_t sl_bt_ots_client::active_transfer_sdu

SDU of the current L2CAP transfer.


active_transfer_pdu#

uint16_t sl_bt_ots_client::active_transfer_pdu

PDU of the current L2CAP transfer.


prior_channel#

sl_bt_l2cap_transfer_transfer_t sl_bt_ots_client::prior_channel

Prior L2CAP transfer storage.


received_buffer#

uint8_t sl_bt_ots_client::received_buffer[SL_BT_OTS_CLIENT_CONFIG_WRITE_REQUEST_DATA_SIZE]