Skip to content
Snippets Groups Projects
Commit f79bd076 authored by schneider's avatar schneider
Browse files

Merge branch 'schneider/ble-fixes-2020-1' into 'master'

BLE fixes 2020 1

See merge request card10/firmware!381
parents b4a75801 7f321799
No related branches found
No related tags found
No related merge requests found
......@@ -713,9 +713,11 @@ uint32_t AppDbGetPeerSignCounter(appDbHdl_t hdl)
/*************************************************************************************************/
void AppDbSetPeerSignCounter(appDbHdl_t hdl, uint32_t signCounter)
{
if(((appDbRec_t *)hdl)->peerSignCounter != signCounter) {
((appDbRec_t *)hdl)->peerSignCounter = signCounter;
store();
}
}
/*************************************************************************************************/
/*!
......
......@@ -37,6 +37,7 @@
#include "bas/bas_api.h"
#include "hrps/hrps_api.h"
#include "rscp/rscp_api.h"
#include "cccd.h"
#include "modules/log.h"
......@@ -175,14 +176,6 @@ uint8_t bleScanDataDisc[] =
Client Characteristic Configuration Descriptors
**************************************************************************************************/
/*! enumeration of client characteristic configuration descriptors */
enum
{
BLE_GATT_SC_CCC_IDX, /*! GATT service, service changed characteristic */
BLE_BATT_LVL_CCC_IDX, /*! Battery service, battery level characteristic */
BLE_NUM_CCC_IDX
};
/*! client characteristic configuration descriptors settings, indexed by above enumeration */
static const attsCccSet_t bleCccSet[BLE_NUM_CCC_IDX] =
{
......
#pragma once
/*! enumeration of client characteristic configuration descriptors */
enum
{
BLE_GATT_SC_CCC_IDX, /*! GATT service, service changed characteristic */
BLE_BATT_LVL_CCC_IDX, /*! Battery service, battery level characteristic */
BLE_NUM_CCC_IDX
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment