2021-12-06 01:59:55 -05:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2017-08-24 07:54:41 -04:00
|
|
|
|
|
|
|
/******************************************************************************
|
|
|
|
*
|
|
|
|
* This file contains the action functions for gatts and gattc.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
|
|
|
|
2018-04-08 00:10:50 -04:00
|
|
|
#include "bta/bta_gatt_common.h"
|
2017-08-24 07:54:41 -04:00
|
|
|
#include "gatt_int.h"
|
|
|
|
|
|
|
|
void BTA_GATT_SetLocalMTU(uint16_t mtu)
|
|
|
|
{
|
|
|
|
gatt_set_local_mtu(mtu);
|
2018-12-26 07:36:33 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
uint16_t BTA_GATT_GetLocalMTU(void)
|
|
|
|
{
|
|
|
|
return gatt_get_local_mtu();
|
|
|
|
}
|