Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nrf51-sdk by
ble_sensor_location.h
00001 /* 00002 * Copyright (c) Nordic Semiconductor ASA 00003 * All rights reserved. 00004 * 00005 * Redistribution and use in source and binary forms, with or without modification, 00006 * are permitted provided that the following conditions are met: 00007 * 00008 * 1. Redistributions of source code must retain the above copyright notice, this 00009 * list of conditions and the following disclaimer. 00010 * 00011 * 2. Redistributions in binary form must reproduce the above copyright notice, this 00012 * list of conditions and the following disclaimer in the documentation and/or 00013 * other materials provided with the distribution. 00014 * 00015 * 3. Neither the name of Nordic Semiconductor ASA nor the names of other 00016 * contributors to this software may be used to endorse or promote products 00017 * derived from this software without specific prior written permission. 00018 * 00019 * 00020 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 00021 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 00022 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00023 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 00024 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 00025 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00026 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 00027 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00028 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 00029 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00030 * 00031 */ 00032 00033 /* Attention! 00034 * To maintain compliance with Nordic Semiconductor ASA's Bluetooth profile 00035 * qualification listings, this section of source code must not be modified. 00036 */ 00037 00038 #ifndef BLE_SENSOR_LOCATION_H__ 00039 #define BLE_SENSOR_LOCATION_H__ 00040 00041 typedef enum { 00042 BLE_SENSOR_LOCATION_OTHER = 0 , /**<-- Other */ 00043 BLE_SENSOR_LOCATION_TOP_OF_SHOE = 1 , /**<-- Top of shoe */ 00044 BLE_SENSOR_LOCATION_IN_SHOE = 2 , /**<-- In shoe */ 00045 BLE_SENSOR_LOCATION_HIP = 3 , /**<-- Hip */ 00046 BLE_SENSOR_LOCATION_FRONT_WHEEL = 4 , /**<-- Front Wheel */ 00047 BLE_SENSOR_LOCATION_LEFT_CRANK = 5 , /**<-- Left Crank */ 00048 BLE_SENSOR_LOCATION_RIGHT_CRANK = 6 , /**<-- Right Crank */ 00049 BLE_SENSOR_LOCATION_LEFT_PEDAL = 7 , /**<-- Left Pedal */ 00050 BLE_SENSOR_LOCATION_RIGHT_PEDAL = 8 , /**<-- Right Pedal */ 00051 BLE_SENSOR_LOCATION_FRONT_HUB = 9 , /**<-- Front Hub */ 00052 BLE_SENSOR_LOCATION_REAR_DROPOUT = 10, /**<-- Rear Dropout */ 00053 BLE_SENSOR_LOCATION_CHAINSTAY = 11, /**<-- Chainstay */ 00054 BLE_SENSOR_LOCATION_REAR_WHEEL = 12, /**<-- Rear Wheel */ 00055 BLE_SENSOR_LOCATION_REAR_HUB = 13, /**<-- Rear Hub */ 00056 }ble_sensor_location_t; 00057 00058 #define BLE_NB_MAX_SENSOR_LOCATIONS 14 00059 00060 #endif // BLE_SENSOR_LOCATION_H__
Generated on Tue Jul 12 2022 17:52:43 by
