EasyManuals Logo
Home>Texas Instruments>Microcontrollers>CC253x

Texas Instruments CC253x Software Developers Guide

Texas Instruments CC253x
162 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #61 background imageLoading...
Page #61 background image
www.ti.com
Generic Attribute Profile (GATT)
61
SWRU271HOctober 2010Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
The Bluetooth Low Energy Protocol Stack
5.5.4.2.5 Get and Set Functions
The profile containing the characteristics provides set and get abstraction functions for the application to
read and/or write a characteristic. The set parameter function should include logic to check for and
implement notifications and/or indications if the relevant characteristic has notify and/or indicate properties.
Figure 5-13 and the following code depict how to set the simpleProfileChacteristic4 in the
simpleGATTProfile.
Figure 5-13. Get and Set Profile Parameter Usage
The application initializes simpleProfileCharacteristic4 to 0 in SimpleBLEPeripheral.c through the following:
The code for this function is displayed in the following code from simpleGATTProfile.c. Other than setting
the value of the static simpleProfileChar4, this function also calls GATTServApp_ProcessCharCfg
because it has GATT_PROP_NOTIFY properties. This call forces GATTServApp to check if notifications
have been enabled by the GATT client. If so, the GATTServApp sends a notification of this attribute to the
GATT client.

Table of Contents

Other manuals for Texas Instruments CC253x

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments CC253x and is the answer not in the manual?

Texas Instruments CC253x Specifications

General IconGeneral
BrandTexas Instruments
ModelCC253x
CategoryMicrocontrollers
LanguageEnglish

Related product manuals