Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CFSworks/wavebird-reversing
/ functions
Functions
16 in github.com/CFSworks/wavebird-reversing
⨍
Functions
16
◇
Types & classes
0
↓ 4 callers
Function
cyclic_decode
(x)
06_error_detection_and_correction/analyze_buttons.py:63
↓ 4 callers
Function
cyclic_decode
(x)
06_error_detection_and_correction/find_crc_messages.py:9
↓ 4 callers
Function
cyclic_encode
Encode a 21-bit value into a 31-bit cyclic-encoded codeword. This scheme is essentially what POCSAG uses.
06_error_detection_and_correction/generate_message.py:55
↓ 2 callers
Function
interleave
Interleaves 'n', where n is understood to be a b-bit integer The interleaving scheme is essentially this: write the bits of 'n' into a b
06_error_detection_and_correction/generate_message.py:32
↓ 1 callers
Function
crc16
Compute CRC-CCITT on the bits of integer 'n' This implementation uses a continuously-running shift register going in reverse to work on
06_error_detection_and_correction/generate_message.py:5
↓ 1 callers
Function
deinterleave
(x)
06_error_detection_and_correction/analyze_buttons.py:79
↓ 1 callers
Function
deinterleave
(x)
06_error_detection_and_correction/find_crc_messages.py:24
↓ 1 callers
Function
do_annotate
(fig, chips)
zz_tools/ch5_render.py:12
↓ 1 callers
Function
fec_encode
Encode 84-bit value 'x' using 4 cyclic_encodes, then interleave
06_error_detection_and_correction/generate_message.py:74
↓ 1 callers
Function
frame
'Frame' the encoded 124-bit payload and 16-bit CRC for transmission
06_error_detection_and_correction/generate_message.py:88
↓ 1 callers
Function
full_decode
(x)
06_error_detection_and_correction/analyze_buttons.py:90
↓ 1 callers
Function
full_decode
(x)
06_error_detection_and_correction/find_crc_messages.py:34
↓ 1 callers
Function
hamming_distance
Find the Hamming distance between a<->b, treating both as equal-length ints
06_error_detection_and_correction/find_hamming_distance.py:7
↓ 1 callers
Function
hyst
Analyze 'x' and return False where it's below th_lo, True where it's above th_hi, and the previous value if between. From https://stacko
05_line_coding_and_framing/decode_wavebird.py:23
↓ 1 callers
Function
pack
Pack a raw WaveBird message given button states and axis values
06_error_detection_and_correction/generate_message.py:103
Function
update
(i)
zz_tools/ch3_animations.py:32