rtl433
UNKNOWN
RTL-433 utility
|
Data Structures | |
struct | flex_map |
struct | flex_get |
struct | flex_params |
Functions | |
static int | bit (const uint8_t *bytes, unsigned bit) |
unsigned long | compact_number (uint8_t *data, unsigned bit_offset, unsigned long mask) |
extract all mask bits skipping unmasked bits of a number up to 32/64 bits More... | |
unsigned long | extract_number (uint8_t *data, unsigned bit_offset, unsigned bit_count) |
extract a number up to 32/64 bits from given offset with given bit length More... | |
static int | flex_callback (r_device *decoder, bitbuffer_t *bitbuffer) |
static void | usage () |
static void | help () |
static unsigned | parse_modulation (char const *str) |
static unsigned | parse_bits (const char *code, bitrow_t bitrow) |
const char * | parse_map (const char *arg, struct flex_get *getter) |
static void | parse_getter (const char *arg, struct flex_get *getter) |
r_device * | flex_create_device (char *spec) |
Variables | |
static char * | output_fields [] |
|
inlinestatic |
Referenced by compact_number().
unsigned long compact_number | ( | uint8_t * | data, |
unsigned | bit_offset, | ||
unsigned long | mask | ||
) |
extract all mask bits skipping unmasked bits of a number up to 32/64 bits
References bit().
Referenced by flex_callback().
unsigned long extract_number | ( | uint8_t * | data, |
unsigned | bit_offset, | ||
unsigned | bit_count | ||
) |
extract a number up to 32/64 bits from given offset with given bit length
References emontx::len.
Referenced by flex_callback(), and parse_getter().
|
static |
References bitbuffer::bb, flex_get::bit_count, flex_get::bit_offset, bitbuffer_extract_bytes(), bitbuffer_find_repeated_row(), bitbuffer_invert(), bitbuffer_print(), bitbuffer_search(), bitbuffer::bits_per_row, compact_number(), flex_params::count_only, data_append(), DATA_ARRAY, DATA_DATA, DATA_INT, data_make(), DATA_STRING, r_device::decode_ctx, decoder_output_data(), extract_number(), flex_params::getter, flex_params::invert, flex_map::key, flex_get::map, flex_get::mask, flex_params::match_bits, flex_params::match_len, flex_params::max_bits, flex_params::max_rows, flex_params::min_bits, flex_params::min_repeats, flex_params::min_rows, flex_get::name, flex_params::name, bitbuffer::num_rows, flex_params::preamble_bits, flex_params::preamble_len, flex_params::reflect, reverse8(), flex_map::val, and r_device::verbose.
Referenced by flex_create_device().
r_device* flex_create_device | ( | char * | spec | ) |
References flex_params::count_only, r_device::decode_ctx, r_device::decode_fn, r_device::fields, flex_callback(), r_device::gap_limit, getkwargs(), flex_params::getter, help(), flex_params::invert, flex_map::key, r_device::long_width, flex_params::match_bits, flex_params::match_len, flex_params::max_bits, flex_params::max_repeats, flex_params::max_rows, flex_params::min_bits, flex_params::min_repeats, flex_params::min_rows, r_device::modulation, r_device::name, flex_params::name, OOK_PULSE_DMC, OOK_PULSE_MANCHESTER_ZEROBIT, OOK_PULSE_PIWM_DC, OOK_PULSE_PIWM_RAW, OOK_PULSE_PWM, output_fields, parse_bits(), parse_getter(), parse_modulation(), flex_params::preamble_bits, flex_params::preamble_len, flex_params::reflect, remove_ws(), r_device::reset_limit, r_device::short_width, strdup(), strlen(), r_device::sync_width, r_device::tolerance, trim_ws(), usage(), and flex_map::val.
Referenced by parse_conf_option().
|
static |
Referenced by flex_create_device().
|
static |
References bitbuffer::bb, bitbuffer_parse(), bitbuffer::bits_per_row, bitbuffer::num_rows, and usage().
Referenced by flex_create_device(), and parse_getter().
|
static |
References flex_get::bit_count, flex_get::bit_offset, extract_number(), flex_get::mask, flex_get::name, parse_bits(), parse_map(), strdup(), and usage().
Referenced by flex_create_device().
const char* parse_map | ( | const char * | arg, |
struct flex_get * | getter | ||
) |
References flex_map::key, flex_get::map, and flex_map::val.
Referenced by parse_getter().
|
static |
|
static |
Referenced by flex_create_device(), parse_bits(), parse_getter(), and parse_modulation().
|
static |
Referenced by flex_create_device().