BLE temperature profile using digital DS1820 or analog LM35 sensors

Dependencies:   DS1820

Committer:
gkroussos
Date:
Sat Mar 07 16:23:41 2015 +0000
Revision:
0:637031152314
Working version 1.0

Who changed what in which revision?

UserRevisionLine numberNew contents of line
gkroussos 0:637031152314 1 /*
gkroussos 0:637031152314 2 Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved.
gkroussos 0:637031152314 3
gkroussos 0:637031152314 4 The information contained herein is confidential property of Nordic Semiconductor. The use,
gkroussos 0:637031152314 5 copying, transfer or disclosure of such information is prohibited except by express written
gkroussos 0:637031152314 6 agreement with Nordic Semiconductor.
gkroussos 0:637031152314 7 */
gkroussos 0:637031152314 8 /**
gkroussos 0:637031152314 9 @addtogroup BLE_COMMON
gkroussos 0:637031152314 10 @{
gkroussos 0:637031152314 11 @defgroup ble_ranges Module specific SVC and event number subranges
gkroussos 0:637031152314 12 @{
gkroussos 0:637031152314 13
gkroussos 0:637031152314 14 @brief Definition of SVC and event number subranges for each API module.
gkroussos 0:637031152314 15
gkroussos 0:637031152314 16 @note
gkroussos 0:637031152314 17 SVCs and event numbers are split into subranges for each API module.
gkroussos 0:637031152314 18 Each module receives its entire allocated range of SVC calls, whether implemented or not,
gkroussos 0:637031152314 19 but return BLE_ERROR_NOT_SUPPORTED for unimplemented or undefined calls in its range.
gkroussos 0:637031152314 20
gkroussos 0:637031152314 21 Note that the symbols BLE_<module>_SVC_LAST is the end of the allocated SVC range,
gkroussos 0:637031152314 22 rather than the last SVC function call actually defined and implemented.
gkroussos 0:637031152314 23
gkroussos 0:637031152314 24 Specific SVC and event values are defined in each module's ble_<module>.h file,
gkroussos 0:637031152314 25 which defines names of each individual SVC code based on the range start value.
gkroussos 0:637031152314 26 */
gkroussos 0:637031152314 27
gkroussos 0:637031152314 28 #ifndef BLE_RANGES_H__
gkroussos 0:637031152314 29 #define BLE_RANGES_H__
gkroussos 0:637031152314 30
gkroussos 0:637031152314 31 #define BLE_SVC_BASE 0x60
gkroussos 0:637031152314 32 #define BLE_SVC_LAST 0x6B /* Total: 12. */
gkroussos 0:637031152314 33
gkroussos 0:637031152314 34 #define BLE_RESERVED_SVC_BASE 0x6C
gkroussos 0:637031152314 35 #define BLE_RESERVED_SVC_LAST 0x6F /* Total: 4. */
gkroussos 0:637031152314 36
gkroussos 0:637031152314 37 #define BLE_GAP_SVC_BASE 0x70
gkroussos 0:637031152314 38 #define BLE_GAP_SVC_LAST 0x8F /* Total: 32. */
gkroussos 0:637031152314 39
gkroussos 0:637031152314 40 #define BLE_GATTC_SVC_BASE 0x90
gkroussos 0:637031152314 41 #define BLE_GATTC_SVC_LAST 0x9F /* Total: 16. */
gkroussos 0:637031152314 42
gkroussos 0:637031152314 43 #define BLE_GATTS_SVC_BASE 0xA0
gkroussos 0:637031152314 44 #define BLE_GATTS_SVC_LAST 0xAF /* Total: 16. */
gkroussos 0:637031152314 45
gkroussos 0:637031152314 46 #define BLE_L2CAP_SVC_BASE 0xB0
gkroussos 0:637031152314 47 #define BLE_L2CAP_SVC_LAST 0xBF /* Total: 16. */
gkroussos 0:637031152314 48
gkroussos 0:637031152314 49
gkroussos 0:637031152314 50 #define BLE_EVT_INVALID 0x00
gkroussos 0:637031152314 51
gkroussos 0:637031152314 52 #define BLE_EVT_BASE 0x01
gkroussos 0:637031152314 53 #define BLE_EVT_LAST 0x0F /* Total: 15. */
gkroussos 0:637031152314 54
gkroussos 0:637031152314 55 #define BLE_GAP_EVT_BASE 0x10
gkroussos 0:637031152314 56 #define BLE_GAP_EVT_LAST 0x2F /* Total: 32. */
gkroussos 0:637031152314 57
gkroussos 0:637031152314 58 #define BLE_GATTC_EVT_BASE 0x30
gkroussos 0:637031152314 59 #define BLE_GATTC_EVT_LAST 0x4F /* Total: 32. */
gkroussos 0:637031152314 60
gkroussos 0:637031152314 61 #define BLE_GATTS_EVT_BASE 0x50
gkroussos 0:637031152314 62 #define BLE_GATTS_EVT_LAST 0x6F /* Total: 32. */
gkroussos 0:637031152314 63
gkroussos 0:637031152314 64 #define BLE_L2CAP_EVT_BASE 0x70
gkroussos 0:637031152314 65 #define BLE_L2CAP_EVT_LAST 0x8F /* Total: 32. */
gkroussos 0:637031152314 66
gkroussos 0:637031152314 67 #endif /* BLE_RANGES_H__ */
gkroussos 0:637031152314 68
gkroussos 0:637031152314 69 /**
gkroussos 0:637031152314 70 @}
gkroussos 0:637031152314 71 @}
gkroussos 0:637031152314 72 */