![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Wireless Data Exchange profile implementation. More...
Go to the source code of this file.
Data Structures | |
struct | wdxsCb_t |
WDXS profile control block. More... | |
struct | wdxsDcCb_t |
WDXS Device Configuration Control Block. More... | |
struct | wdxsAuCb_t |
WDXS Authentication Control Block. More... | |
union | wdxsMsg_t |
WDXS event message union. More... | |
Macros | |
#define | WDXS_STREAM_FILE_LEN 0xFFFFFFFF |
Special length for streaming file. | |
WDXS Default Feature Set | |
#define | WDXS_DC_ENABLED TRUE |
#define | WDXS_AU_ENABLED TRUE |
#define | WDXS_OTA_ENABLED TRUE |
WSF event types for application event handler | |
#define | WDXS_EVT_TX_PATH 0x01 |
Trigger tx data path. | |
#define | WDXS_EVT_AU_SEC_COMPLETE 0x02 |
AU encryption of challenge ready. | |
TX Ready Mask Bits | |
#define | WDXS_TX_MASK_READY_BIT (1<<0) |
Ready bit. | |
#define | WDXS_TX_MASK_DC_BIT (1<<1) |
DC bit. | |
#define | WDXS_TX_MASK_FTC_BIT (1<<2) |
FTC bit. | |
#define | WDXS_TX_MASK_FTD_BIT (1<<3) |
FTD bit. | |
#define | WDXS_TX_MASK_AU_BIT (1<<4) |
AU bit. | |
Authentication states | |
#define | WDXS_AU_STATE_UNAUTHORIZED 0x00 |
Authentication has not started. | |
#define | WDXS_AU_STATE_HASHING 0x01 |
Authentication hash is being calculated. | |
#define | WDXS_AU_STATE_WAIT_SEC 0x02 |
Authentication challenge sent. | |
#define | WDXS_AU_STATE_WAIT_REPLY 0x03 |
Authentication waiting for challenge reply. | |
#define | WDXS_AU_STATE_AUTHORIZED 0x04 |
Authentication completed successfully. | |
Typedefs | |
typedef uint8_t(* | wdxsDcPhyWriteCback_t) (dmConnId_t connId, uint8_t op, uint8_t id, uint16_t len, uint8_t *pValue) |
WDXS Device Configuration PHY Write Callback. | |
Functions | |
void | wdxsDcSend (dmConnId_t connId) |
Send device configuration notification. More... | |
void | wdxsFtcSend (dmConnId_t connId) |
Send a file transfer control characteristic notification. More... | |
void | wdxsFtdSend (dmConnId_t connId) |
Send a file transfer data characteristic notification. More... | |
void | wdxsAuSend (dmConnId_t connId) |
Transmit to authentication characteristic. More... | |
uint8_t | wdxsDcWrite (dmConnId_t connId, uint16_t len, uint8_t *pValue) |
Process a write to the device configuration characteristic. More... | |
uint8_t | wdxsFtcWrite (dmConnId_t connId, uint16_t len, uint8_t *pValue) |
Process a write to the file transfer control characteristic. More... | |
uint8_t | wdxsFtdWrite (dmConnId_t connId, uint16_t len, uint8_t *pValue) |
Process a write to the file transfer data characteristic. More... | |
uint8_t | wdxsAuWrite (dmConnId_t connId, uint16_t len, uint8_t *pValue) |
Process a write to the authentication characteristic. More... | |
uint8_t | wdxsDcUpdateConnParam (dmConnId_t connId, uint8_t status) |
Send update message for connection parameters. More... | |
uint8_t | wdxsDcUpdatePhy (dmConnId_t connId, uint8_t status) |
Send update message for PHY. More... | |
void | wdxsDcPhyRegister (wdxsDcPhyWriteCback_t cback) |
Register a PHY write callback for the device configuration characteristic. More... | |
void | WdxsUpdateListing (void) |
Create the file list. More... | |
Variables | |
WDXS Control Block External Declaration | |
wdxsCb_t | wdxsCb |
WDXS control block. | |
wdxsAuCb_t | wdxsAuCb |
WDXS AU control block. | |
wdxsDcCb_t | wdxsDcCb |
WDXS DC control block. | |
Wireless Data Exchange profile implementation.
Copyright (c) 2013-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 wdxs_main.h.