XDK API  3.6.0
Documentation
Data Structures | Macros | Typedefs
BleAlpwDataExchange_Service.h File Reference
#include "BleTypes.h"
+ Include dependency graph for BleAlpwDataExchange_Service.h:

Data Structures

struct  BleAlpwDataExchangeServerRxData
 

Macros

#define BLE_SUPPORT_ALPWDATAEXCHANGE_SERVICE   0
 
#define BLEALPWDATAEXCHANGE_EVENT_RXDATA   0xA6
 
#define BLEALPWDATAEXCHANGE_EVENT_TXCOMPLETE   0xA2
 
#define BLEINFOTYPE_BLEALPWDATAEXCHANGE_CLIENTCONFIG   0x6F
 

Typedefs

typedef void(* BleAlpwDataExchangeCallBack )(BleAlpwDataExchangeEvent event, BleStatus status, void *parms)
 
typedef U8 BleAlpwDataExchangeEvent
 

Macro Definition Documentation

#define BLE_SUPPORT_ALPWDATAEXCHANGE_SERVICE   0

BLE_SUPPORT_ALPWDATAEXCHANGE_SERVICE Defines if the BLE local device enables access to the local Data Exchange service and characteristic.

If enabled ( set to 1 ) it enables Profiles to get access to the Data Exchange Service and characteristic

The default value for this option is disabled (0).

#define BLEALPWDATAEXCHANGE_EVENT_RXDATA   0xA6

BLEALPWDATAEXCHANGE_EVENT_RXDATA Event received when a new data is received from the CLIENT The status field indicate the status of the operation (BLESTATUS_SUCCESS or BLESTATUS_FAILED). The parms field indicates the data information within the BleAlpwDataExchangeRxData type.

#define BLEALPWDATAEXCHANGE_EVENT_TXCOMPLETE   0xA2

BLEALPWDATAEXCHANGE_EVENT_TXCOMPLETE Event received when the data has been transmitted (or not) to the CLIENT The status field indicate the status of the operation (BLESTATUS_SUCCESS or BLESTATUS_FAILED). The parms field is not used.

#define BLEINFOTYPE_BLEALPWDATAEXCHANGE_CLIENTCONFIG   0x6F

BLEINFOTYPE_BLEALPWDATAEXCHANGE_CLIENTCONFIG The Unique descriptor ID for a two Bytes length information to save in persistent memory representing the client config for a given remote bonded device. It is the Unique identifier passed in the infotype fields when the PROFILE call the system APIs SYSTEM_SetPersistentInformation(BD_ADDR addr, U8 infoType, U8* infoValue,U8 InfoLen) and SYSTEM_GetPersistentInformation(BD_ADDR addr, U8 infoType, U8 **infoValue, U8 *InfoLen).

Typedef Documentation

typedef void(* BleAlpwDataExchangeCallBack)(BleAlpwDataExchangeEvent event, BleStatus status, void *parms)

BleAlpwDataExchangeCallBack This callback receives the ALPWDATAEXCHANGE SERVICE events. Each events may be associated with specified status and parameters. The callback is executed during the stack context, be careful to not doing heavy process in this function.

BleAlpwDataExchangeEvent type Define the different kind of events that could be received by the BleAlpwDataExchangeCallBack


All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:41 by doxygen 1.8.8