Portisch / RF-Bridge-EFM8BB1

Alternative Firmware for the Sonoff RF Bridge EFM8BB1 chip
290 stars 122 forks source link

Data/Description table for example in wiki for 0xB0 is of 0xB1 command #178

Open asp55 opened 3 years ago

asp55 commented 3 years ago

The table on the 0xB0 command wiki is breaking down a 0xB1 command, and as a result it's missing descriptions of length byte and repetition byte.

Should be:

Data Description
0xAA uart sync init
0xB0 uart command
0x25 Length, in bytes, of the remainder of the data (not including 0x55 at the end)
0x04 Number of buckets
0x08 Repetition count
0x01, 0x7C Bucket 0 length: 380µs
0x04, 0x6A Bucket 1 length: 1130µs
0x0B, 0xCC Bucket 2 length: 3020µs
0x23, 0x78 Bucket 3 length: 9080µs
3818190908181908190909090908190819081818190909091A RF data to send (Each nibble represents bucket number buckets and high/low marking)
0x55 uart sync end