mirror of
https://github.com/merbanan/rtl_433.git
synced 2026-04-22 10:37:03 -04:00
Add option to verify simulated decoding of raw data
This commit is contained in:
committed by
Benjamin Larsson
parent
413f31f7ad
commit
9c3cecf681
@@ -138,4 +138,14 @@ int pulse_demod_clock_bits(const pulse_data_t *pulses, struct protocol_state *de
|
||||
|
||||
int pulse_demod_osv1(const pulse_data_t *pulses, struct protocol_state *device);
|
||||
|
||||
|
||||
/// Simulate demodulation using a given signal code string
|
||||
///
|
||||
/// The (optionally "0x" prefixed) hex code is processed into a bitbuffer_t.
|
||||
/// Each row is optionally prefixed with a length enclosed in braces "{}" or
|
||||
/// separated with a slash "/" character. Whitespace is ignored.
|
||||
/// Device params are disregarded.
|
||||
/// @return number of events processed
|
||||
int pulse_demod_string(const char *code, struct protocol_state *device);
|
||||
|
||||
#endif /* INCLUDE_PULSE_DEMOD_H_ */
|
||||
|
||||
Reference in New Issue
Block a user