Mistake on this page?
Report an issue in GitHub or email us
Data Structures
eatt_api.h File Reference

Enhanced attribute protocol client and server API. More...

#include "wsf_timer.h"
#include "att_defs.h"
#include "att_uuid.h"
#include "dm_api.h"
#include "l2c_api.h"
#include "cfg_stack.h"

Go to the source code of this file.

Data Structures

struct  eattTuple_t
 EATT multiple notify tuple structure. More...
 

Macros

EATT Role

EATT role can be initiator or acceptor.

#define EATT_ROLE_INITIATOR   L2C_COC_ROLE_INITIATOR
 
#define EATT_ROLE_ACCEPTOR   L2C_COC_ROLE_ACCEPTOR
 

Functions

EATT Server Functions
void EattsMultiValueNtf (dmConnId_t connId, uint8_t priority, uint16_t numTuples, eattTuple_t *pTupleList)
 Send multiple attribute protocol Handle Value Notification. More...
 
void EattsHandleValueInd (dmConnId_t connId, uint8_t priority, uint16_t handle, uint16_t valueLen, uint8_t *pValue)
 Send an attribute protocol Handle Value Indication. More...
 
void EattsHandleValueNtf (dmConnId_t connId, uint8_t priority, uint16_t handle, uint16_t valueLen, uint8_t *pValue)
 Send an attribute protocol Handle Value Notification. More...
 
void EattsHandleValueIndZeroCpy (dmConnId_t connId, uint8_t priority, uint16_t handle, uint16_t valueLen, uint8_t *pValue)
 Send an attribute protocol Handle Value Indication without copying the attribute value data. More...
 
void EattsHandleValueNtfZeroCpy (dmConnId_t connId, uint8_t priority, uint16_t handle, uint16_t valueLen, uint8_t *pValue)
 Send an attribute protocol Handle Value Notification without copying the attribute value data. More...
 
void EattsInit ()
 Initialize the Enhanced ATT Server. More...
 
EATT Client Functions
void EattcFindInfoReq (dmConnId_t connId, uint8_t priority, uint16_t startHandle, uint16_t endHandle, bool_t continuing)
 Initiate an attribute protocol Find Information Request. More...
 
void EattcFindByTypeValueReq (dmConnId_t connId, uint8_t priority, uint16_t startHandle, uint16_t endHandle, uint16_t uuid16, uint16_t valueLen, uint8_t *pValue, bool_t continuing)
 Initiate an attribute protocol Find By Type Value Request. More...
 
void EattcReadByTypeReq (dmConnId_t connId, uint8_t priority, uint16_t startHandle, uint16_t endHandle, uint8_t uuidLen, uint8_t *pUuid, bool_t continuing)
 Initiate an attribute protocol Read By Type Request. More...
 
void EattcReadReq (dmConnId_t connId, uint8_t priority, uint16_t handle)
 Initiate an attribute protocol Read Request. More...
 
void EattcReadLongReq (dmConnId_t connId, uint8_t priority, uint16_t handle, uint16_t offset, bool_t continuing)
 Initiate an attribute protocol Read Request. More...
 
void EattcReadMultipleReq (dmConnId_t connId, uint8_t priority, uint8_t numHandles, uint16_t *pHandles)
 Initiate an attribute protocol Read Multiple Request. More...
 
void EattcReadByGroupTypeReq (dmConnId_t connId, uint8_t priority, uint16_t startHandle, uint16_t endHandle, uint8_t uuidLen, uint8_t *pUuid, bool_t continuing)
 Initiate an attribute protocol Read By Group Type Request. More...
 
void EattcWriteReq (dmConnId_t connId, uint8_t priority, uint16_t handle, uint16_t valueLen, uint8_t *pValue)
 Initiate an attribute protocol Write Request. More...
 
void EattcCancelReq (dmConnId_t connId, uint8_t priority)
 Cancel an attribute protocol request in progress. More...
 
void EattcIndConfirm (dmConnId_t connId, uint16_t cid)
 Send an attribute protocol indication confirmation. More...
 
void EattcWriteCmd (dmConnId_t connId, uint8_t priority, uint16_t handle, uint16_t valueLen, uint8_t *pValue)
 Initiate an attribute protocol Write Command. More...
 
void EattcPrepareWriteReq (dmConnId_t connId, uint8_t priority, uint16_t handle, uint16_t offset, uint16_t valueLen, uint8_t *pValue, bool_t valueByRef, bool_t continuing)
 Initiate an attribute protocol Prepare Write Request. More...
 
void EattcExecuteWriteReq (dmConnId_t connId, uint8_t priority, bool_t writeAll)
 Initiate an attribute protocol Execute Write Request. More...
 
void EattcReadMultVarLenReq (dmConnId_t connId, uint8_t priority, uint8_t numHandles, uint16_t *pHandles)
 Initiate an attribute protocol Read Multiple Variable Length Request. More...
 
void EattcInit ()
 Initialize the Enhanced ATT Client. More...
 
EATT Functions
void EattEstablishChannels (dmConnId_t connId)
 Begin requesting EATT L2CAP coc channels. More...
 
uint8_t EattGetNumChannelsInUse (dmConnId_t connId)
 Returns the number of open EATT channels on a given connection. More...
 
void EattInit (uint8_t roleBits)
 Initialize the Enhanced ATT subsystem. More...
 

Detailed Description

Enhanced attribute protocol client and server API.

Copyright (c) 2019-2020 Arm Ltd. All Rights Reserved.

Copyright (c) 2019-2020 Packetcraft, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file eatt_api.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.