From 2794f96e47bc0dd4e1ab4f37bf3cb27a11dadd84 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). Signed-off-by: Dirk Hohndel --- 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;