herald  2.0.0
sensor_type.h
1 // Copyright 2020-2021 Herald Project Contributors
2 // SPDX-License-Identifier: Apache-2.0
3 //
4 
5 #ifndef HERALD_SENSOR_TYPE_H
6 #define HERALD_SENSOR_TYPE_H
7 
8 #include <string>
9 
10 namespace herald {
11 namespace datatype {
12 
14 enum class SensorType : short {
16  BLE,
18  GPS,
20  BEACON,
24  ULTRASOUND,
26  OTHER
27 };
28 
29 std::string str(SensorType t) noexcept;
30 
31 } // end namespace
32 } // end namespace
33 
34 #endif
SensorType
Sensor type as qualifier for target identifier.
Definition: sensor_type.h:14
@ BEACON
Physical beacon, e.g. iBeacon.
@ ULTRASOUND
Ultrasound audio beacon.
@ ACCELEROMETER
Accelerometer.
@ GPS
GPS location sensor.
@ BLE
Bluetooth Low Energy (BLE)
Acts as a non-global memory arena for arbitrary classes.
Definition: aggregates.h:15