ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
AttPdu Struct Reference

A parsed ATT PDU (value points into the input). More...

#include <ble_gatt.h>

Public Attributes

uint8_t opcode
 
uint16_t handle
 set for opcodes that carry a handle (else 0).
 
uint8_t req_op
 for ERROR_RSP: the failed request opcode.
 
uint8_t error
 for ERROR_RSP: the error code.
 
const uint8_t * value
 value payload (null if none).
 
size_t value_len
 

Detailed Description

A parsed ATT PDU (value points into the input).

Definition at line 50 of file ble_gatt.h.

Member Data Documentation

◆ opcode

uint8_t AttPdu::opcode

Definition at line 52 of file ble_gatt.h.

◆ handle

uint16_t AttPdu::handle

set for opcodes that carry a handle (else 0).

Definition at line 53 of file ble_gatt.h.

◆ req_op

uint8_t AttPdu::req_op

for ERROR_RSP: the failed request opcode.

Definition at line 54 of file ble_gatt.h.

◆ error

uint8_t AttPdu::error

for ERROR_RSP: the error code.

Definition at line 55 of file ble_gatt.h.

◆ value

const uint8_t* AttPdu::value

value payload (null if none).

Definition at line 56 of file ble_gatt.h.

◆ value_len

size_t AttPdu::value_len

Definition at line 57 of file ble_gatt.h.


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