Skip to content
Snippets Groups Projects
Verified Commit 6dfda96c authored by genofire's avatar genofire
Browse files

ble: card10 svc - fix get value of bg leds top

parent d2a91e93
No related branches found
No related tags found
No related merge requests found
...@@ -380,10 +380,11 @@ static const attsAttr_t card10SvcAttrList[] = { ...@@ -380,10 +380,11 @@ static const attsAttr_t card10SvcAttrList[] = {
.pValue = ledBGTopRightValue, .pValue = ledBGTopRightValue,
.pLen = &rgbLen, .pLen = &rgbLen,
.maxLen = 3 * sizeof(uint8_t), .maxLen = 3 * sizeof(uint8_t),
.settings = ATTS_SET_WRITE_CBACK, .settings = (ATTS_SET_WRITE_CBACK | ATTS_SET_READ_CBACK),
.permissions = .permissions =
(ATTS_PERMIT_WRITE | ATTS_PERMIT_WRITE_ENC | (ATTS_PERMIT_WRITE | ATTS_PERMIT_WRITE_ENC |
ATTS_PERMIT_WRITE_AUTH) }, ATTS_PERMIT_WRITE_AUTH | ATTS_PERMIT_READ |
ATTS_PERMIT_READ_ENC | ATTS_PERMIT_READ_AUTH) },
// BG LED top left // BG LED top left
...@@ -396,10 +397,11 @@ static const attsAttr_t card10SvcAttrList[] = { ...@@ -396,10 +397,11 @@ static const attsAttr_t card10SvcAttrList[] = {
.pValue = ledBGTopLeftValue, .pValue = ledBGTopLeftValue,
.pLen = &rgbLen, .pLen = &rgbLen,
.maxLen = 3 * sizeof(uint8_t), .maxLen = 3 * sizeof(uint8_t),
.settings = ATTS_SET_WRITE_CBACK, .settings = (ATTS_SET_WRITE_CBACK | ATTS_SET_READ_CBACK),
.permissions = .permissions =
(ATTS_PERMIT_WRITE | ATTS_PERMIT_WRITE_ENC | (ATTS_PERMIT_WRITE | ATTS_PERMIT_WRITE_ENC |
ATTS_PERMIT_WRITE_AUTH) }, ATTS_PERMIT_WRITE_AUTH | ATTS_PERMIT_READ |
ATTS_PERMIT_READ_ENC | ATTS_PERMIT_READ_AUTH) },
// Dim bottom module // Dim bottom module
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment