TI BLE Stack API Documentation  2.03.09
Functions
ATT Server Common Functions

Functions

uint8 ATT_UpdateMTU (uint16 connHandle, uint16 MTU)
 This function is used to update the MTU size of a connection. More...
 
uint16 ATT_GetMTU (uint16 connHandle)
 This function is used to get the MTU size of a connection. More...
 

Detailed Description

Function Documentation

§ ATT_GetMTU()

uint16 ATT_GetMTU ( uint16  connHandle)

This function is used to get the MTU size of a connection.

Parameters
connHandle- connection handle.
Returns
connection MTU size.

§ ATT_UpdateMTU()

uint8 ATT_UpdateMTU ( uint16  connHandle,
uint16  MTU 
)

This function is used to update the MTU size of a connection.

Parameters
connHandle- connection handle.
MTU- new MTU.
Returns
SUCCESS: MTU was updated successfully.
FAILURE: MTU wasn't updated.