Cefn Hoile / nRF51822

Dependencies:   nrf51-sdk

Dependents:   microbit-dal

Fork of nRF51822 by Lancaster University

Committer:
rgrover1
Date:
Fri Jun 19 15:55:34 2015 +0100
Revision:
343:6675661fa600
Parent:
103:138bdc859cc9
Child:
345:dfde56236c36
Synchronized with git rev 6d1bf116
Author: Rohit Grover
fix #1: update license headers for all sources obtained from nordic-SDK using a new template obtained from Nordic.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rgrover1 343:6675661fa600 1 /*
rgrover1 343:6675661fa600 2 * Copyright (c) Nordic Semiconductor ASA
rgrover1 343:6675661fa600 3 * All rights reserved.
rgrover1 343:6675661fa600 4 *
rgrover1 343:6675661fa600 5 * Redistribution and use in source and binary forms, with or without modification,
rgrover1 343:6675661fa600 6 * are permitted provided that the following conditions are met:
rgrover1 343:6675661fa600 7 *
rgrover1 343:6675661fa600 8 * 1. Redistributions of source code must retain the above copyright notice, this
rgrover1 343:6675661fa600 9 * list of conditions and the following disclaimer.
rgrover1 343:6675661fa600 10 *
rgrover1 343:6675661fa600 11 * 2. Redistributions in binary form must reproduce the above copyright notice, this
rgrover1 343:6675661fa600 12 * list of conditions and the following disclaimer in the documentation and/or
rgrover1 343:6675661fa600 13 * other materials provided with the distribution.
rgrover1 343:6675661fa600 14 *
rgrover1 343:6675661fa600 15 * 3. Neither the name of Nordic Semiconductor ASA nor the names of other
rgrover1 343:6675661fa600 16 * contributors to this software may be used to endorse or promote products
rgrover1 343:6675661fa600 17 * derived from this software without specific prior written permission.
rgrover1 343:6675661fa600 18 *
rgrover1 343:6675661fa600 19 *
rgrover1 343:6675661fa600 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
rgrover1 343:6675661fa600 21 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
rgrover1 343:6675661fa600 22 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
rgrover1 343:6675661fa600 23 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
rgrover1 343:6675661fa600 24 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
rgrover1 343:6675661fa600 25 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
rgrover1 343:6675661fa600 26 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
rgrover1 343:6675661fa600 27 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
rgrover1 343:6675661fa600 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
rgrover1 343:6675661fa600 29 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
rgrover1 343:6675661fa600 30 *
rgrover1 343:6675661fa600 31 */
rgrover1 343:6675661fa600 32
rgrover1 343:6675661fa600 33
rgrover1 343:6675661fa600 34 /* Attention!
rgrover1 343:6675661fa600 35 * To maintain compliance with Nordic Semiconductor ASA’s Bluetooth profile
rgrover1 343:6675661fa600 36 * qualification listings, this section of source code must not be modified.
rgrover1 343:6675661fa600 37 */
rgrover1 343:6675661fa600 38
rgrover1 343:6675661fa600 39 #ifndef BLE_SENSOR_LOCATION_H__
rgrover1 343:6675661fa600 40 #define BLE_SENSOR_LOCATION_H__
rgrover1 343:6675661fa600 41
rgrover1 343:6675661fa600 42 typedef enum {
rgrover1 343:6675661fa600 43 BLE_SENSOR_LOCATION_OTHER = 0 , /**<-- Other */
rgrover1 343:6675661fa600 44 BLE_SENSOR_LOCATION_TOP_OF_SHOE = 1 , /**<-- Top of shoe */
rgrover1 343:6675661fa600 45 BLE_SENSOR_LOCATION_IN_SHOE = 2 , /**<-- In shoe */
rgrover1 343:6675661fa600 46 BLE_SENSOR_LOCATION_HIP = 3 , /**<-- Hip */
rgrover1 343:6675661fa600 47 BLE_SENSOR_LOCATION_FRONT_WHEEL = 4 , /**<-- Front Wheel */
rgrover1 343:6675661fa600 48 BLE_SENSOR_LOCATION_LEFT_CRANK = 5 , /**<-- Left Crank */
rgrover1 343:6675661fa600 49 BLE_SENSOR_LOCATION_RIGHT_CRANK = 6 , /**<-- Right Crank */
rgrover1 343:6675661fa600 50 BLE_SENSOR_LOCATION_LEFT_PEDAL = 7 , /**<-- Left Pedal */
rgrover1 343:6675661fa600 51 BLE_SENSOR_LOCATION_RIGHT_PEDAL = 8 , /**<-- Right Pedal */
rgrover1 343:6675661fa600 52 BLE_SENSOR_LOCATION_FRONT_HUB = 9 , /**<-- Front Hub */
rgrover1 343:6675661fa600 53 BLE_SENSOR_LOCATION_REAR_DROPOUT = 10, /**<-- Rear Dropout */
rgrover1 343:6675661fa600 54 BLE_SENSOR_LOCATION_CHAINSTAY = 11, /**<-- Chainstay */
rgrover1 343:6675661fa600 55 BLE_SENSOR_LOCATION_REAR_WHEEL = 12, /**<-- Rear Wheel */
rgrover1 343:6675661fa600 56 BLE_SENSOR_LOCATION_REAR_HUB = 13, /**<-- Rear Hub */
rgrover1 343:6675661fa600 57 }ble_sensor_location_t;
rgrover1 343:6675661fa600 58
rgrover1 343:6675661fa600 59 #define BLE_NB_MAX_SENSOR_LOCATIONS 14
rgrover1 343:6675661fa600 60
rgrover1 343:6675661fa600 61 #endif // BLE_SENSOR_LOCATION_H__