From d960a37e120757a7459c23a5bb3cc058e7269563 Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Tue, 18 Jan 2022 18:50:53 +0100 Subject: [PATCH] Increase the size of the BLE packet cache In the latest OSTC hardware, the Telit/Stollman bluetooth module has been replaced with a u-Blox Nina B2 bluetooth module. This new module supports BLE data packets of up to 244 bytes (corresponding to an ATT MTU of 247 bytes and a LL PDU payload size of 251 bytes). --- src/hw_ostc3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hw_ostc3.c b/src/hw_ostc3.c index 119af09..ff821c6 100644 --- a/src/hw_ostc3.c +++ b/src/hw_ostc3.c @@ -106,7 +106,7 @@ typedef struct hw_ostc3_device_t { unsigned int firmware; unsigned char fingerprint[5]; hw_ostc3_state_t state; - unsigned char cache[20]; + unsigned char cache[244]; unsigned int available; unsigned int offset; } hw_ostc3_device_t;