UniSaSA
1.0
Embedded Library
embedded
unisasa_types.h
1
#ifndef _UNISASA_TYPES_H_
2
#define _UNISASA_TYPES_H_
3
4
10
/* The Messages*/
11
// The Operation size is 1 byte
12
#define GET_DEVICES 0x00
13
#define GET_SENSOR_VALUE 0x01
14
#define SET_ACTUATOR_VALUE 0x02
15
#define MSG_TO_DEVICE 0x03
16
#define MSG_AND_ANSWER_TO_DEVICE 0x04
17
#define DISCOVERY 0x05
18
#define CHECK_DEVICE 0x06
19
#define ACTIVE_DEVICE_ACK 0x07
20
#define CLOSE_TCP_CONNECTION 0xFF
21
29
/* Sizes (in byte) */
30
// field: OPERATION
31
#define SIZE_OPERATION 1
32
// field: Size I/O dev
33
#define SIZE_IO_DEV 1
34
// field: size ID Sen
35
#define SIZE_ID_SENSOR 1
36
// fields: SensorType
37
#define SIZE_TYPE_SENSOR 2
38
// field size output sensor
39
#define SIZE_OUTPUT_SENSOR 1
40
// Type output sensor
41
#define SIZE_TYPE_OUTPUT_SENSOR 1
42
// field: size ID Actuator
43
#define SIZE_ID_ACTUATOR 1
44
// fields: ActuatorType
45
#define SIZE_TYPE_ACTUATOR 2
46
// field size input actuator
47
#define SIZE_INPUT_ACTUATOR 1
48
// Type output actuator
49
#define SIZE_TYPE_INPUT_ACTUATOR 1
50
58
// Data Type
59
#define BOOL 0
60
#define BYTE 1
61
#define CHAR 2
62
#define STRING 3
63
#define INT 4
64
#define U_INT 5
65
#define FLOAT 6
66
#define U_FLOAT 7
67
76
/* The 'type actuator' must be 2 bytes (read messages.txt) */
77
78
// Generic actuator
79
#define GENERIC_ACTUATOR 0
80
// Undefined actuator
81
#define UNDEFINED_ACTUATOR 1
82
83
/* Wiimote */
84
85
#define WIIMOTE_RUMBLE 2
86
#define WIIMOTE_LED_1 3
87
#define WIIMOTE_LED_2 4
88
#define WIIMOTE_LED_3 5
89
#define WIIMOTE_LED_4 6
90
91
#define LED 7
92
#define BUZZER 8
93
#define SERVOMOTOR 9
94
#define MOTOR 10
95
#define VIBRATOR 11
96
#define LCD 12
97
/* Your Actuators HERE */
108
/* The 'type sensor' must be 2 bytes (read messages.txt) */
109
110
/* Specials */
111
112
// Generic sensor
113
#define GENERIC_SENSOR 0
114
115
// Undefined sensor
116
#define UNDEFINED_SENSOR 1
117
118
/* Wikipedia list, https://en.wikipedia.org/wiki/List_of_sensors */
119
120
/* Acoustic, sound, vibration */
121
122
// Geophone
123
#define GEOPHONE 2
124
125
// Hydrophone
126
#define HYDROPHONE 3
127
128
// Lace Sensor a guitar pickup
129
#define LACE_GUITAR_PICKUP 4
130
131
// Microphone
132
#define MICROPHONE 5
133
134
/* Automotive, transportation */
135
136
// Air flow meter [automotive]
137
#define AIR_FLOW_METER_AUTOMOTIVE 6
138
139
// Air-fuel ratio meter
140
#define AIR_FUEL_RATIO_METER 7
141
142
// Blind spot monitor
143
#define BLIND_SPOT_MONITOR 8
144
145
// Crankshaft position sensor, a crank sensor is an electronic device
146
// used in an internal combustion engine to monitor the position or
147
// rotational speed of the crankshaft.
148
#define CRANKSHAFT_POSITION 9
149
150
// Curb feeler, used to warn driver of curbs
151
#define CURB_FEELER 10
152
153
// Defect detector, used on railroads to detect axle and
154
// signal problems in passing trains
155
#define DEFECT_DETECTOR 11
156
157
// Engine coolant temperature sensor, or ECT sensor, used to measure
158
// the engine temperature
159
#define ENGINE_COOLANT_TEMPERATURE 12
160
161
// Hall effect sensor, used to time the speed of wheels and shafts,
162
// for example speedometer [automotive]
163
#define HALL_EFFECT_AUTOMOTIVE 13
164
165
// Knock sensor, used to detect detonation in internal
166
// combustion engines
167
#define KNOCK_SENSOR 14
168
169
// MAP sensor, Manifold Absolute Pressure,
170
// used in regulating fuel metering.
171
#define MANIFOLD_ABSOLUTE_PRESSURE 15
172
173
// Mass flow sensor, or mass airflow (MAF) sensor, used to tell
174
// the ECU the mass of air entering the engine
175
#define MASS_FLOW_MASS_AIRFLOW 16
176
177
// Oxygen sensor, used to monitor the amount of oxygen in the exhaust
178
#define OXYGEN_EXHAUST_SENSOR 17
179
180
// Parking sensors, used to alert the driver of unseen obstacles
181
// during parking maneuvers
182
#define PARKING_SENSORS 18
183
184
// Radar gun, used to detect the speed of other objects
185
#define RADAR_GUN 19
186
187
// Speedometer, used measure the instantaneous speed of a land vehicle
188
#define SPEEDOMETER 20
189
190
// Speed sensor, used to detect the speed of an object
191
#define SPEED_SENSOR 21
192
193
// Throttle position sensor, used to monitor the position
194
// of the throttle in an internal combustion engine
195
#define THROTTLE_POSITION 22
196
197
// Tire-pressure monitoring sensor,
198
// used to monitor the air pressure inside the tires
199
#define TIRE_PRESSURE_MONITORING 23
200
201
// Torque sensor, or torque transducer or
202
// torquemeter measures torque (twisting force) on a rotating system
203
#define TORQUE_SENSOR_TWISTING_FORCE 24
204
205
// Transmission fluid temperature sensor,
206
// used to measure the temperature of the transmission fluid
207
#define TRANSMISSION_FLUID_TEMPERATURE 25
208
209
// Turbine speed sensor (TSS), or input speed sensor (ISS),
210
// used to measure the rotational
211
// speed of the input shaft or torque converter
212
#define TURBINE_SPEED 26
213
214
// Variable reluctance sensor, used to measure position and
215
// speed of moving metal components [automotive]
216
#define VARIABLE_RELUCTANCE_AUTOMOTIVE 27
217
218
// Vehicle speed sensor (VSS), used to measure the speed of
219
// the vehicle
220
#define VEHICLE_SPEED 28
221
222
// Water sensor or water-in-fuel sensor,
223
// used to indicate the presence of water in fuel
224
#define WATER_IN_FUEL 29
225
226
// Wheel speed sensor,
227
// used for reading the speed of a vehicle's wheel rotation
228
#define WHEEL_SPEED 30
229
230
231
/* Chemical */
232
233
// Breathalyzer
234
#define BREATHALYZER 31
235
236
// Carbon dioxide sensor
237
#define CARBON_DIOXIDE_SENSOR 32
238
239
// Carbon monoxide detector
240
#define CARBON_MONOXIDE_DETECTOR 33
241
242
// Catalytic bead sensor
243
#define CATALYTIC_BEAD_SENSOR 34
244
245
// Chemical field-effect transistor
246
#define CHEMICAL_FIELD_EFFECT_TRANSISTOR 35
247
248
// Chemiresistor
249
#define CHEMIRESISTOR 36
250
251
// Electrochemical gas sensor
252
#define ELECTROCHEMICAL_GAS 37
253
254
// Electronic nose
255
#define ELECTRONIC_NOSE 38
256
257
// Electrolyte-insulator-semiconductor sensor
258
#define ELECTROLYTE_INSULATOR_SEMICONDUCTOR 39
259
260
// Fluorescent chloride sensors
261
#define FLUORESCENT_CHLORIDE_SENSORS 40
262
263
// Holographic sensor
264
#define HOLOGRAPHIC_SENSOR 41
265
266
// Hydrocarbon dew point analyzer
267
#define HYDROCARBON_DEW_POINT_ANALYZER 42
268
269
// Hydrogen sensor
270
#define HYDROGEN_SENSOR 43
271
272
// Hydrogen sulfide sensor
273
#define HYDROGEN_SULFIDE_SENSOR 44
274
275
// Infrared point sensor
276
#define INFRARED_POINT_SENSOR 45
277
278
// Ion-selective electrode
279
#define ION_SELECTIVE_ELECTRODE 46
280
281
// Nondispersive infrared sensor
282
#define NONDISPERSIVE_INFRARED 47
283
284
// Microwave chemistry sensor
285
#define MICROWAVE_CHEMISTRY 48
286
287
// Nitrogen oxide sensor
288
#define NITROGEN_OXIDE 49
289
290
// Olfactometer
291
#define OLFACTOMETER 50
292
293
// Optode
294
#define OPTODE 51
295
296
// Oxygen sensor
297
#define OXYGEN_SENSOR 52
298
299
// Ozone monitor
300
#define OZONE_MONITOR 53
301
302
// Pellistor
303
#define PELLISTOR 54
304
305
// pH glass electrode
306
#define PH_GLASS_ELECTRODE 55
307
308
// Potentiometric sensor
309
#define POTENTIOMETRIC_SENSOR 56
310
311
// Redox electrode
312
#define REDOX_ELECTRODE 57
313
314
// Smoke detector
315
#define SMOKE_DETECTOR 58
316
317
// Zinc oxide nanorod sensor
318
#define ZINC_OXIDE_NANOROD_SENSOR 59
319
320
321
/* Electric current, electric potential, magnetic, radio */
322
323
// Current sensor
324
#define CURRENT_SENSOR 60
325
326
// Daly detector
327
#define DALY_DETECTOR 61
328
329
// Electroscope
330
#define ELECTROSCOPE 62
331
332
// Electron multiplier
333
#define ELECTRON_MULTIPLIER 63
334
335
// Faraday cup
336
#define FARADAY_CUP 64
337
338
// Galvanometer
339
#define GALVANOMETER 65
340
341
// Hall effect sensor
342
#define HALL_EFFECT 66
343
344
// Hall probe
345
#define HALL_PROBE 67
346
347
// Magnetic anomaly detector
348
#define MAGNETIC_ANOMALY_DETECTOR 68
349
350
// Magnetometer
351
#define MAGNETOMETER 69
352
353
// MEMS magnetic field sensor
354
#define MEMS_MAGNETIC_FIELD_SENSOR 70
355
356
// Metal detector
357
#define METAL_DETECTOR 71
358
359
// Planar Hall sensor
360
#define PLANAR_HALL 72
361
362
// Radio direction finder
363
#define RADIO_DIRECTION_FINDER 73
364
365
// Voltage detector
366
#define VOLTAGE_DETECTOR 74
367
368
369
/* Flow, fluid velocity */
370
371
// Air flow meter
372
#define AIR_FLOW_METER 75
373
374
// Anemometer
375
#define ANEMOMETER 76
376
377
// Flow sensor
378
#define FLOW_SENSOR 77
379
380
// Gas meter
381
#define GAS_METER 78
382
383
// Mass flow sensor
384
#define MASS_FLOW_SENSOR 79
385
386
// Water meter
387
#define WATER_METER 80
388
389
390
/* Ionizing radiation, subatomic particles */
391
392
// Cloud chamber
393
#define CLOUD_CHAMBER 81
394
395
// Geiger counter
396
#define GEIGER_COUNTER 82
397
398
// Neutron detection
399
#define NEUTRON_DETECTION 83
400
401
// Scintillation counter
402
#define SCINTILLATION_COUNTER 84
403
404
405
/* Navigation instruments */
406
407
// Air speed indicator
408
#define AIR_SPEED_INDICATOR 85
409
410
// Altimeter
411
#define ALTIMETER 86
412
413
// Attitude indicator
414
#define ATTITUDE_INDICATOR 87
415
416
// Depth gauge
417
#define DEPTH_GAUGE 88
418
419
// Fluxgate compass
420
#define FLUXGATE_COMPASS 89
421
422
// Gyroscope
423
#define GYROSCOPE 90
424
425
// Inertial navigation system
426
#define INERTIAL_NAVIGATION_SYSTEM 91
427
428
// Inertial reference unit
429
#define INERTIAL_REFERENCE_UNIT 92
430
431
// Magnetic compass
432
#define MAGNETIC_COMPASS 93
433
434
// MHD sensor
435
#define MHD_SENSOR 94
436
437
// Ring laser gyroscope
438
#define RING_LASER_GYROSCOPE 95
439
440
// Turn coordinator
441
#define TURN_COORDINATOR 96
442
443
// TiaLinx sensor
444
#define TIALINX_SENSOR 97
445
446
// Variometer
447
#define VARIOMETER 98
448
449
// Vibrating structure gyroscope
450
#define VIBRATING_STRUCTURE_GYROSCOPE 99
451
452
// Yaw rate sensor
453
#define YAW_RATE_SENSOR 100
454
455
456
/* Position, angle, displacement, distance, speed, acceleration */
457
458
// Auxanometer
459
#define AUXANOMETER 101
460
461
// Capacitive displacement sensor
462
#define CAPACITIVE_DISPLACEMENT 102
463
464
// Capacitive sensing
465
#define CAPACITIVE_SENSING 103
466
467
// Free fall sensor
468
#define FREE_FALL_SENSOR 104
469
470
// Gravimeter
471
#define GRAVIMETER 105
472
473
// Gyroscopic sensor
474
#define GYROSCOPIC_SENSOR 106
475
476
// Impact sensor
477
#define IMPACT_SENSOR 107
478
479
// Inclinometer
480
#define INCLINOMETER 108
481
482
// Integrated circuit piezoelectric sensor
483
#define INTEGRATED_CIRCUIT_PIEZOELECTRIC 109
484
485
// Laser rangefinder
486
#define LASER_RANGEFINDER 110
487
488
// Laser surface velocimeter
489
#define LASER_SURFACE_VELOCIMETER 111
490
491
// LIDAR
492
#define LIDAR 112
493
494
// Linear encoder
495
#define LINEAR_ENCODER 113
496
497
// Linear variable differential transformer (LVDT)
498
#define LINEAR_VARIABLE_DIFFERENTIAL_TRANSFORMER 114
499
500
// Liquid capacitive inclinometers
501
#define LIQUID_CAPACITIVE_INCLINOMETERS 115
502
503
// Odometer
504
#define ODOMETER 116
505
506
// Photoelectric sensor
507
// (Position, angle, displacement, distance, speed, acceleration)
508
#define PHOTOELECTRIC_SENSOR_PADDSA 117
509
510
// Piezocapactive sensor
511
#define PIEZOCAPACTIVE_SENSOR 118
512
513
// Piezoelectric accelerometer
514
#define PIEZOELECTRIC_ACCELEROMETER 119
515
516
// Position sensor
517
#define POSITION_SENSOR 120
518
519
// Rate sensor
520
#define RATE_SENSOR 121
521
522
// Rotary encoder
523
#define ROTARY_ENCODER 122
524
525
// Rotary variable differential transformer
526
#define ROTARY_VARIABLE_DIFFERENTIAL_TRANSFORMER 123
527
528
// Selsyn
529
#define SELSYN 124
530
531
// Shock detector
532
#define SHOCK_DETECTOR 125
533
534
// Shock data logger
535
#define SHOCK_DATA_LOGGER 126
536
537
// Stretch sensor
538
// (Position, angle, displacement, distance, speed, acceleration)
539
#define STRETCH_SENSOR_PADDSA 127
540
541
// Tilt sensor
542
#define TILT_SENSOR 128
543
544
// Tachometer
545
#define TACHOMETER 129
546
547
// Ultrasonic thickness gauge
548
#define ULTRASONIC_THICKNESS_GAUGE 130
549
550
// Variable reluctance sensor
551
#define VARIABLE_RELUCTANCE 131
552
553
// Velocity receiver
554
#define VELOCITY_RECEIVER 132
555
556
557
/* Optical, light, imaging, photon */
558
559
// Charge-coupled device
560
#define CHARGE_COUPLED_DEVICE 133
561
562
// CMOS sensor
563
#define CMOS_SENSOR 134
564
565
// Colorimeter
566
#define COLORIMETER 135
567
568
// Contact image sensor
569
#define CONTACT_IMAGE 136
570
571
// Electro-optical sensor
572
#define ELECTRO_OPTICAL 137
573
574
// Flame detector
575
#define FLAME_DETECTOR 138
576
577
// Infra-red sensor
578
#define INFRARED 139
579
580
// Kinetic inductance detector
581
#define KINETIC_INDUCTANCE_DETECTOR 140
582
583
// LED as light sensor
584
#define LED_AS_LIGHT 141
585
586
// Light-addressable potentiometric sensor
587
#define LIGHT_ADDRESSABLE_POTENTIOMETRIC 142
588
589
// Nichols radiometer
590
#define NICHOLS_RADIOMETER 143
591
592
// Fiber optic sensors
593
#define FIBER_OPTIC 144
594
595
// Optical position sensor
596
#define OPTICAL_POSITION 145
597
598
// Thermopile laser sensors
599
#define THERMOPILE_LASER 146
600
601
// Photodetector
602
#define PHOTODETECTOR 147
603
604
// Photodiode
605
#define PHOTODIODE 148
606
607
// Photomultiplier tubes
608
#define PHOTOMULTIPLIER_TUBES 149
609
610
// Phototransistor
611
#define PHOTOTRANSISTOR 150
612
613
// Photoelectric sensor
614
#define PHOTOELECTRIC_SENSOR 151
615
616
// Photoionization detector
617
#define PHOTOIONIZATION_DETECTOR 152
618
619
// Photomultiplier
620
#define PHOTOMULTIPLIER 153
621
622
// Photoresistor
623
#define PHOTORESISTOR 154
624
625
// Photoswitch
626
#define PHOTOSWITCH 155
627
628
// Phototube
629
#define PHOTOTUBE 156
630
631
// Scintillometer
632
#define SCINTILLOMETER 157
633
634
// Shack-Hartmann
635
#define SHACK_HARTMANN 158
636
637
// Single-photon avalanche diode
638
#define SINGLE_PHOTON_AVALANCHE_DIODE 159
639
640
// Superconducting nanowire single-photon detector
641
#define SUPERCONDUCTING_NANOWIRE_SINGLE_PHOTON_DETECTOR 160
642
643
// Transition edge sensor
644
#define TRANSITION_EDGE_SENSOR 161
645
646
// Visible light photon counter
647
#define VISIBLE_LIGHT_PHOTON_COUNTER 162
648
649
// Wavefront sensor
650
#define WAVEFRONT_SENSOR 163
651
652
653
/* Pressure */
654
655
// Barograph
656
#define BAROGRAPH 164
657
658
// Barometer
659
#define BAROMETER 165
660
661
// Boost gauge
662
#define BOOST_GAUGE 166
663
664
// Bourdon gauge
665
#define BOURDON_GAUGE 167
666
667
// Hot filament ionization gauge
668
#define HOT_FILAMENT_IONIZATION_GAUGE 168
669
670
// Ionization gauge
671
#define IONIZATION_GAUGE 169
672
673
// McLeod gauge
674
#define MCLEOD_GAUGE 170
675
676
// Oscillating U-tube
677
#define OSCILLATING_U_TUBE 171
678
679
// Permanent Downhole Gauge
680
#define PERMANENT_DOWNHOLE_GAUGE 172
681
682
// Piezometer
683
#define PIEZOMETER 173
684
685
// Pirani gauge
686
#define PIRANI_GAUGE 174
687
688
// Pressure sensor
689
#define PRESSURE_SENSOR 175
690
691
// Pressure gauge
692
#define PRESSURE_GAUGE 176
693
694
// Tactile sensor
695
#define TACTILE_SENSOR 177
696
697
// Time pressure gauge
698
#define TIME_PRESSURE_GAUGE 178
699
700
701
/* Force, density, level */
702
703
// Bhangmeter
704
#define BHANGMETER 179
705
706
// Hydrometer
707
#define HYDROMETER 180
708
709
// Force gauge and Force Sensor
710
#define FORCE_GAUGE_AND_FORCE_SENSOR 181
711
712
// Level sensor
713
#define LEVEL_SENSOR 182
714
715
// Load cell
716
#define LOAD_CELL 183
717
718
// Magnetic level gauge
719
#define MAGNETIC_LEVEL_GAUGE 184
720
721
// Nuclear density gauge
722
#define NUCLEAR_DENSITY_GAUGE 185
723
724
// Piezocapactive pressure sensor
725
#define PIEZOCAPACTIVE_PRESSURE 186
726
727
// Piezoelectric sensor
728
#define PIEZOELECTRIC 187
729
730
// Strain gauge
731
#define STRAIN_GAUGE 188
732
733
// Torque sensor
734
#define TORQUE_SENSOR 189
735
736
// Viscometer
737
#define VISCOMETER 190
738
739
740
/* Thermal, heat, temperature */
741
742
// Bolometer
743
#define BOLOMETER 191
744
745
// Bimetallic strip
746
#define BIMETALLIC_STRIP 192
747
748
// Calorimeter
749
#define CALORIMETER 193
750
751
// Exhaust gas temperature gauge
752
#define EXHAUST_GAS_TEMPERATURE_GAUGE 194
753
754
// Flame detection
755
#define FLAME_DETECTION 195
756
757
// Gardon gauge
758
#define GARDON_GAUGE 196
759
760
// Golay cell
761
#define GOLAY_CELL 197
762
763
// Heat flux sensor
764
#define HEAT_FLUX 198
765
766
// Infrared thermometer
767
#define INFRARED_THERMOMETER 199
768
769
// Microbolometer
770
#define MICROBOLOMETER 200
771
772
// Microwave radiometer
773
#define MICROWAVE_RADIOMETER 201
774
775
// Net radiometer
776
#define NET_RADIOMETER 202
777
778
// Quartz thermometer
779
#define QUARTZ_THERMOMETER 203
780
781
// Resistance temperature detector
782
#define RESISTANCE_TEMPERATURE_DETECTOR 204
783
784
// Resistance thermometer
785
#define RESISTANCE_THERMOMETER 205
786
787
// Silicon bandgap temperature sensor
788
#define SILICON_BANDGAP_TEMPERATURE 206
789
790
// Special sensor microwave/imager
791
#define MICROWAVEIMAGER 207
792
793
// Temperature gauge
794
#define TEMPERATURE_GAUGE 208
795
796
// Thermistor
797
#define THERMISTOR 209
798
799
// Thermocouple
800
#define THERMOCOUPLE 210
801
802
// Thermometer
803
#define THERMOMETER 211
804
805
// Pyrometer
806
#define PYROMETER 212
807
808
809
/* Proximity, presence */
810
811
// Alarm sensor
812
#define ALARM_SENSOR 213
813
814
// Doppler radar
815
#define DOPPLER_RADAR 214
816
817
// Motion detector
818
#define MOTION_DETECTOR 215
819
820
// Occupancy sensor
821
#define OCCUPANCY_SENSOR 216
822
823
// Proximity sensor
824
#define PROXIMITY_SENSOR 217
825
826
// Passive infrared sensor
827
#define PASSIVE_INFRARED_SENSOR 218
828
829
// Reed switch
830
#define REED_SWITCH 219
831
832
// Stud finder
833
#define STUD_FINDER 220
834
835
// Triangulation sensor
836
#define TRIANGULATION_SENSOR 221
837
838
// Touch switch
839
#define TOUCH_SWITCH 222
840
841
// Wired glove
842
#define WIRED_GLOVE 223
843
844
845
/* Sensor technology */
846
847
// Active pixel sensor
848
#define ACTIVE_PIXEL_SENSOR 224
849
850
// Back-illuminated sensor
851
#define BACK_ILLUMINATED_SENSOR 225
852
853
// Biochip
854
#define BIOCHIP 226
855
856
// Biosensor
857
#define BIOSENSOR 227
858
859
// Capacitance probe
860
#define CAPACITANCE_PROBE 228
861
862
// Capacitance sensor
863
#define CAPACITANCE_SENSOR 229
864
865
// Catadioptric sensor
866
#define CATADIOPTRIC_SENSOR 230
867
868
// Carbon paste electrode
869
#define CARBON_PASTE_ELECTRODE 231
870
871
// Digital sensors
872
#define DIGITAL_SENSORS 232
873
874
// Displacement receiver
875
#define DISPLACEMENT_RECEIVER 233
876
877
// Electromechanical film
878
#define ELECTROMECHANICAL_FILM 234
879
880
// Electro-optical sensor
881
#define ELECTRO_OPTICAL_SENSOR 235
882
883
// Fabry-Pérot interferometer
884
#define FABRY_PEROT_INTERFEROMETER 236
885
886
// Fisheries acoustics
887
#define FISHERIES_ACOUSTICS 237
888
889
// Image sensor
890
#define IMAGE_SENSOR 238
891
892
// Image sensor format
893
#define IMAGE_SENSOR_FORMAT 239
894
895
// Inductive sensor
896
#define INDUCTIVE_SENSOR 240
897
898
// Intelligent sensor
899
#define INTELLIGENT_SENSOR 241
900
901
// Lab-on-a-chip
902
#define LAB_ON_A_CHIP 242
903
904
// Leaf sensor
905
#define LEAF_SENSOR 243
906
907
// Machine vision
908
#define MACHINE_VISION 244
909
910
// Microelectromechanical systems
911
#define MICROELECTROMECHANICAL_SYSTEMS 245
912
913
// Photoelasticity
914
#define PHOTOELASTICITY 246
915
916
// Quantum sensor
917
#define QUANTUM_SENSOR 247
918
919
// Radar
920
#define RADAR 248
921
922
// Ground-penetrating radar
923
#define GROUND_PENETRATING_RADAR 249
924
925
// Synthetic aperture radar
926
#define SYNTHETIC_APERTURE_RADAR 250
927
928
// Radar tracker
929
#define RADAR_TRACKER 251
930
931
// Stretch sensor
932
#define STRETCH_SENSOR 252
933
934
// Sensor array
935
#define SENSOR_ARRAY 253
936
937
// Sensor fusion
938
#define SENSOR_FUSION 254
939
940
// Sensor grid
941
#define SENSOR_GRID 255
942
943
// Sensor node
944
#define SENSOR_NODE 256
945
946
// Soft sensor
947
#define SOFT_SENSOR 257
948
949
// Sonar
950
#define SONAR 258
951
952
// Staring array
953
#define STARING_ARRAY 259
954
955
// Transducer
956
#define TRANSDUCER 260
957
958
// Ultrasonic sensor
959
#define ULTRASONIC_SENSOR 261
960
961
// Video sensor
962
#define VIDEO_SENSOR 262
963
964
// Visual sensor network
965
#define VISUAL_SENSOR_NETWORK 263
966
967
// Wheatstone bridge
968
#define WHEATSTONE_BRIDGE 264
969
970
// Wireless sensor network
971
#define WIRELESS_SENSOR_NETWORK 265
972
973
974
/* Other sensors and sensor related properties and concepts */
975
976
// Actigraphy
977
#define ACTIGRAPHY 266
978
979
// Air pollution sensor
980
#define AIR_POLLUTION_SENSOR 267
981
982
// Analog image processing
983
#define ANALOG_IMAGE_PROCESSING 268
984
985
// Atomic force microscopy
986
#define ATOMIC_FORCE_MICROSCOPY 269
987
988
// Atomic Gravitational Wave Interferometric Sensor
989
#define ATOMIC_GRAVITATIONAL_WAVE_INTERFEROMETRIC 270
990
991
// Attitude control (spacecraft):
992
// Horizon sensor, Earth sensor, Sun sensor
993
#define HORIZON_SENSOR_EARTH_SENSOR_SUN_SENSOR 271
994
995
// Chemoreceptor
996
#define CHEMORECEPTOR 272
997
998
// Compressive sensing
999
#define COMPRESSIVE_SENSING 273
1000
1001
// Cryogenic particle detectors
1002
#define CRYOGENIC_PARTICLE_DETECTOR 274
1003
1004
// Dew warning
1005
#define DEW_WARNING 275
1006
1007
// Diffusion tensor imaging
1008
#define DIFFUSION_TENSOR_IMAGING 276
1009
1010
// Digital holography
1011
#define DIGITAL_HOLOGRAPHY 277
1012
1013
// Electronic tongue
1014
#define ELECTRONIC_TONGUE 278
1015
1016
// Fine Guidance Sensor
1017
#define FINE_GUIDANCE_SENSOR 279
1018
1019
// Flat panel detector
1020
#define FLAT_PANEL_DETECTOR 280
1021
1022
// Functional magnetic resonance imaging
1023
#define FUNCTIONAL_MAGNETIC_RESONANCE_IMAGING 281
1024
1025
// Glass break detector
1026
#define GLASS_BREAK_DETECTOR 282
1027
1028
// Heartbeat sensor
1029
#define HEARTBEAT_SENSOR 283
1030
1031
// Hyperspectral sensors
1032
#define HYPERSPECTRAL_SENSORS 284
1033
1034
// IRIS (Biosensor), Interferometric Reflectance Imaging Sensor
1035
#define INTERFEROMETRIC_REFLECTANCE_IMAGING_SENSOR 285
1036
1037
// Laser beam profiler
1038
#define LASER_BEAM_PROFILER 286
1039
1040
// Littoral Airborne Sensor/Hyperspectral
1041
#define LITTORAL_AIRBORNE_SENSOR_HYPERSPECTRAL 287
1042
1043
// LORROS
1044
#define LORROS 288
1045
1046
// Millimeter wave scanner
1047
#define MILLIMETER_WAVE_SCANNER 289
1048
1049
// Magnetic resonance imaging
1050
#define MAGNETIC_RESONANCE_IMAGING 290
1051
1052
// Moire deflectometry
1053
#define MOIRE_DEFLECTOMETRY 291
1054
1055
// Molecular sensor
1056
#define MOLECULAR_SENSOR 292
1057
1058
// Nanosensor
1059
#define NANOSENSOR 293
1060
1061
// Nano-tetherball Sensor
1062
#define NANO_TETHERBALL_SENSOR 294
1063
1064
// Omnidirectional camera
1065
#define OMNIDIRECTIONAL_CAMERA 295
1066
1067
// Organoleptic sensors
1068
#define ORGANOLEPTIC_SENSORS 296
1069
1070
// Optical coherence tomography
1071
#define OPTICAL_COHERENCE_TOMOGRAPHY 297
1072
1073
// Phase unwrapping techniques
1074
#define PHASE_UNWRAPPING_TECHNIQUES 298
1075
1076
// Polygraph Truth Detection
1077
#define POLYGRAPH_TRUTH_DETECTION 299
1078
1079
// Positron emission tomography
1080
#define POSITRON_EMISSION_TOMOGRAPHY 300
1081
1082
// Push broom scanner
1083
#define PUSH_BROOM_SCANNER 301
1084
1085
// Quantization (signal processing)
1086
#define QUANTIZATION 302
1087
1088
// Range imaging
1089
#define RANGE_IMAGING 303
1090
1091
// Scanning SQUID microscope
1092
#define SCANNING_SQUID_MICROSCOPE 304
1093
1094
// Single-Photon Emission Computed Tomography (SPECT)
1095
#define SINGLE_PHOTON_EMISSION_COMPUTED_TOMOGRAPHY 305
1096
1097
// Smartdust
1098
#define SMARTDUST 306
1099
1100
// SQUID, Superconducting quantum interference device
1101
#define SUPERCONDUCTING_QUANTUM_INTERFERENCE_DEVICE 307
1102
1103
// SSIES, Special Sensors-Ions, Electrons,
1104
// and Scintillation thermal plasma analysis package
1105
#define IONS_ELECTRONS_AND_SCINTILLATION_THERMAL_PLASMA 308
1106
1107
// SSMIS, Special Sensor Microwave Imager / Sounder
1108
#define SPECIAL_SENSOR_MICROWAVE_IMAGER_SOUNDER 309
1109
1110
// Structured-light 3D scanner
1111
#define STRUCTURED_LIGHT_3D_SCANNER 310
1112
1113
// Sun sensor, Attitude control (spacecraft)
1114
#define SUN_SENSOR_ATTITUDE_CONTROL 311
1115
1116
// Thin-film thickness monitor
1117
#define THIN_FILM_THICKNESS_MONITOR 312
1118
1119
// Time-of-flight camera
1120
#define TIME_FLIGHT_CAMERA 313
1121
1122
// TriDAR, Triangulation and LIDAR Automated Rendezvous and Docking
1123
#define TRIANGULATION_LIDAR_DOCKING 314
1124
1125
// Unattended Ground Sensors
1126
#define UNATTENDED_GROUND 315
1127
1128
1129
/* WiiMote */
1130
1131
// battery
1132
#define WIIMOTE_BATTERY 316
1133
1134
//Infrared sensor
1135
#define WIIMOTE_INFRARED 317
1136
1137
//Digital buttons (A, B, −, +, HOME, 1, 2)
1138
#define WIIMOTE_BUTTON_ONE 318
1139
#define WIIMOTE_BUTTON_TWO 319
1140
#define WIIMOTE_BUTTON_MINUS 320
1141
#define WIIMOTE_BUTTON_PLUS 321
1142
#define WIIMOTE_BUTTON_HOME 322
1143
#define WIIMOTE_BUTTON_A 323
1144
#define WIIMOTE_BUTTON_B 324
1145
1146
//D-Pad
1147
#define WIIMOTE_BUTTON_UP 325
1148
#define WIIMOTE_BUTTON_DOWN 326
1149
#define WIIMOTE_BUTTON_LEFT 327
1150
#define WIIMOTE_BUTTON_RIGHT 328
1151
1152
// Accelerometer
1153
#define WIIMOTE_ACCEL 329
1154
#define WIIMOTE_ACCEL_X_AXIS 330
1155
#define WIIMOTE_ACCEL_Y_AXIS 331
1156
#define WIIMOTE_ACCEL_Z_AXIS 332
1157
1158
// Gyroscope (Wii Remote Plus only)
1159
#define WIIMOTE_GYRO 333
1160
#define WIIMOTE_GYRO_PITCH 334
1161
#define WIIMOTE_GYRO_YAW 335
1162
#define WIIMOTE_GYRO_ROLL 336
1163
1164
/* Sensors used in 'isislab' www.isislab.it */
1165
1166
#define ISISLAB_LIGHT 337
1167
#define ISISLAB_MOTION 338
1168
#define ISISLAB_TEMPERATURE 339
1169
#define ISISLAB_COMPASS 340
1170
#define ISISLAB_HUMIDITY 341
1171
#define ISISLAB_SOUND 342
1172
#define ISISLAB_TOUCH 343
1173
#define ISISLAB_ULTRASOUND 344
1174
#define ISISLAB_INFRARED 345
1175
#define ISISLAB_ACCEL_X_AXIS 346
1176
#define ISISLAB_ACCEL_Y_AXIS 347
1177
#define ISISLAB_ACCEL_Z_AXIS 348
1178
#define ISISLAB_GYRO_X_AXIS 349
1179
#define ISISLAB_GYRO_Y_AXIS 350
1180
#define ISISLAB_GYRO_Z_AXIS 351
1181
#define ISISLAB_BUTTON 352
1182
#define ISISLAB_RSSI 353
1183
1184
/* Your sensors (max 65535) */
1185
1189
#endif
Generated by
1.8.13