SWRU271I October 2010 – January 2020 CC2540 , CC2540T , CC2541 , CC2541-Q1 , CC2640R2F
The profile must define read and write callback functions that the protocol stack will call when one of the attributes of the profile is written to and/or read from. The callbacks must be registered with GATTServApp function as mentioned in Section 5.5.4.2.2. These callbacks perform the characteristic reads, writes, and other processing like possibly calling an application callback defined by the profile.