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