C/C++ API Reference
Loading...
Searching...
No Matches
pw::bluetooth::gatt::Server2 Class Referenceabstract

Overview

Interface for a GATT server that serves many GATT services.

Classes

struct  LocalServiceInfo
 Parameters for registering a local GATT service. More...
 

Public Types

enum class  PublishServiceError {
  kInternalError = 0 , PublishServiceError::kInvalidHandle = 1 , PublishServiceError::kInvalidUuid = 2 , PublishServiceError::kInvalidCharacteristics = 3 ,
  PublishServiceError::kInvalidIncludes = 4
}
 
using PublishServiceResult = pw::expected< LocalService2::Ptr, PublishServiceError >
 The Result passed by PublishService.
 

Public Member Functions

virtual async2::OnceReceiver< PublishServiceResultPublishService (const LocalServiceInfo &info, LocalServiceDelegate2 &delegate)=0
 

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