From 55bdd63de77e8566a4e6d220ee5866c20f0f4a38 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 30 Mar 2016 10:23:45 +0200 Subject: [PATCH] Revert "test/hfp: use small outgoing rfcomm mtu" This reverts commit 497fcc1c7f401dac2b16c3603bf8f3812d846290. --- test/hfp/mock.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/hfp/mock.c b/test/hfp/mock.c index 0c1c77d55..64b43bf16 100644 --- a/test/hfp/mock.c +++ b/test/hfp/mock.c @@ -54,8 +54,6 @@ #include "mock.h" -#define RFCOMM_MTU (52-4-5) - static uint8_t sdp_rfcomm_channel_nr = 1; const char sdp_rfcomm_service_name[] = "BTstackMock"; static uint16_t rfcomm_cid = 1; @@ -64,10 +62,10 @@ static uint16_t sco_handle = 10; static uint8_t rfcomm_payload[200]; static uint16_t rfcomm_payload_len = 0; -static uint8_t outgoing_rfcomm_payload[RFCOMM_MTU]; +static uint8_t outgoing_rfcomm_payload[200]; static uint16_t outgoing_rfcomm_payload_len = 0; -static uint8_t rfcomm_reserved_buffer[48]; +static uint8_t rfcomm_reserved_buffer[1000]; hfp_connection_t * hfp_context;