Fix subrem imports

This commit is contained in:
Willy-JL
2023-05-22 16:01:44 +01:00
parent 9de3b17dd8
commit 11fe5db962
3 changed files with 47 additions and 1 deletions

View File

@@ -14,6 +14,9 @@ App(
"subghz_start",
"subghz_load_extended_settings",
],
sdk_headers=[
"helpers/subghz_txrx.h",
],
icon="A_Sub1ghz_14",
stack_size=3 * 1024,
order=10,

View File

@@ -8,6 +8,10 @@
#include <lib/subghz/transmitter.h>
#include <lib/subghz/protocols/raw.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct SubGhzTxRx SubGhzTxRx;
typedef void (*SubGhzTxRxNeedSaveCallback)(void* context);
@@ -294,3 +298,7 @@ void subghz_txrx_set_debug_pin_state(SubGhzTxRx* instance, bool state);
bool subghz_txrx_get_debug_pin_state(SubGhzTxRx* instance);
SubGhzReceiver* subghz_txrx_get_receiver(SubGhzTxRx* instance); // TODO use only in DecodeRaw
#ifdef __cplusplus
}
#endif

View File

@@ -1,7 +1,7 @@
entry,status,name,type,params
Version,+,26.3,,
Header,+,applications/main/fap_loader/fap_loader_app.h,,
Header,+,applications/main/fap_loader/fap_loader_app.h,,
Header,+,applications/main/subghz/helpers/subghz_txrx.h,,
Header,+,applications/services/bt/bt_service/bt.h,,
Header,+,applications/services/cli/cli.h,,
Header,+,applications/services/cli/cli_vcp.h,,
@@ -3398,6 +3398,41 @@ Function,+,subghz_tx_rx_worker_set_callback_have_read,void,"SubGhzTxRxWorker*, S
Function,+,subghz_tx_rx_worker_start,_Bool,"SubGhzTxRxWorker*, uint32_t"
Function,+,subghz_tx_rx_worker_stop,void,SubGhzTxRxWorker*
Function,+,subghz_tx_rx_worker_write,_Bool,"SubGhzTxRxWorker*, uint8_t*, size_t"
Function,+,subghz_txrx_alloc,SubGhzTxRx*,
Function,+,subghz_txrx_free,void,SubGhzTxRx*
Function,-,subghz_txrx_get_debug_pin_state,_Bool,SubGhzTxRx*
Function,+,subghz_txrx_get_decoder,SubGhzProtocolDecoderBase*,SubGhzTxRx*
Function,-,subghz_txrx_get_fff_data,FlipperFormat*,SubGhzTxRx*
Function,-,subghz_txrx_get_frequency_and_modulation,void,"SubGhzTxRx*, FuriString*, FuriString*, _Bool"
Function,-,subghz_txrx_get_preset,SubGhzRadioPreset,SubGhzTxRx*
Function,+,subghz_txrx_get_preset_name,const char*,"SubGhzTxRx*, const char*"
Function,-,subghz_txrx_get_receiver,SubGhzReceiver*,SubGhzTxRx*
Function,+,subghz_txrx_get_setting,SubGhzSetting*,SubGhzTxRx*
Function,-,subghz_txrx_hopper_get_state,SubGhzHopperState,SubGhzTxRx*
Function,-,subghz_txrx_hopper_pause,void,SubGhzTxRx*
Function,-,subghz_txrx_hopper_set_state,void,"SubGhzTxRx*, SubGhzHopperState"
Function,-,subghz_txrx_hopper_unpause,void,SubGhzTxRx*
Function,-,subghz_txrx_hopper_update,void,SubGhzTxRx*
Function,-,subghz_txrx_is_database_loaded,_Bool,SubGhzTxRx*
Function,+,subghz_txrx_load_decoder_by_name_protocol,_Bool,"SubGhzTxRx*, const char*"
Function,-,subghz_txrx_protocol_is_serializable,_Bool,SubGhzTxRx*
Function,-,subghz_txrx_protocol_is_transmittable,_Bool,"SubGhzTxRx*, _Bool"
Function,-,subghz_txrx_receiver_set_filter,void,"SubGhzTxRx*, SubGhzProtocolFlag"
Function,-,subghz_txrx_rx_start,void,SubGhzTxRx*
Function,-,subghz_txrx_set_debug_pin_state,void,"SubGhzTxRx*, _Bool"
Function,+,subghz_txrx_set_need_save_callback,void,"SubGhzTxRx*, SubGhzTxRxNeedSaveCallback, void*"
Function,+,subghz_txrx_set_preset,void,"SubGhzTxRx*, const char*, uint32_t, uint8_t*, size_t"
Function,+,subghz_txrx_set_raw_file_encoder_worker_callback_end,void,"SubGhzTxRx*, SubGhzProtocolEncoderRAWCallbackEnd, void*"
Function,-,subghz_txrx_set_rx_calback,void,"SubGhzTxRx*, SubGhzReceiverCallback, void*"
Function,-,subghz_txrx_sleep,void,SubGhzTxRx*
Function,-,subghz_txrx_speaker_get_state,SubGhzSpeakerState,SubGhzTxRx*
Function,-,subghz_txrx_speaker_mute,void,SubGhzTxRx*
Function,-,subghz_txrx_speaker_off,void,SubGhzTxRx*
Function,-,subghz_txrx_speaker_on,void,SubGhzTxRx*
Function,-,subghz_txrx_speaker_set_state,void,"SubGhzTxRx*, SubGhzSpeakerState"
Function,-,subghz_txrx_speaker_unmute,void,SubGhzTxRx*
Function,+,subghz_txrx_stop,void,SubGhzTxRx*
Function,+,subghz_txrx_tx_start,SubGhzTxRxStartTxState,"SubGhzTxRx*, FlipperFormat*"
Function,+,subghz_worker_alloc,SubGhzWorker*,
Function,+,subghz_worker_free,void,SubGhzWorker*
Function,+,subghz_worker_is_running,_Bool,SubGhzWorker*
1 entry status name type params
2 Version + 26.3
3 Header + applications/main/fap_loader/fap_loader_app.h
4 Header + applications/main/fap_loader/fap_loader_app.h applications/main/subghz/helpers/subghz_txrx.h
5 Header + applications/services/bt/bt_service/bt.h
6 Header + applications/services/cli/cli.h
7 Header + applications/services/cli/cli_vcp.h
3398 Function + subghz_tx_rx_worker_start _Bool SubGhzTxRxWorker*, uint32_t
3399 Function + subghz_tx_rx_worker_stop void SubGhzTxRxWorker*
3400 Function + subghz_tx_rx_worker_write _Bool SubGhzTxRxWorker*, uint8_t*, size_t
3401 Function + subghz_txrx_alloc SubGhzTxRx*
3402 Function + subghz_txrx_free void SubGhzTxRx*
3403 Function - subghz_txrx_get_debug_pin_state _Bool SubGhzTxRx*
3404 Function + subghz_txrx_get_decoder SubGhzProtocolDecoderBase* SubGhzTxRx*
3405 Function - subghz_txrx_get_fff_data FlipperFormat* SubGhzTxRx*
3406 Function - subghz_txrx_get_frequency_and_modulation void SubGhzTxRx*, FuriString*, FuriString*, _Bool
3407 Function - subghz_txrx_get_preset SubGhzRadioPreset SubGhzTxRx*
3408 Function + subghz_txrx_get_preset_name const char* SubGhzTxRx*, const char*
3409 Function - subghz_txrx_get_receiver SubGhzReceiver* SubGhzTxRx*
3410 Function + subghz_txrx_get_setting SubGhzSetting* SubGhzTxRx*
3411 Function - subghz_txrx_hopper_get_state SubGhzHopperState SubGhzTxRx*
3412 Function - subghz_txrx_hopper_pause void SubGhzTxRx*
3413 Function - subghz_txrx_hopper_set_state void SubGhzTxRx*, SubGhzHopperState
3414 Function - subghz_txrx_hopper_unpause void SubGhzTxRx*
3415 Function - subghz_txrx_hopper_update void SubGhzTxRx*
3416 Function - subghz_txrx_is_database_loaded _Bool SubGhzTxRx*
3417 Function + subghz_txrx_load_decoder_by_name_protocol _Bool SubGhzTxRx*, const char*
3418 Function - subghz_txrx_protocol_is_serializable _Bool SubGhzTxRx*
3419 Function - subghz_txrx_protocol_is_transmittable _Bool SubGhzTxRx*, _Bool
3420 Function - subghz_txrx_receiver_set_filter void SubGhzTxRx*, SubGhzProtocolFlag
3421 Function - subghz_txrx_rx_start void SubGhzTxRx*
3422 Function - subghz_txrx_set_debug_pin_state void SubGhzTxRx*, _Bool
3423 Function + subghz_txrx_set_need_save_callback void SubGhzTxRx*, SubGhzTxRxNeedSaveCallback, void*
3424 Function + subghz_txrx_set_preset void SubGhzTxRx*, const char*, uint32_t, uint8_t*, size_t
3425 Function + subghz_txrx_set_raw_file_encoder_worker_callback_end void SubGhzTxRx*, SubGhzProtocolEncoderRAWCallbackEnd, void*
3426 Function - subghz_txrx_set_rx_calback void SubGhzTxRx*, SubGhzReceiverCallback, void*
3427 Function - subghz_txrx_sleep void SubGhzTxRx*
3428 Function - subghz_txrx_speaker_get_state SubGhzSpeakerState SubGhzTxRx*
3429 Function - subghz_txrx_speaker_mute void SubGhzTxRx*
3430 Function - subghz_txrx_speaker_off void SubGhzTxRx*
3431 Function - subghz_txrx_speaker_on void SubGhzTxRx*
3432 Function - subghz_txrx_speaker_set_state void SubGhzTxRx*, SubGhzSpeakerState
3433 Function - subghz_txrx_speaker_unmute void SubGhzTxRx*
3434 Function + subghz_txrx_stop void SubGhzTxRx*
3435 Function + subghz_txrx_tx_start SubGhzTxRxStartTxState SubGhzTxRx*, FlipperFormat*
3436 Function + subghz_worker_alloc SubGhzWorker*
3437 Function + subghz_worker_free void SubGhzWorker*
3438 Function + subghz_worker_is_running _Bool SubGhzWorker*