NimBLE AFR: Fix Notification/Indication tx handling
The handling of notifications/indications is done in BLE_GAP_EVENT_NOTIFY_TX where the appropriate status is returned.
So, it is not required in prvBTSendIndication
@@ -616,16 +616,6 @@ BTStatus_t prvBTSendIndication( uint8_t ucServerIf,
{
ESP_LOGD( TAG, "Send Notifications" );
xESPstatus = ble_gattc_notify_custom( usConnId, usAttributeHandle + gattOffset, om );
-
- if( xGattServerCb.pxIndicationSentCb != NULL )
- {
- if( xESPstatus != 0 )
- {
- xStatus = eBTStatusFail;
- }
-
- xGattServerCb.pxIndicationSentCb( usConnId, xStatus );
- }
}
if( xESPstatus != 0 )
