SWRU271I October 2010 – January 2020 CC2540 , CC2540T , CC2541 , CC2541-Q1 , CC2640R2F
The GATTServApp module stores and manages the application-wide attribute table. Various profiles use the table to add their characteristics to the attribute table. The Bluetooth Low Energy stack uses the table to respond to discovery requests from a GATT client. For example, a GATT client may send a Discover all Primary Characteristics message. The Bluetooth Low Energy stack on the GATT server receives this message and uses the GATTServApp module to find and send the primary characteristics in the attribute table wirelessly. This type of functionality is beyond the scope of this document and is implemented in the library code. The functions of the GATTServApp are accessible from the profiles and defined in gattservapp_util.c and in the API in Section E. These functions include finding specific attributes, reading client characteristic configurations, and modifying client characteristic configurations.