Flipper Zero Firmware
Loading...
Searching...
No Matches
infrared_protocol_samsung.h
1#pragma once
2
3#include "../infrared_i.h"
4
5/***************************************************************************************************
6* SAMSUNG32 protocol description
7* https://www.mikrocontroller.net/articles/IRMP_-_english#SAMSUNG
8****************************************************************************************************
9* Preamble Preamble Pulse Distance/Width Pause Preamble Preamble Bit1 Stop
10* mark space Modulation repeat repeat bit
11* mark space
12*
13* 4500 4500 32 bit + stop bit 40000/100000 4500 4500
14* __________ _ _ _ _ _ _ _ _ _ _ _ ___________ _ _
15* _ __________ __ _ __ __ __ _ _ __ __ _ ________________ ____________ ____ ___
16*
17***************************************************************************************************/
18
19void* infrared_decoder_samsung32_alloc(void);
20void infrared_decoder_samsung32_reset(void* decoder);
21void infrared_decoder_samsung32_free(void* decoder);
22InfraredMessage* infrared_decoder_samsung32_check_ready(void* ctx);
23InfraredMessage* infrared_decoder_samsung32_decode(void* decoder, bool level, uint32_t duration);
24
25InfraredStatus
26 infrared_encoder_samsung32_encode(void* encoder_ptr, uint32_t* duration, bool* level);
27void infrared_encoder_samsung32_reset(void* encoder_ptr, const InfraredMessage* message);
28void* infrared_encoder_samsung32_alloc(void);
29void infrared_encoder_samsung32_free(void* encoder_ptr);
30
31const InfraredProtocolVariant* infrared_protocol_samsung32_get_variant(InfraredProtocol protocol);
Definition infrared.h:42
Definition infrared_i.h:19