Advertisement
penright

Untitled

Jan 10th, 2022
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. /*
  2. All data little endian
  3. uint8_t size; // = 19
  4. uint8_t uid; // = 0x16, 16-bit UUID
  5. uint16_t UUID; // = 0x181A, GATT Service 0x181A Environmental Sensing
  6. uint8_t MAC[6]; // [0] - lo, .. [5] - hi digits
  7. int16_t temperature; // x 0.01 degree [6,7]
  8. uint16_t humidity; // x 0.01 % [8,9]
  9. uint16_t battery_mv; // mV [10,11]
  10. uint8_t battery_level; // 0..100 % [12]
  11. uint8_t counter; // measurement count [13]
  12. uint8_t flags; [14]
  13. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement