Pigweed
 
Loading...
Searching...
No Matches
pw::bluetooth::gatt::RemoteService2::WriteOptions Struct Reference

#include <client2.h>

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: