From c0f48a19fcf0dfefd455b08e92642977973ed778 Mon Sep 17 00:00:00 2001 From: SumeetSingh19 Date: Mon, 22 Jan 2024 12:43:44 +0530 Subject: [PATCH] feat(nimble): signed write support --- components/bt/host/nimble/nimble | 2 +- components/bt/porting/nimble/include/nimble/nimble_opt_auto.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/components/bt/host/nimble/nimble b/components/bt/host/nimble/nimble index bb736f15dc..e6c502f259 160000 --- a/components/bt/host/nimble/nimble +++ b/components/bt/host/nimble/nimble @@ -1 +1 @@ -Subproject commit bb736f15dc981b21762a86d3197736bddda1dfc6 +Subproject commit e6c502f259812a6d09064fb684e3b56195c80341 diff --git a/components/bt/porting/nimble/include/nimble/nimble_opt_auto.h b/components/bt/porting/nimble/include/nimble/nimble_opt_auto.h index 7aeafcc321..daf2153348 100644 --- a/components/bt/porting/nimble/include/nimble/nimble_opt_auto.h +++ b/components/bt/porting/nimble/include/nimble/nimble_opt_auto.h @@ -92,6 +92,10 @@ extern "C" { #define NIMBLE_BLE_ATT_CLT_WRITE \ (MYNEWT_VAL(BLE_GATT_WRITE)) +#undef NIMBLE_BLE_ATT_CLT_SIGNED_WRITE +#define NIMBLE_BLE_ATT_CLT_SIGNED_WRITE \ + (MYNEWT_VAL(BLE_GATT_SIGNED_WRITE)) + #undef NIMBLE_BLE_ATT_CLT_WRITE_NO_RSP #define NIMBLE_BLE_ATT_CLT_WRITE_NO_RSP \ (MYNEWT_VAL(BLE_GATT_WRITE_NO_RSP))