From 66a81c11dddf5e575e956cfe4bf870ac18561736 Mon Sep 17 00:00:00 2001 From: emanuel Date: Fri, 2 Feb 2024 15:49:40 +0000 Subject: [PATCH] Remove unexisting support for CAMv1 --- src/requests.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/requests.c b/src/requests.c index 6d89e06..c0bb15e 100644 --- a/src/requests.c +++ b/src/requests.c @@ -689,11 +689,8 @@ static int networking_packet_indication_btp(EIS_NetworkingPacketIndication_t* np switch (bpi->destinationPort) { case EIS_Port_cam: switch (pver) { - case 1: - its_msg_descriptor = &asn_DEF_EI1_CAM; - its_msg = calloc(1, sizeof(EI1_CAM_t)); - its_msg_type = EI1_messageID_cam; - break; + /* Only CAMv2 is supported (as in 1.4.1 - 2.1.1) */ + /* Use by default CDDv2 */ case 2: its_msg_descriptor = &asn_DEF_EI2_CAM; its_msg = calloc(1, sizeof(EI2_CAM_t));