From 6bf7c2d6ccc49a362fef04600f67f232c9ca67d5 Mon Sep 17 00:00:00 2001 From: Paul Pereira-Brunner <danukasan@gmail.com> Date: Tue, 20 Aug 2019 22:15:38 +0000 Subject: [PATCH] Fixes issue #71 - BTLE advertisements post disconnection of device to cacard10 are Military Grade Encrypted (TM) --- epicardium/ble/app/common/app_ui.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/epicardium/ble/app/common/app_ui.c b/epicardium/ble/app/common/app_ui.c index 089e9dbb..0c7277ca 100644 --- a/epicardium/ble/app/common/app_ui.c +++ b/epicardium/ble/app/common/app_ui.c @@ -37,6 +37,19 @@ /*! \brief Callback struct */ appUiCback_t appUiCbackTbl; + +/*************************************************************************************************/ +/*! + * \brief card10 - Should disable encryption. MAXIM bug reported to us in current static library. Requires + * this to be called before the BTLE app starts making advertisements. Avoids encryption + * rendering the frame unreadable. + * + * \return None. + */ +/*************************************************************************************************/ +void llc_api_crypto_disable_tx(); + + /*************************************************************************************************/ /*! * \brief Perform a user interface action based on the event value passed to the function. @@ -59,6 +72,7 @@ void AppUiAction(uint8_t event) break; case APP_UI_ADV_START: + llc_api_crypto_disable_tx(); APP_TRACE_INFO0(">>> Advertising started <<<"); break; -- GitLab