EasyManuals Logo

Texas Instruments CC2540DK-MINI Software Developers Guide

Texas Instruments CC2540DK-MINI
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 #133 background imageLoading...
Page #133 background image
www.ti.com
GATT Commands and Corresponding ATT Events
133
SWRU271HOctober 2010Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
GATT/ATT API
D.6 GATT Commands and Corresponding ATT Events
This table lists the possible commands that may cause an event.
ATT Response Events GATT API Calls
ATT_EXCHANGE_MTU_RSP GATT_ExchangeMTU
ATT_FIND_INFO_RSP GATT_DiscAllCharDescs,
GATT_DiscAllCharDescs
ATT_FIND_BY_TYPE_VALUE_RSP GATT_DiscPrimaryServiceByUUID
ATT_READ_BY_TYPE_RSP GATT_PrepareWriteReq,
GATT_ExecuteWriteReq,
GATT_FindIncludedServices,
GATT_DiscAllChars,
GATT_DiscCharsByUUID,
GATT_ReadUsingCharUUID,
ATT_READ_RSP GATT_ReadCharValue,
GATT_ReadCharDesc
ATT_READ_BLOB_RSP GATT_ReadLongCharValue,
GATT_ReadLongCharDesc
ATT_READ_MULTI_RSP GATT_ReadMultiCharValues
ATT_READ_BY_GRP_TYPE_RSP GATT_DiscAllPrimaryServices
ATT_WRITE_RSP GATT_WriteCharValue,
GATT_WriteCharDesc
ATT_PREPARE_WRITE_RSP GATT_WriteLongCharValue,
GATT_ReliableWrites,
GATT_WriteLongCharDesc
ATT_EXECUTE_WRITE_RSP GATT_WriteLongCharValue,
GATT_ReliableWrites,
GATT_WriteLongCharDesc
D.7 ATT_ERROR_RSP Error Codes
This section lists the error codes that can exist in the ATT_ERROR_RSP event and their possible causes.
ATT_ERR_INVALID_HANDLE (0x01): Attribute handle value given was not valid on this attribute
server.
ATT_ERR_READ_NOT_PERMITTED (0x02): Attribute cannot be read.
ATT_ERR_WRITE_NOT_PERMITTED (0x03): Attribute cannot be written.
ATT_ERR_INVALID_PDU (0x04): The attribute PDU was invalid.
ATT_ERR_INSUFFICIENT_AUTHEN (0x05): The attribute requires authentication before it can be
read or written.
ATT_ERR_UNSUPPORTED_REQ (0x06): Attribute server doesn't support the request received from
the attribute client.
ATT_ERR_INVALID_OFFSET (0x07): Offset specified was past the end of the attribute.
ATT_ERR_INSUFFICIENT_AUTHOR (0x08): The attribute requires an authorization before it can be
read or written.
ATT_ERR_PREPARE_QUEUE_FULL (0x09): Too many prepare writes have been queued.
ATT_ERR_ATTR_NOT_FOUND (0x0A): No attribute found within the given attribute handle range.
ATT_ERR_ATTR_NOT_LONG (0x0B): Attribute cannot be read or written using the read blob request
or prepare write request.
ATT_ERR_INSUFFICIENT_KEY_SIZE (0x0C): The encryption key size for encrypting this link is
insufficient.
ATT_ERR_INVALID_VALUE_SIZE (0x0D): The attribute value length is invalid for the operation.
ATT_ERR_UNLIKELY (0x0E): The attribute request requested has encountered an error that was
unlikely and failed to complete as requested.

Table of Contents

Other manuals for Texas Instruments CC2540DK-MINI

Questions and Answers:

Question and Answer IconNeed help?

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

Texas Instruments CC2540DK-MINI Specifications

General IconGeneral
BrandTexas Instruments
ModelCC2540DK-MINI
CategoryMicrocontrollers
LanguageEnglish

Related product manuals