XDK API  3.6.0
Documentation
Data Structures | Macros | Typedefs
BleLinkLoss_Service.h File Reference
#include "bleTypes.h"
+ Include dependency graph for BleLinkLoss_Service.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  BleLinkLossAlert
 

Macros

#define BLE_SUPPORT_LINKLOSS_SERVICE   0
 
#define BLELINKLOSS_ALERT_HIGHALERT   2
 
#define BLELINKLOSS_ALERT_MEDIUMALERT   1
 
#define BLELINKLOSS_ALERT_NOALERT   0
 
#define BLELINKLOSS_EVENT_ALERT   1
 

Typedefs

typedef U8 BleLinkLossAlertLevel
 
typedef void(* BleLinkLossCallBack )(BleLinkLossEvent event, BleStatus status, void *parms)
 
typedef U8 BleLinkLossEvent
 

Macro Definition Documentation

#define BLE_SUPPORT_LINKLOSS_SERVICE   0

BLE_SUPPORT_LINKLOSS_SERVICE Defines if the BLE local device enables access to the Link Loss Service

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

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

#define BLELINKLOSS_ALERT_HIGHALERT   2

BLELINKLOSS_ALERT_HIGHALERT The alert level is high Alert, the device shall alert in the strongest possible way.

#define BLELINKLOSS_ALERT_MEDIUMALERT   1

BLELINKLOSS_ALERT_MEDIUMALERT The Alert level is medium Alert, the device shall alert.

#define BLELINKLOSS_ALERT_NOALERT   0

BLELINKLOSS_ALERT_NOALERT The alert level is no alert; no alerting shall be done on this device.

#define BLELINKLOSS_EVENT_ALERT   1

BLELINKLOSS_EVENT_ALERT Event received when a new alerting state is raised. for example when the link will be disconnected the Link loss service will send the BLELINKLOSS_EVENT_ALERT event with the configurated alert level. The specific action that occurs in the device for the mild and high alerts is implementation specific. For example, this could include flashing lights, making noises, moving, or other methods to alert the user.

Typedef Documentation

BleLinkLossAlertLevel type Define the different kind of Alert level that could be received by the BleLinkLossCallBack within the BleLinkLossAlert parmeter in the BLELINKLOSS_EVENT_ALERT.

typedef void(* BleLinkLossCallBack)(BleLinkLossEvent event, BleStatus status, void *parms)

BleLinkLossCallBack This callback receives the LINK LOSS SERVICE events. Each events may be assiociated with specified parameters. The callback is executed during the stack context, be careful to not doing heavy process in this function.

BleLinkLossEvent type Define the different kind of events that could be received by the BleLinkLossCallBack


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