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

Macros

#define BLE_SUPPORT_REFERENCETIMEUPDATE_SERVICE   0
 
#define BLEREFERENCETIMEUPDATESERVICE_EVENT_CANCELREFERENCETIMEUPDATE   0xBD
 
#define BLEREFERENCETIMEUPDATESERVICE_EVENT_STARTREFERENCEUPDATEREQUEST   0xBC
 
#define BLEREFERENCETIMEUPDATESERVICE_RESULT_CANCELED   1
 
#define BLEREFERENCETIMEUPDATESERVICE_RESULT_NOREFERENCECONNECTION   2
 
#define BLEREFERENCETIMEUPDATESERVICE_RESULT_NOUPDATEAFTERRESET   5
 
#define BLEREFERENCETIMEUPDATESERVICE_RESULT_REFERENCEERROR   3
 
#define BLEREFERENCETIMEUPDATESERVICE_RESULT_SUCCESSFUL   0
 
#define BLEREFERENCETIMEUPDATESERVICE_RESULT_TIMEOUT   4
 

Typedefs

typedef void(* BleReferenceTimeUpdateServiceCallBack )(BleReferenceTimeUpdateServiceEvent event, BleStatus status, void *parms)
 
typedef U8 BleReferenceTimeUpdateServiceEvent
 
typedef U8 BleReferenceTimeUpdateServiceUpdateResult
 

Macro Definition Documentation

#define BLE_SUPPORT_REFERENCETIMEUPDATE_SERVICE   0

BLE_SUPPORT_REFERENCETIMEUPDATE_SERVICE Defines if the BLE local device enables access to the local REFERENCE TIME UPDATE service and characteristic.

If enabled ( set to 1 ) it enables Profiles to get access to the REFERENCE TIME UPDATE Service and characteristic

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

#define BLEREFERENCETIMEUPDATESERVICE_EVENT_CANCELREFERENCETIMEUPDATE   0xBD

BLEREFERENCETIMEUPDATESERVICE_EVENT_CANCELREFERENCETIMEUPDATE Event received when a new reference time update is requested from the SERVER (the command has been issued by a remote user). The REFERENCE TIME UPDATE SERVER does not expect anymore to receive a BLEREFERENCETIMEUPDATE_TimeUpdateResult. The status field is always BLESTATUS_SUCCESS The parms field is not applicable.

#define BLEREFERENCETIMEUPDATESERVICE_EVENT_STARTREFERENCEUPDATEREQUEST   0xBC

BLEREFERENCETIMEUPDATESERVICE_EVENT_GETREFERENCETIMEUPDATE Event received when a new reference time update is requested from the SERVER (the command has been issued by a remote user). Upon reception of this event the SERVER MUST run a REFERENCE TIME UPDATE Once complete, the SERVER MUST call BLEREFERENCETIMEUPDATE_TimeUpdateResult with the associated result. if the SERVER does not want to run a REFERENCE TIME UPDATE processn it can call BLEREFERENCETIMEUPDATE_TimeUpdateResult with the BLEREFERENCETIMEUPDATESERVICE_RESULT_CANCELED result directly in the callback The status field is always BLESTATUS_SUCCESS The parms field is not applicable.

#define BLEREFERENCETIMEUPDATESERVICE_RESULT_CANCELED   1
#define BLEREFERENCETIMEUPDATESERVICE_RESULT_NOREFERENCECONNECTION   2
#define BLEREFERENCETIMEUPDATESERVICE_RESULT_NOUPDATEAFTERRESET   5
#define BLEREFERENCETIMEUPDATESERVICE_RESULT_REFERENCEERROR   3
#define BLEREFERENCETIMEUPDATESERVICE_RESULT_SUCCESSFUL   0
#define BLEREFERENCETIMEUPDATESERVICE_RESULT_TIMEOUT   4

Typedef Documentation

typedef void(* BleReferenceTimeUpdateServiceCallBack)(BleReferenceTimeUpdateServiceEvent event, BleStatus status, void *parms)

BleReferenceTimeUpdateServiceCallBack This callback receives the REFERENCE TIME UPDATE Service events. Each events may be assiociated with specified status and parameters. The callback is executed during the stack context, be careful to not doing heavy process in this function.

BleReferenceTimeUpdateServiceEvent type Define the different kind of events that could be received by the BleReferenceTimeUpdateServiceCallBack

BleReferenceTimeUpdateServiceUpdateResult The available result of a REFERENCE TIME UPDATE procedure.


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