Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
// Format schema here as JSON
{
  info: stringchar array, 100 characters, 8 bits * 100 = 800 bits = 100bytes, // Encompasses the second line of the QR scan result
  date: MMDDYY, 6 string,
  time: stringcharacters, 8 bits * 6 chars = 48 bits = 6 bytes,
  device_id: string,
  sensor_id: string
}

Encoding

...

time: HHMM, 4 chars, 32 bits = 4 bytes
}

Encoding - This will go into the frame message section of the zigbee

Frame protocol: Comms

Message Size: 110 bytes* (Note that this does NOT mean the message length in the frame will be 110, it will be 110 + everything before the message)

Code Block
languagenone
$info;date;time;device_id;sensor_id;info (bytes 0-99) | date (bytes 100-105) | time (bytes 106-109)

*The use of bytes here is intentional, we mean bytes not bits

Implementation - Computer Vision (OUTDATED, NEW ONE SOON)

...