Nordic nrf51 sdk sources. Mirrored from https://github.com/ARMmbed/nrf51-sdk.
source/nordic_sdk/components/ble/common/ble_sensor_location.h@19:47192cb9def7, 2016-04-07 (annotated)
- Committer:
- vcoubard
- Date:
- Thu Apr 07 17:37:40 2016 +0100
- Revision:
- 19:47192cb9def7
- Parent:
- 10:233fefd8162b
- Child:
- 20:a90c48eb1d30
Synchronized with git rev 9251259f
Author: Liyou Zhou
Copy over coresponding files from nordic-sdk 9.0.0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vcoubard | 19:47192cb9def7 | 1 | /* Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved. |
vcoubard | 19:47192cb9def7 | 2 | * |
vcoubard | 19:47192cb9def7 | 3 | * The information contained herein is property of Nordic Semiconductor ASA. |
vcoubard | 19:47192cb9def7 | 4 | * Terms and conditions of usage are described in detail in NORDIC |
vcoubard | 19:47192cb9def7 | 5 | * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. |
vcoubard | 19:47192cb9def7 | 6 | * |
vcoubard | 19:47192cb9def7 | 7 | * Licensees are granted free, non-transferable use of the information. NO |
vcoubard | 19:47192cb9def7 | 8 | * WARRANTY of ANY KIND is provided. This heading must NOT be removed from |
vcoubard | 19:47192cb9def7 | 9 | * the file. |
vcoubard | 19:47192cb9def7 | 10 | * |
Vincent Coubard |
0:f2542974c862 | 11 | */ |
Vincent Coubard |
0:f2542974c862 | 12 | |
Vincent Coubard |
0:f2542974c862 | 13 | /* Attention! |
Vincent Coubard |
0:f2542974c862 | 14 | * To maintain compliance with Nordic Semiconductor ASAs Bluetooth profile |
Vincent Coubard |
0:f2542974c862 | 15 | * qualification listings, this section of source code must not be modified. |
Vincent Coubard |
0:f2542974c862 | 16 | */ |
vcoubard | 1:ebc0e0ef0a11 | 17 | |
Vincent Coubard |
0:f2542974c862 | 18 | #ifndef BLE_SENSOR_LOCATION_H__ |
Vincent Coubard |
0:f2542974c862 | 19 | #define BLE_SENSOR_LOCATION_H__ |
Vincent Coubard |
0:f2542974c862 | 20 | |
Vincent Coubard |
0:f2542974c862 | 21 | typedef enum { |
Vincent Coubard |
0:f2542974c862 | 22 | BLE_SENSOR_LOCATION_OTHER = 0 , /**<-- Other */ |
Vincent Coubard |
0:f2542974c862 | 23 | BLE_SENSOR_LOCATION_TOP_OF_SHOE = 1 , /**<-- Top of shoe */ |
Vincent Coubard |
0:f2542974c862 | 24 | BLE_SENSOR_LOCATION_IN_SHOE = 2 , /**<-- In shoe */ |
Vincent Coubard |
0:f2542974c862 | 25 | BLE_SENSOR_LOCATION_HIP = 3 , /**<-- Hip */ |
Vincent Coubard |
0:f2542974c862 | 26 | BLE_SENSOR_LOCATION_FRONT_WHEEL = 4 , /**<-- Front Wheel */ |
Vincent Coubard |
0:f2542974c862 | 27 | BLE_SENSOR_LOCATION_LEFT_CRANK = 5 , /**<-- Left Crank */ |
Vincent Coubard |
0:f2542974c862 | 28 | BLE_SENSOR_LOCATION_RIGHT_CRANK = 6 , /**<-- Right Crank */ |
Vincent Coubard |
0:f2542974c862 | 29 | BLE_SENSOR_LOCATION_LEFT_PEDAL = 7 , /**<-- Left Pedal */ |
Vincent Coubard |
0:f2542974c862 | 30 | BLE_SENSOR_LOCATION_RIGHT_PEDAL = 8 , /**<-- Right Pedal */ |
Vincent Coubard |
0:f2542974c862 | 31 | BLE_SENSOR_LOCATION_FRONT_HUB = 9 , /**<-- Front Hub */ |
Vincent Coubard |
0:f2542974c862 | 32 | BLE_SENSOR_LOCATION_REAR_DROPOUT = 10, /**<-- Rear Dropout */ |
Vincent Coubard |
0:f2542974c862 | 33 | BLE_SENSOR_LOCATION_CHAINSTAY = 11, /**<-- Chainstay */ |
Vincent Coubard |
0:f2542974c862 | 34 | BLE_SENSOR_LOCATION_REAR_WHEEL = 12, /**<-- Rear Wheel */ |
Vincent Coubard |
0:f2542974c862 | 35 | BLE_SENSOR_LOCATION_REAR_HUB = 13, /**<-- Rear Hub */ |
Vincent Coubard |
0:f2542974c862 | 36 | }ble_sensor_location_t; |
Vincent Coubard |
0:f2542974c862 | 37 | |
Vincent Coubard |
0:f2542974c862 | 38 | #define BLE_NB_MAX_SENSOR_LOCATIONS 14 |
Vincent Coubard |
0:f2542974c862 | 39 | |
vcoubard | 1:ebc0e0ef0a11 | 40 | #endif // BLE_SENSOR_LOCATION_H__ |