Developer World
Spresense SDK Library v3.3.0-375c679
sensor_id.h
1/****************************************************************************
2 * modules/include/sensing/sensor_id.h
3 *
4 * Copyright 2018 Sony Semiconductor Solutions Corporation
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in
14 * the documentation and/or other materials provided with the
15 * distribution.
16 * 3. Neither the name of Sony Semiconductor Solutions Corporation nor
17 * the names of its contributors may be used to endorse or promote
18 * products derived from this software without specific prior written
19 * permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
27 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
28 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
29 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
31 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32 * POSSIBILITY OF SUCH DAMAGE.
33 *
34 ****************************************************************************/
35
36#ifndef __INCLUDE_SENSING_SENSOR_ID_H
37#define __INCLUDE_SENSING_SENSOR_ID_H
38
39/*
40ToDo
41Ultimately, should be generated with Config tool etc.
42Or, the application user lists oneself.
43*/
44
45enum SensorClientID
46{
47 selfID = 0,
48 accelID, /* 1 */
49 accel1ID, /* 2 */
50 magID, /* 3 */
51 pressureID, /* 4 */
52 lightID, /* 5 */
53 pulseID, /* 6 */
54 tempID, /* 7 */
55 gyroID, /* 8 */
56 gnssID, /* 9 */
57 stepcounterID, /* 10 */
58 tramID, /* 11 */
59 gestureID, /* 12 */
60 compassID, /* 13 */
61 barometerID, /* 14 */
62 tramliteID, /* 15 */
63 vadID, /* 16 */
64 wuwsrID, /* 17 */
65 adcID, /* 18 */
66 reserve19ID, /* 19 */
67 app0ID, /* 20 */
68 app1ID, /* 21 */
69 app2ID, /* 22 */
70 app3ID, /* 23 */
71 NumOfSensorClientID
72};
73
74
75
76#endif /* __INCLUDE_SENSING_SENSOR_ID_H */
77