Skip to content

Instantly share code, notes, and snippets.

@erwan
Created April 2, 2014 19:00
Show Gist options
  • Save erwan/9940807 to your computer and use it in GitHub Desktop.
Save erwan/9940807 to your computer and use it in GitHub Desktop.
Send: 0x0d 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Send: 0x0d 0x00 0x00 0x01 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Recv: 0x0d 0x01 0x00 0x01 0x02 0x53 0x47 0x00 0x0c 0x2f 0x01 0x01 0x00 0x00
Recv: 0x0a 0x52 0x01 0x00 0xa4 0x01 0x00 0xa5 0x37 0x00 0x79
Sensor Temp = 16.50
Sensor Hum = 55.00
Device id = a4:01
Recv: 0x0a 0x52 0x01 0x01 0x35 0x04 0x00 0xa7 0x37 0x00 0x79
Sensor Temp = 16.70
Sensor Hum = 55.00
Device id = 35:04
Recv: 0x0a 0x52 0x01 0x02 0xe9 0x02 0x00 0xc2 0x40 0x00 0x69
Sensor Temp = 19.40
Sensor Hum = 64.00
Device id = e9:02
Recv: 0x0a 0x52 0x01 0x03 0xa4 0x01 0x00 0xa5 0x37 0x00 0x79
Sensor Temp = 16.50
Sensor Hum = 55.00
Device id = a4:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment