Functions | |
uint16_t | ble_gatt_mtu_set (uint16_t mtu) |
Set ATT_MTU size. More... | |
uint16_t | ble_gatt_mtu_get (uint8_t conn_idx, uint16_t *p_mtu) |
Get the current ATT_MTU size for a given connection. More... | |
uint16_t ble_gatt_mtu_get | ( | uint8_t | conn_idx, |
uint16_t * | p_mtu | ||
) |
Get the current ATT_MTU size for a given connection.
[in] | conn_idx | Current connection index. |
[out] | p_mtu | ATT_MTU size for the given connection. |
SDK_SUCCESS | Successfully get ATT_MTU. |
SDK_ERR_INVALID_PARAM | Invalid parameter(s) supplied. |
uint16_t ble_gatt_mtu_set | ( | uint16_t | mtu | ) |
Set ATT_MTU size.
[in] | mtu | ATT_MTU size. |
SDK_SUCCESS | Successfully get ATT_MTU. |
SDK_ERR_DISALLOWED | Operation is disallowed. |