Loading...
Searching...
No Matches
infrared_protocol_pioneer.h
1#pragma once
2
3#include "../infrared_i.h"
4
5/***************************************************************************************************
6* Pioneer SR protocol description
7* http://www.adrian-kingston.com/IRFormatPioneer.htm
8****************************************************************************************************
9* Preamble Preamble Pulse Width Modulation Pause Entirely repeat
10* mark space up to period message..
11*
12* 8500 4250 33 bits (500, 1500) ...26000 8500 4250
13* __________ _ _ _ _ _ _ _ _ _ _ _ _ _ __________ _ _
14* ____ __________ _ _ _ __ __ __ _ _ __ __ _ _ ____________________ __________ _
15*
16* In 33 bits of data there is:
17* - 8 bits address
18* - 8 bits address inverse
19* - 8 bits command
20* - 8 bits command inverse
21* - 1 stop bit
22***************************************************************************************************/
23
24void* infrared_decoder_pioneer_alloc(void);
25void infrared_decoder_pioneer_reset(void* decoder);
26InfraredMessage* infrared_decoder_pioneer_check_ready(void* decoder);
27void infrared_decoder_pioneer_free(void* decoder);
28InfraredMessage* infrared_decoder_pioneer_decode(void* decoder, bool level, uint32_t duration);
29
30void* infrared_encoder_pioneer_alloc(void);
31void infrared_encoder_pioneer_reset(void* encoder_ptr, const InfraredMessage* message);
32void infrared_encoder_pioneer_free(void* decoder);
33InfraredStatus
34 infrared_encoder_pioneer_encode(void* encoder_ptr, uint32_t* duration, bool* polarity);
35
36const InfraredProtocolVariant* infrared_protocol_pioneer_get_variant(InfraredProtocol protocol);
Definition infrared.h:42
Definition infrared_i.h:19