File: rfraw.h

package info (click to toggle)
rtl-433 25.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,192 kB
  • sloc: ansic: 55,982; cpp: 3,263; python: 2,544; php: 55; javascript: 43; sh: 18; makefile: 16
file content (24 lines) | stat: -rw-r--r-- 669 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/** @file
    RfRaw format functions.

    Copyright (C) 2020 Christian W. Zuckschwerdt <zany@triq.net>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.
*/

#ifndef INCLUDE_RFRAW_H_
#define INCLUDE_RFRAW_H_

#include "pulse_detect.h"
#include <stdbool.h>

/// Check if a given string is in RfRaw format.
bool rfraw_check(char const *p);

/// Decode RfRaw string to pulse data.
bool rfraw_parse(pulse_data_t *data, char const *p);

#endif /* INCLUDE_RFRAW_H_ */