infrared api for .fap's

This commit is contained in:
MX 2022-10-28 21:44:36 +03:00
parent d52d9ffe79
commit 73b8d496fe
No known key found for this signature in database
GPG key ID: 6C4C311DFD4B4AB5
2 changed files with 45 additions and 1 deletions

View file

@ -1,5 +1,5 @@
entry,status,name,type,params
Version,+,8.1,,
Version,+,8.2,,
Header,+,applications/services/bt/bt_service/bt.h,,
Header,+,applications/services/cli/cli.h,,
Header,+,applications/services/cli/cli_vcp.h,,
@ -114,6 +114,9 @@ Header,+,lib/drivers/nrf24.h,,
Header,+,lib/flipper_application/flipper_application.h,,
Header,+,lib/flipper_format/flipper_format.h,,
Header,+,lib/flipper_format/flipper_format_i.h,,
Header,+,lib/infrared/encoder_decoder/infrared.h,,
Header,+,lib/infrared/worker/infrared_transmit.h,,
Header,+,lib/infrared/worker/infrared_worker.h,,
Header,+,lib/lfrfid/lfrfid_dict_file.h,,
Header,+,lib/lfrfid/lfrfid_raw_file.h,,
Header,+,lib/lfrfid/lfrfid_raw_worker.h,,
@ -1552,6 +1555,42 @@ Function,-,ilogbl,int,long double
Function,-,index,char*,"const char*, int"
Function,-,infinity,double,
Function,-,infinityf,float,
Function,+,infrared_alloc_decoder,InfraredDecoderHandler*,
Function,+,infrared_alloc_encoder,InfraredEncoderHandler*,
Function,+,infrared_check_decoder_ready,const InfraredMessage*,InfraredDecoderHandler*
Function,+,infrared_decode,const InfraredMessage*,"InfraredDecoderHandler*, _Bool, uint32_t"
Function,+,infrared_encode,InfraredStatus,"InfraredEncoderHandler*, uint32_t*, _Bool*"
Function,+,infrared_free_decoder,void,InfraredDecoderHandler*
Function,+,infrared_free_encoder,void,InfraredEncoderHandler*
Function,+,infrared_get_protocol_address_length,uint8_t,InfraredProtocol
Function,+,infrared_get_protocol_by_name,InfraredProtocol,const char*
Function,+,infrared_get_protocol_command_length,uint8_t,InfraredProtocol
Function,+,infrared_get_protocol_duty_cycle,float,InfraredProtocol
Function,+,infrared_get_protocol_frequency,uint32_t,InfraredProtocol
Function,+,infrared_get_protocol_name,const char*,InfraredProtocol
Function,+,infrared_is_protocol_valid,_Bool,InfraredProtocol
Function,+,infrared_reset_decoder,void,InfraredDecoderHandler*
Function,+,infrared_reset_encoder,void,"InfraredEncoderHandler*, const InfraredMessage*"
Function,+,infrared_send,void,"const InfraredMessage*, int"
Function,+,infrared_send_raw,void,"const uint32_t[], uint32_t, _Bool"
Function,+,infrared_send_raw_ext,void,"const uint32_t[], uint32_t, _Bool, uint32_t, float"
Function,+,infrared_worker_alloc,InfraredWorker*,
Function,+,infrared_worker_free,void,InfraredWorker*
Function,+,infrared_worker_get_decoded_signal,const InfraredMessage*,const InfraredWorkerSignal*
Function,+,infrared_worker_get_raw_signal,void,"const InfraredWorkerSignal*, const uint32_t**, size_t*"
Function,+,infrared_worker_rx_enable_blink_on_receiving,void,"InfraredWorker*, _Bool"
Function,+,infrared_worker_rx_enable_signal_decoding,void,"InfraredWorker*, _Bool"
Function,+,infrared_worker_rx_set_received_signal_callback,void,"InfraredWorker*, InfraredWorkerReceivedSignalCallback, void*"
Function,+,infrared_worker_rx_start,void,InfraredWorker*
Function,+,infrared_worker_rx_stop,void,InfraredWorker*
Function,+,infrared_worker_set_decoded_signal,void,"InfraredWorker*, const InfraredMessage*"
Function,+,infrared_worker_set_raw_signal,void,"InfraredWorker*, const uint32_t*, size_t"
Function,+,infrared_worker_signal_is_decoded,_Bool,const InfraredWorkerSignal*
Function,+,infrared_worker_tx_get_signal_steady_callback,InfraredWorkerGetSignalResponse,"void*, InfraredWorker*"
Function,+,infrared_worker_tx_set_get_signal_callback,void,"InfraredWorker*, InfraredWorkerGetSignalCallback, void*"
Function,+,infrared_worker_tx_set_signal_sent_callback,void,"InfraredWorker*, InfraredWorkerMessageSentCallback, void*"
Function,+,infrared_worker_tx_start,void,InfraredWorker*
Function,+,infrared_worker_tx_stop,void,InfraredWorker*
Function,+,init_mutex,_Bool,"ValueMutex*, void*, size_t"
Function,-,initstate,char*,"unsigned, char*, size_t"
Function,+,input_get_key_name,const char*,InputKey

1 entry status name type params
2 Version + 8.1 8.2
3 Header + applications/services/bt/bt_service/bt.h
4 Header + applications/services/cli/cli.h
5 Header + applications/services/cli/cli_vcp.h
114 Header + lib/flipper_application/flipper_application.h
115 Header + lib/flipper_format/flipper_format.h
116 Header + lib/flipper_format/flipper_format_i.h
117 Header + lib/infrared/encoder_decoder/infrared.h
118 Header + lib/infrared/worker/infrared_transmit.h
119 Header + lib/infrared/worker/infrared_worker.h
120 Header + lib/lfrfid/lfrfid_dict_file.h
121 Header + lib/lfrfid/lfrfid_raw_file.h
122 Header + lib/lfrfid/lfrfid_raw_worker.h
1555 Function - index char* const char*, int
1556 Function - infinity double
1557 Function - infinityf float
1558 Function + infrared_alloc_decoder InfraredDecoderHandler*
1559 Function + infrared_alloc_encoder InfraredEncoderHandler*
1560 Function + infrared_check_decoder_ready const InfraredMessage* InfraredDecoderHandler*
1561 Function + infrared_decode const InfraredMessage* InfraredDecoderHandler*, _Bool, uint32_t
1562 Function + infrared_encode InfraredStatus InfraredEncoderHandler*, uint32_t*, _Bool*
1563 Function + infrared_free_decoder void InfraredDecoderHandler*
1564 Function + infrared_free_encoder void InfraredEncoderHandler*
1565 Function + infrared_get_protocol_address_length uint8_t InfraredProtocol
1566 Function + infrared_get_protocol_by_name InfraredProtocol const char*
1567 Function + infrared_get_protocol_command_length uint8_t InfraredProtocol
1568 Function + infrared_get_protocol_duty_cycle float InfraredProtocol
1569 Function + infrared_get_protocol_frequency uint32_t InfraredProtocol
1570 Function + infrared_get_protocol_name const char* InfraredProtocol
1571 Function + infrared_is_protocol_valid _Bool InfraredProtocol
1572 Function + infrared_reset_decoder void InfraredDecoderHandler*
1573 Function + infrared_reset_encoder void InfraredEncoderHandler*, const InfraredMessage*
1574 Function + infrared_send void const InfraredMessage*, int
1575 Function + infrared_send_raw void const uint32_t[], uint32_t, _Bool
1576 Function + infrared_send_raw_ext void const uint32_t[], uint32_t, _Bool, uint32_t, float
1577 Function + infrared_worker_alloc InfraredWorker*
1578 Function + infrared_worker_free void InfraredWorker*
1579 Function + infrared_worker_get_decoded_signal const InfraredMessage* const InfraredWorkerSignal*
1580 Function + infrared_worker_get_raw_signal void const InfraredWorkerSignal*, const uint32_t**, size_t*
1581 Function + infrared_worker_rx_enable_blink_on_receiving void InfraredWorker*, _Bool
1582 Function + infrared_worker_rx_enable_signal_decoding void InfraredWorker*, _Bool
1583 Function + infrared_worker_rx_set_received_signal_callback void InfraredWorker*, InfraredWorkerReceivedSignalCallback, void*
1584 Function + infrared_worker_rx_start void InfraredWorker*
1585 Function + infrared_worker_rx_stop void InfraredWorker*
1586 Function + infrared_worker_set_decoded_signal void InfraredWorker*, const InfraredMessage*
1587 Function + infrared_worker_set_raw_signal void InfraredWorker*, const uint32_t*, size_t
1588 Function + infrared_worker_signal_is_decoded _Bool const InfraredWorkerSignal*
1589 Function + infrared_worker_tx_get_signal_steady_callback InfraredWorkerGetSignalResponse void*, InfraredWorker*
1590 Function + infrared_worker_tx_set_get_signal_callback void InfraredWorker*, InfraredWorkerGetSignalCallback, void*
1591 Function + infrared_worker_tx_set_signal_sent_callback void InfraredWorker*, InfraredWorkerMessageSentCallback, void*
1592 Function + infrared_worker_tx_start void InfraredWorker*
1593 Function + infrared_worker_tx_stop void InfraredWorker*
1594 Function + init_mutex _Bool ValueMutex*, void*, size_t
1595 Function - initstate char* unsigned, char*, size_t
1596 Function + input_get_key_name const char* InputKey

View file

@ -5,6 +5,11 @@ env.Append(
"#/lib/infrared/encoder_decoder",
"#/lib/infrared/worker",
],
SDK_HEADERS=[
File("#/lib/infrared/worker/infrared_transmit.h"),
File("#/lib/infrared/worker/infrared_worker.h"),
File("#/lib/infrared/encoder_decoder/infrared.h"),
],
)