SenML units and secondary units. 
| Enumerator | 
|---|
| SENML_UNIT_NONE  | No unit specified.  
 | 
| SENML_UNIT_METER  | meter (m)  
 | 
| SENML_UNIT_KILOGRAM  | kilogram (kg)  
 | 
| SENML_UNIT_GRAM  | gram (g)  
 | 
| SENML_UNIT_SECOND  | second (s)  
 | 
| SENML_UNIT_AMPERE  | ampere (A)  
 | 
| SENML_UNIT_KELVIN  | kelvin (K)  
 | 
| SENML_UNIT_CANDELA  | candela (cd)  
 | 
| SENML_UNIT_MOLE  | mole (mol)  
 | 
| SENML_UNIT_HERTZ  | hertz (Hz)  
 | 
| SENML_UNIT_RADIAN  | radian (rad)  
 | 
| SENML_UNIT_STERADIAN  | steradian (sr)  
 | 
| SENML_UNIT_NEWTON  | newton (N)  
 | 
| SENML_UNIT_PASCAL  | pascal (Pa)  
 | 
| SENML_UNIT_JOULE  | joule (J)  
 | 
| SENML_UNIT_WATT  | watt (W)  
 | 
| SENML_UNIT_COULOMB  | coulomb (C)  
 | 
| SENML_UNIT_VOLT  | volt (V)  
 | 
| SENML_UNIT_FARAD  | farad (F)  
 | 
| SENML_UNIT_OHM  | ohm (Ohm)  
 | 
| SENML_UNIT_SIEMENS  | siemens (S)  
 | 
| SENML_UNIT_WEBER  | weber (Wb)  
 | 
| SENML_UNIT_TESLA  | tesla (T)  
 | 
| SENML_UNIT_HENRY  | henry (H)  
 | 
| SENML_UNIT_CELSIUS  | degrees Celsius (Cel)  
 | 
| SENML_UNIT_LUMEN  | lumen (lm)  
 | 
| SENML_UNIT_LUX  | lux (lx)  
 | 
| SENML_UNIT_BECQUEREL  | becquerel (Bq)  
 | 
| SENML_UNIT_GRAY  | gray (Gy)  
 | 
| SENML_UNIT_SIEVERT  | sievert (Sv)  
 | 
| SENML_UNIT_KATAL  | katal (kat)  
 | 
| SENML_UNIT_SQUARE_METER  | square meter (area) (m2)  
 | 
| SENML_UNIT_CUBIC_METER  | cubic meter (volume) (m3)  
 | 
| SENML_UNIT_LITER  | liter (volume) (l)  
 | 
| SENML_UNIT_METER_PER_SECOND  | meter per second (velocity) (m/s)  
 | 
| SENML_UNIT_METER_PER_SQUARE_SECOND  | meter per square second (acceleration) (m/s2)  
 | 
| SENML_UNIT_CUBIC_METER_PER_SECOND  | cubic meter per second (flow rate) (m3/s)  
 | 
| SENML_UNIT_LITER_PER_SECOND  | liter per second (flow rate) (l/s)  
 | 
| SENML_UNIT_WATT_PER_SQUARE_METER  | watt per square meter (irradiance) (W/m2)  
 | 
| SENML_UNIT_CANDELA_PER_SQUARE_METER  | candela per square meter (luminance) (cd/m2)  
 | 
| SENML_UNIT_BIT  | bit (information content) (bit)  
 | 
| SENML_UNIT_BIT_PER_SECOND  | bit per second (data rate) (bit/s)  
 | 
| SENML_UNIT_LATITUDE  | degrees latitude (lat)  
 | 
| SENML_UNIT_LONGITUDE  | degrees longitude (lon)  
 | 
| SENML_UNIT_PH  | pH value (acidity; logarithmic quantity) (pH)  
 | 
| SENML_UNIT_DECIBEL  | decibel (logarithmic quantity) (dB)  
 | 
| SENML_UNIT_DBW  | decibel relative to 1 W (power level) (dBW)  
 | 
| SENML_UNIT_BEL  | bel (sound pressure level; logarithmic quantity) (Bspl)  
 | 
| SENML_UNIT_COUNT  | 1 (counter value) (count)  
 | 
| SENML_UNIT_RATIO  | 1 (ratio e.g., value of a switch) (/)  
 | 
| SENML_UNIT_RATIO_2  | 1 (ratio e.g., value of a switch) (%)  
 | 
| SENML_UNIT_RELATIVE_HUMIDITY_PERCENT  | Percentage (Relative Humidity) (RH)  
 | 
| SENML_UNIT_REMAINING_BATTERY_PERCENT  | Percentage (remaining battery energy level) (EL)  
 | 
| SENML_UNIT_REMAINING_BATTERY_SECONDS  | seconds (remaining battery energy level) (EL)  
 | 
| SENML_UNIT_RATE  | 1 per second (event rate) (1/s)  
 | 
| SENML_UNIT_RPM  | 1 per minute (event rate, "rpm") (1/min)  
 | 
| SENML_UNIT_BEAT_PER_MINUTE  | 1 per minute (heart rate in beats per minute) (beat/min))  
 | 
| SENML_UNIT_BEATS  | 1 (Cumulative number of heart beats) (beats)  
 | 
| SENML_UNIT_SIEMENS_PER_METER  | Siemens per meter (conductivity) (S/m)  
 | 
| SENML_UNIT_BYTE  | Byte (information content) (B)  
 | 
| SENML_UNIT_VOLT_AMPERE  | volt-ampere (Apparent Power) (VA)  
 | 
| SENML_UNIT_VOLT_AMPERE_SECOND  | volt-ampere second (Apparent Energy) (VAs)  
 | 
| SENML_UNIT_VOLT_AMPERE_REACTIVE  | volt-ampere reactive (Reactive Power) (var)  
 | 
| SENML_UNIT_VOLT_AMPERE_REACTIVE_SECOND  | volt-ampere-reactive second (Reactive Energy) (vars)  
 | 
| SENML_UNIT_JOULE_PER_METER  | joule per meter (Energy per distance) (J/m)  
 | 
| SENML_UNIT_KILOGRAM_PER_CUBIC_METER  | kilogram per cubic meter (mass density, mass concentration) (kg/m3)  
 | 
| SENML_UNIT_DEGREE  | degree (angle) (deg)  
 | 
| SENML_UNIT_NEPHELOMETRIC_TURBIDITY_UNIT  | Nephelometric Turbidity Unit (NTU)  
 | 
| SENML_UNIT_MILLISECOND  | millisecond (ms, equivalent to 1/1000 s)  
 | 
| SENML_UNIT_MINUTE  | minute (min, equivalent to 60 s)  
 | 
| SENML_UNIT_HOUR  | hour (h, equivalent to 3600 s)  
 | 
| SENML_UNIT_MEGAHERTZ  | megahertz (MHz, equivalent to 1000000 Hz)  
 | 
| SENML_UNIT_KILOWATT  | kilowatt (kW, equivalent to 1000 W)  
 | 
| SENML_UNIT_KILOVOLT_AMPERE  | kilovolt-ampere (kVA, equivalent to 1000 VA)  
 | 
| SENML_UNIT_KILOVAR  | kilovar (kvar, equivalent to 1000 var)  
 | 
| SENML_UNIT_AMPERE_HOUR  | ampere-hour (Ah, equivalent to 3600 C)  
 | 
| SENML_UNIT_WATT_HOUR  | watt-hour (Wh, equivalent to 3600 J)  
 | 
| SENML_UNIT_KILOWATT_HOUR  | kilowatt-hour (kWh, equivalent to 3600000 J)  
 | 
| SENML_UNIT_VAR_HOUR  | var-hour (varh, equivalent to 3600 vars)  
 | 
| SENML_UNIT_KILOVAR_HOUR  | kilovar-hour (kvarh, equivalent to 3600000 vars)  
 | 
| SENML_UNIT_KILOVOLT_AMPERE_HOUR  | kilovolt-ampere-hour (kVAh, equivalent to 3600000 VAs)  
 | 
| SENML_UNIT_WATT_HOUR_PER_KILOMETER  | watt-hour per kilometer (Wh/km, equivalent to 3.6 J/m)  
 | 
| SENML_UNIT_KIBIBYTE  | kibibyte (KiB, equivalent to 1024 B)  
 | 
| SENML_UNIT_GIGABYTE  | gigabyte (GB, equivalent to 1e9 B)  
 | 
| SENML_UNIT_MEGABIT_PER_SECOND  | megabit per second (Mbit/s, equivalent to 1000000 bit/s)  
 | 
| SENML_UNIT_BYTE_PER_SECOND  | byte per second (B/s, equivalent to 8 bit/s)  
 | 
| SENML_UNIT_MEGABYTE_PER_SECOND  | megabyte per second (MB/s, equivalent to 8000000 bit/s)  
 | 
| SENML_UNIT_MILLIVOLT  | millivolt (mV, equivalent to 1/1000 V)  
 | 
| SENML_UNIT_MILLIAMPERE  | milliampere (mA, equivalent to 1/1000 A)  
 | 
| SENML_UNIT_DECIBEL_MILLIWATT  | decibel (milliwatt) (dBm, equivalent to -29 dBW)  
 | 
| SENML_UNIT_MICROGRAM_PER_CUBIC_METER  | microgram per cubic meter (ug/m3, equivalent to 1e-9 kg/m3)  
 | 
| SENML_UNIT_MILLIMETER_PER_HOUR  | millimeter per hour (mm/h, equivalent to 1/3600000 m/s)  
 | 
| SENML_UNIT_METER_PER_HOUR  | meter per hour (m/h, equivalent to 1/3600 m/s)  
 | 
| SENML_UNIT_PARTS_PER_MILLION  | parts per million (ppm, equivalent to 1e-6 '/')  
 | 
| SENML_UNIT_PERCENT  | percent (/100, equivalent to 1/100 '/')  
 | 
| SENML_UNIT_PERMILLE  | permille (/1000, equivalent to 1/1000 '/')  
 | 
| SENML_UNIT_HECTOPASCAL  | hectopascal (hPa, equivalent to 100 Pa)  
 | 
| SENML_UNIT_MILLIMETER  | millimeter (mm, equivalent to 1/1000 m)  
 | 
| SENML_UNIT_CENTIMETER  | centimeter (cm, equivalent to 1/100 m)  
 | 
| SENML_UNIT_KILOMETER  | kilometer (km, equivalent to 1000 m)  
 | 
| SENML_UNIT_KILOMETER_PER_HOUR  | kilometer per hour (km/h, equivalent to 1/3.6 m/s)  
 | 
| SENML_UNIT_PARTS_PER_BILLION  | parts per billion (ppb, equivalent to 1e-9 '/')  
 | 
| SENML_UNIT_PARTS_PER_TRILLION  | parts per trillion (ppt, equivalent to 1e-12 '/')  
 | 
| SENML_UNIT_VOLT_AMPERE_HOUR  | volt-ampere-hour (VAh, equivalent to 3600 VAs)  
 | 
| SENML_UNIT_MILLIGRAM_PER_LITER  | milligram per liter (mg/l, equivalent to 1/1000 kg/m3)  
 | 
| SENML_UNIT_MICROGRAM_PER_LITER  | microgram per liter (ug/l, equivalent to 1e-6 kg/m3)  
 | 
| SENML_UNIT_GRAM_PER_LITER  | gram per liter (g/l, equivalent to 1 kg/m3)  
 |