Search found 1 match

by Cobaltum8
Mon Apr 07, 2025 6:36 pm
Forum: ESP-IDF
Topic: How to handle reading long GATT characteristics in nimble?
Replies: 0
Views: 124

How to handle reading long GATT characteristics in nimble?

I want to make a characteristic that returns long data from the log buffer. I wrote such a callback

#define LOG_RING_BUFFER_SIZE 2048
void create_logs_dump(uint8_t* buffer);

static uint8_t log_buffer[LOG_RING_BUFFER_SIZE];

int log_gatt_chr_access_cb(uint16_t conn_handle,
uint16_t attr_handle ...

Go to advanced search