![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Wireless Data Exchange profile application interface. More...
Go to the source code of this file.
Typedefs | |
typedef void | WdxcFtdCallback_t(dmConnId_t connId, uint16_t handle, uint16_t len, uint8_t *pData) |
WDXC File Transfer Data callback. More... | |
typedef void | WdxcFtcCallback_t(dmConnId_t connId, uint16_t handle, uint8_t op, uint8_t status) |
WDXC File Transfer Control callback. More... | |
Enumerations | |
enum | { WDXC_DC_HDL_IDX, WDXC_DC_CCC_HDL_IDX, WDXC_FTC_HDL_IDX, WDXC_FTC_CCC_HDL_IDX, WDXC_FTD_HDL_IDX, WDXC_FTD_CCC_HDL_IDX, WDXC_AU_HDL_IDX, WDXC_AU_CCC_HDL_IDX, WDXC_HDL_LIST_LEN } |
WDXC enumeration of handle indexes of characteristics to be discovered. More... | |
Functions | |
void | WdxcInit (WdxcFtdCallback_t *pFtdCallback, WdxcFtcCallback_t *pFtcCallback) |
Initialize the WDXC. More... | |
void | WdxcProcMsg (wsfMsgHdr_t *pEvt) |
Called by application to notify the WDXC of DM and ATT Events. More... | |
void | WdxcWdxsDiscover (dmConnId_t connId, uint16_t *pHdlList) |
Perform service and characteristic discovery for Wireless Data Exchange service. Parameter pHdlList must point to an array of length WDXC_HDL_LIST_LEN. If discovery is successful the handles of discovered characteristics and descriptors will be set in pHdlList. More... | |
void | WdxcDiscoverFiles (dmConnId_t connId, wsfEfsFileInfo_t *pFileInfo, uint8_t maxFiles) |
Perform File Discovery. More... | |
void | WdxcStreamStart (dmConnId_t connId, uint16_t fileHdl) |
Send a request to start a stream of a given file handle on the given connection. More... | |
void | WdxcStreamStop (dmConnId_t connId) |
Stop the active stream. More... | |
void | WdxcFtcSendAbort (dmConnId_t connId, uint16_t fileHdl) |
Send a request to abort a wdx operation. More... | |
void | WdxcFtcSendEraseFile (dmConnId_t connId, uint16_t fileHdl) |
Send a request to erase a file. More... | |
void | WdxcFtcSendVerifyFile (dmConnId_t connId, uint16_t fileHdl) |
Send a request to verify a file. More... | |
void | WdxcFtcSendPutReq (dmConnId_t connId, uint16_t fileHdl, uint32_t offset, uint32_t len, uint32_t fileSize, uint8_t type) |
Send a request to put a block of data into a file on the peer device. More... | |
void | WdxcFtcSendGetReq (dmConnId_t connId, uint16_t fileHdl, uint32_t offset, uint32_t len, uint8_t type) |
Send a request to perform a get a block of data from a file on the peer device. More... | |
void | WdxcFtdSendBlock (dmConnId_t connId, uint32_t len, uint8_t *pData) |
Send a data block to the peer device. More... | |
Wireless Data Exchange profile application interface.
Copyright (c) 2017-2018 Arm Ltd. All Rights Reserved. Arm Ltd. confidential and proprietary.
IMPORTANT. Your use of this file is governed by a Software License Agreement ("Agreement") that must be accepted in order to download or otherwise receive a copy of this file. You may not use or copy this file for any purpose other than as described in the Agreement. If you do not agree to all of the terms of the Agreement do not use this file and delete all copies in your possession or control; if you do not have a copy of the Agreement, you must contact Arm Ltd. prior to any use, copying or further distribution of this software.
Definition in file wdxc_api.h.