Pigweed
C/C++ API Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
Public Attributes | List of all members
pw::bluetooth::gatt::RemoteService2::WriteOptions Struct Reference

Public Attributes

WriteMode mode = WriteMode::kDefault
 
uint16_t offset = 0
 

Detailed Description

Represents the supported options to write a characteristic/descriptor value to a server.

Member Data Documentation

◆ mode

WriteMode pw::bluetooth::gatt::RemoteService2::WriteOptions::mode = WriteMode::kDefault

The mode of the write operation. For descriptors, only WriteMode::kDefault is supported

◆ offset

uint16_t pw::bluetooth::gatt::RemoteService2::WriteOptions::offset = 0

Request a write starting at the byte indicated. Must be 0 if mode is WriteMode.kWithoutResponse.


The documentation for this struct was generated from the following file: