[FL-1610] SubGhz: scene based application, PT save and replay (#630)
* SubGhz: scene based application
* SubGhz: encoder/decoder separation, DMA streaming, update app and cli.
* SubGhz: 2 stage async tx complete, minor cleanup
* SubGhz: 2 stage async tx complete, FIX state pin end transmit
* SubGhz: Pricenton, receive TE signal
* SubGhz: Pricenton, add save data, add load data
* SubGhz: Add Read scene, Fix pricenton save, load funtion
* SubGhz: Add Read, Receiver, SaveName scene
* SubGhz: Read and Save (pricenton)
* SubGhz: add Load scence
* SubGhz: Fix select file scene, add load scene, add transmitter view, add send tx pricenton
* SubGhz: Fix pricenton encoder, fix transmitter send
* SubGhz: modified Pricenton Encoder (added guard time at the beginning), modified CC1101 config, code refactoring
* SubGhz: Fix pricenton encoder defalut TE
* Archive: Fix path and name SubGhz
* Archive: Fix name app SubGhz
* GubGhz: Came: add Save, Load key
* GubGhz: GateTX: add Save, Load key
* GubGhz: NeroSketch: add Save, Load key
* Github: better linters triggers
* SubGhz: adding fast loading keys Archive -> Run in app
* GubGhz: KeeLog: add Save, Load key, key generation from the serial number of the meter and the button
* SubGhz: format sources and fix compilation
* FuriHal: add subghz configuration description for AGC section
* SubGhz: save only protocols that can be saved. Cleanup.
* Github: lint on pull requests
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-12 14:42:56 +00:00
|
|
|
#include "../subghz_i.h"
|
2022-03-03 09:48:56 +00:00
|
|
|
#include "../views/receiver.h"
|
2022-10-28 07:18:41 +00:00
|
|
|
#include <dolphin/dolphin.h>
|
2023-02-09 04:48:06 +00:00
|
|
|
#include <lib/subghz/protocols/bin_raw.h>
|
[FL-1610] SubGhz: scene based application, PT save and replay (#630)
* SubGhz: scene based application
* SubGhz: encoder/decoder separation, DMA streaming, update app and cli.
* SubGhz: 2 stage async tx complete, minor cleanup
* SubGhz: 2 stage async tx complete, FIX state pin end transmit
* SubGhz: Pricenton, receive TE signal
* SubGhz: Pricenton, add save data, add load data
* SubGhz: Add Read scene, Fix pricenton save, load funtion
* SubGhz: Add Read, Receiver, SaveName scene
* SubGhz: Read and Save (pricenton)
* SubGhz: add Load scence
* SubGhz: Fix select file scene, add load scene, add transmitter view, add send tx pricenton
* SubGhz: Fix pricenton encoder, fix transmitter send
* SubGhz: modified Pricenton Encoder (added guard time at the beginning), modified CC1101 config, code refactoring
* SubGhz: Fix pricenton encoder defalut TE
* Archive: Fix path and name SubGhz
* Archive: Fix name app SubGhz
* GubGhz: Came: add Save, Load key
* GubGhz: GateTX: add Save, Load key
* GubGhz: NeroSketch: add Save, Load key
* Github: better linters triggers
* SubGhz: adding fast loading keys Archive -> Run in app
* GubGhz: KeeLog: add Save, Load key, key generation from the serial number of the meter and the button
* SubGhz: format sources and fix compilation
* FuriHal: add subghz configuration description for AGC section
* SubGhz: save only protocols that can be saved. Cleanup.
* Github: lint on pull requests
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-12 14:42:56 +00:00
|
|
|
|
2022-09-27 22:01:09 +00:00
|
|
|
#define TAG "SubGhzSceneReceiver"
|
|
|
|
|
2022-09-16 14:38:08 +00:00
|
|
|
const NotificationSequence subghz_sequence_rx = {
|
2022-04-28 17:20:59 +00:00
|
|
|
&message_green_255,
|
|
|
|
|
2022-10-02 06:29:16 +00:00
|
|
|
&message_display_backlight_on,
|
|
|
|
|
2022-04-28 17:20:59 +00:00
|
|
|
&message_vibro_on,
|
|
|
|
&message_note_c6,
|
|
|
|
&message_delay_50,
|
|
|
|
&message_sound_off,
|
|
|
|
&message_vibro_off,
|
|
|
|
|
|
|
|
&message_delay_50,
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
2022-09-16 14:38:08 +00:00
|
|
|
const NotificationSequence subghz_sequence_rx_locked = {
|
2022-07-03 16:03:36 +00:00
|
|
|
&message_green_255,
|
|
|
|
|
|
|
|
&message_display_backlight_on,
|
|
|
|
|
|
|
|
&message_vibro_on,
|
|
|
|
&message_note_c6,
|
|
|
|
&message_delay_50,
|
|
|
|
&message_sound_off,
|
|
|
|
&message_vibro_off,
|
|
|
|
|
|
|
|
&message_delay_500,
|
|
|
|
|
|
|
|
&message_display_backlight_off,
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
2021-09-10 00:29:57 +00:00
|
|
|
static void subghz_scene_receiver_update_statusbar(void* context) {
|
|
|
|
SubGhz* subghz = context;
|
2023-05-05 00:51:16 +00:00
|
|
|
FuriString* history_stat_str = furi_string_alloc();
|
2023-05-09 12:11:54 +00:00
|
|
|
if(!subghz_history_get_text_space_left(subghz->history, history_stat_str)) {
|
2023-05-05 00:51:16 +00:00
|
|
|
FuriString* frequency_str = furi_string_alloc();
|
|
|
|
FuriString* modulation_str = furi_string_alloc();
|
2021-11-11 12:49:19 +00:00
|
|
|
|
2022-10-11 14:26:16 +00:00
|
|
|
#ifdef SUBGHZ_EXT_PRESET_NAME
|
2023-05-09 12:11:54 +00:00
|
|
|
if(subghz_history_get_last_index(subghz->history) > 0) {
|
2023-05-09 18:54:56 +00:00
|
|
|
subghz_txrx_get_frequency_and_modulation(
|
2023-05-09 16:10:56 +00:00
|
|
|
subghz->txrx, frequency_str, modulation_str, false);
|
2022-10-11 14:26:16 +00:00
|
|
|
} else {
|
2023-05-09 10:34:54 +00:00
|
|
|
FuriString* temp_str = furi_string_alloc();
|
|
|
|
|
2023-05-09 18:54:56 +00:00
|
|
|
subghz_txrx_get_frequency_and_modulation(subghz->txrx, frequency_str, temp_str, true);
|
2022-10-12 02:15:45 +00:00
|
|
|
furi_string_printf(
|
2023-02-02 19:47:50 +00:00
|
|
|
modulation_str,
|
|
|
|
"%s Mod: %s",
|
|
|
|
furi_hal_subghz_get_radio_type() ? "Ext" : "Int",
|
2023-05-09 10:34:54 +00:00
|
|
|
furi_string_get_cstr(temp_str));
|
|
|
|
furi_string_free(temp_str);
|
2022-10-11 14:26:16 +00:00
|
|
|
}
|
|
|
|
#else
|
2023-05-09 18:54:56 +00:00
|
|
|
subghz_txrx_get_frequency_and_modulation(
|
|
|
|
subghz->txrx, frequency_str, modulation_str, false);
|
2022-10-11 14:26:16 +00:00
|
|
|
#endif
|
2021-11-11 12:49:19 +00:00
|
|
|
|
2022-03-03 09:48:56 +00:00
|
|
|
subghz_view_receiver_add_data_statusbar(
|
2021-11-11 12:49:19 +00:00
|
|
|
subghz->subghz_receiver,
|
2022-10-05 15:15:23 +00:00
|
|
|
furi_string_get_cstr(frequency_str),
|
|
|
|
furi_string_get_cstr(modulation_str),
|
|
|
|
furi_string_get_cstr(history_stat_str));
|
2021-11-11 12:49:19 +00:00
|
|
|
|
2022-10-05 15:15:23 +00:00
|
|
|
furi_string_free(frequency_str);
|
|
|
|
furi_string_free(modulation_str);
|
2021-09-10 00:29:57 +00:00
|
|
|
} else {
|
2022-03-03 09:48:56 +00:00
|
|
|
subghz_view_receiver_add_data_statusbar(
|
2022-10-05 15:15:23 +00:00
|
|
|
subghz->subghz_receiver, furi_string_get_cstr(history_stat_str), "", "");
|
2021-11-11 12:49:19 +00:00
|
|
|
subghz->state_notifications = SubGhzNotificationStateIDLE;
|
2021-09-10 00:29:57 +00:00
|
|
|
}
|
2022-10-05 15:15:23 +00:00
|
|
|
furi_string_free(history_stat_str);
|
2021-09-10 00:29:57 +00:00
|
|
|
}
|
|
|
|
|
2022-03-03 09:48:56 +00:00
|
|
|
void subghz_scene_receiver_callback(SubGhzCustomEvent event, void* context) {
|
[FL-1610] SubGhz: scene based application, PT save and replay (#630)
* SubGhz: scene based application
* SubGhz: encoder/decoder separation, DMA streaming, update app and cli.
* SubGhz: 2 stage async tx complete, minor cleanup
* SubGhz: 2 stage async tx complete, FIX state pin end transmit
* SubGhz: Pricenton, receive TE signal
* SubGhz: Pricenton, add save data, add load data
* SubGhz: Add Read scene, Fix pricenton save, load funtion
* SubGhz: Add Read, Receiver, SaveName scene
* SubGhz: Read and Save (pricenton)
* SubGhz: add Load scence
* SubGhz: Fix select file scene, add load scene, add transmitter view, add send tx pricenton
* SubGhz: Fix pricenton encoder, fix transmitter send
* SubGhz: modified Pricenton Encoder (added guard time at the beginning), modified CC1101 config, code refactoring
* SubGhz: Fix pricenton encoder defalut TE
* Archive: Fix path and name SubGhz
* Archive: Fix name app SubGhz
* GubGhz: Came: add Save, Load key
* GubGhz: GateTX: add Save, Load key
* GubGhz: NeroSketch: add Save, Load key
* Github: better linters triggers
* SubGhz: adding fast loading keys Archive -> Run in app
* GubGhz: KeeLog: add Save, Load key, key generation from the serial number of the meter and the button
* SubGhz: format sources and fix compilation
* FuriHal: add subghz configuration description for AGC section
* SubGhz: save only protocols that can be saved. Cleanup.
* Github: lint on pull requests
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-12 14:42:56 +00:00
|
|
|
furi_assert(context);
|
|
|
|
SubGhz* subghz = context;
|
|
|
|
view_dispatcher_send_custom_event(subghz->view_dispatcher, event);
|
|
|
|
}
|
|
|
|
|
2022-03-03 09:48:56 +00:00
|
|
|
static void subghz_scene_add_to_history_callback(
|
|
|
|
SubGhzReceiver* receiver,
|
|
|
|
SubGhzProtocolDecoderBase* decoder_base,
|
|
|
|
void* context) {
|
2021-09-10 00:29:57 +00:00
|
|
|
furi_assert(context);
|
|
|
|
SubGhz* subghz = context;
|
2023-05-09 18:20:35 +00:00
|
|
|
SubGhzHistory* history = subghz->history;
|
2023-05-05 00:51:16 +00:00
|
|
|
FuriString* item_name = furi_string_alloc();
|
|
|
|
FuriString* item_time = furi_string_alloc();
|
2023-05-09 18:20:35 +00:00
|
|
|
uint16_t idx = subghz_history_get_item(history);
|
2021-09-10 00:29:57 +00:00
|
|
|
|
2023-05-09 16:10:56 +00:00
|
|
|
SubGhzRadioPreset preset = subghz_txrx_get_preset(subghz->txrx);
|
2023-05-09 18:20:35 +00:00
|
|
|
if(subghz_history_add_to_history(history, decoder_base, &preset)) {
|
2023-04-21 00:08:38 +00:00
|
|
|
furi_string_reset(item_name);
|
|
|
|
furi_string_reset(item_time);
|
2022-03-03 09:48:56 +00:00
|
|
|
|
2022-04-28 17:20:59 +00:00
|
|
|
subghz->state_notifications = SubGhzNotificationStateRxDone;
|
|
|
|
|
2023-05-09 18:20:35 +00:00
|
|
|
subghz_history_get_text_item_menu(history, item_name, idx);
|
|
|
|
subghz_history_get_time_item_menu(history, item_time, idx);
|
2022-03-03 09:48:56 +00:00
|
|
|
subghz_view_receiver_add_item_to_menu(
|
2021-09-10 00:29:57 +00:00
|
|
|
subghz->subghz_receiver,
|
2023-04-21 00:08:38 +00:00
|
|
|
furi_string_get_cstr(item_name),
|
|
|
|
furi_string_get_cstr(item_time),
|
2023-05-09 18:20:35 +00:00
|
|
|
subghz_history_get_type_protocol(history, idx));
|
2022-03-03 09:48:56 +00:00
|
|
|
|
2021-09-10 00:29:57 +00:00
|
|
|
subghz_scene_receiver_update_statusbar(subghz);
|
|
|
|
}
|
2022-05-11 15:09:11 +00:00
|
|
|
subghz_receiver_reset(receiver);
|
2023-04-21 00:08:38 +00:00
|
|
|
furi_string_free(item_name);
|
|
|
|
furi_string_free(item_time);
|
2023-05-06 14:47:49 +00:00
|
|
|
subghz_rx_key_state_set(subghz, SubGhzRxKeyStateAddKey);
|
2021-09-10 00:29:57 +00:00
|
|
|
}
|
|
|
|
|
2021-09-21 09:34:16 +00:00
|
|
|
void subghz_scene_receiver_on_enter(void* context) {
|
[FL-1610] SubGhz: scene based application, PT save and replay (#630)
* SubGhz: scene based application
* SubGhz: encoder/decoder separation, DMA streaming, update app and cli.
* SubGhz: 2 stage async tx complete, minor cleanup
* SubGhz: 2 stage async tx complete, FIX state pin end transmit
* SubGhz: Pricenton, receive TE signal
* SubGhz: Pricenton, add save data, add load data
* SubGhz: Add Read scene, Fix pricenton save, load funtion
* SubGhz: Add Read, Receiver, SaveName scene
* SubGhz: Read and Save (pricenton)
* SubGhz: add Load scence
* SubGhz: Fix select file scene, add load scene, add transmitter view, add send tx pricenton
* SubGhz: Fix pricenton encoder, fix transmitter send
* SubGhz: modified Pricenton Encoder (added guard time at the beginning), modified CC1101 config, code refactoring
* SubGhz: Fix pricenton encoder defalut TE
* Archive: Fix path and name SubGhz
* Archive: Fix name app SubGhz
* GubGhz: Came: add Save, Load key
* GubGhz: GateTX: add Save, Load key
* GubGhz: NeroSketch: add Save, Load key
* Github: better linters triggers
* SubGhz: adding fast loading keys Archive -> Run in app
* GubGhz: KeeLog: add Save, Load key, key generation from the serial number of the meter and the button
* SubGhz: format sources and fix compilation
* FuriHal: add subghz configuration description for AGC section
* SubGhz: save only protocols that can be saved. Cleanup.
* Github: lint on pull requests
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-12 14:42:56 +00:00
|
|
|
SubGhz* subghz = context;
|
2023-05-09 18:20:35 +00:00
|
|
|
SubGhzHistory* history = subghz->history;
|
[FL-1610] SubGhz: scene based application, PT save and replay (#630)
* SubGhz: scene based application
* SubGhz: encoder/decoder separation, DMA streaming, update app and cli.
* SubGhz: 2 stage async tx complete, minor cleanup
* SubGhz: 2 stage async tx complete, FIX state pin end transmit
* SubGhz: Pricenton, receive TE signal
* SubGhz: Pricenton, add save data, add load data
* SubGhz: Add Read scene, Fix pricenton save, load funtion
* SubGhz: Add Read, Receiver, SaveName scene
* SubGhz: Read and Save (pricenton)
* SubGhz: add Load scence
* SubGhz: Fix select file scene, add load scene, add transmitter view, add send tx pricenton
* SubGhz: Fix pricenton encoder, fix transmitter send
* SubGhz: modified Pricenton Encoder (added guard time at the beginning), modified CC1101 config, code refactoring
* SubGhz: Fix pricenton encoder defalut TE
* Archive: Fix path and name SubGhz
* Archive: Fix name app SubGhz
* GubGhz: Came: add Save, Load key
* GubGhz: GateTX: add Save, Load key
* GubGhz: NeroSketch: add Save, Load key
* Github: better linters triggers
* SubGhz: adding fast loading keys Archive -> Run in app
* GubGhz: KeeLog: add Save, Load key, key generation from the serial number of the meter and the button
* SubGhz: format sources and fix compilation
* FuriHal: add subghz configuration description for AGC section
* SubGhz: save only protocols that can be saved. Cleanup.
* Github: lint on pull requests
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-12 14:42:56 +00:00
|
|
|
|
2023-05-05 00:51:16 +00:00
|
|
|
FuriString* item_name = furi_string_alloc();
|
|
|
|
FuriString* item_time = furi_string_alloc();
|
2021-09-10 00:29:57 +00:00
|
|
|
|
2023-05-06 14:47:49 +00:00
|
|
|
if(subghz_rx_key_state_get(subghz) == SubGhzRxKeyStateIDLE) {
|
2023-05-09 16:10:56 +00:00
|
|
|
subghz_txrx_set_preset(subghz->txrx, "AM650", subghz->last_settings->frequency, NULL, 0);
|
2023-05-09 18:20:35 +00:00
|
|
|
subghz_history_reset(history);
|
2023-05-06 14:47:49 +00:00
|
|
|
subghz_rx_key_state_set(subghz, SubGhzRxKeyStateStart);
|
2021-12-22 13:01:20 +00:00
|
|
|
}
|
|
|
|
|
2023-05-06 14:19:02 +00:00
|
|
|
subghz_view_receiver_set_lock(subghz->subghz_receiver, subghz_is_locked(subghz));
|
2022-08-28 01:46:59 +00:00
|
|
|
subghz_view_receiver_set_mode(subghz->subghz_receiver, SubGhzViewReceiverModeLive);
|
2022-07-03 16:03:36 +00:00
|
|
|
|
2021-09-10 00:29:57 +00:00
|
|
|
//Load history to receiver
|
2022-03-03 09:48:56 +00:00
|
|
|
subghz_view_receiver_exit(subghz->subghz_receiver);
|
2023-05-09 18:20:35 +00:00
|
|
|
for(uint8_t i = 0; i < subghz_history_get_item(history); i++) {
|
2023-04-21 00:08:38 +00:00
|
|
|
furi_string_reset(item_name);
|
|
|
|
furi_string_reset(item_time);
|
2023-05-09 18:20:35 +00:00
|
|
|
subghz_history_get_text_item_menu(history, item_name, i);
|
|
|
|
subghz_history_get_time_item_menu(history, item_time, i);
|
2022-03-03 09:48:56 +00:00
|
|
|
subghz_view_receiver_add_item_to_menu(
|
2021-09-10 00:29:57 +00:00
|
|
|
subghz->subghz_receiver,
|
2023-04-21 00:08:38 +00:00
|
|
|
furi_string_get_cstr(item_name),
|
|
|
|
furi_string_get_cstr(item_time),
|
2023-05-09 18:20:35 +00:00
|
|
|
subghz_history_get_type_protocol(history, i));
|
2023-05-06 14:47:49 +00:00
|
|
|
subghz_rx_key_state_set(subghz, SubGhzRxKeyStateAddKey);
|
2021-09-10 00:29:57 +00:00
|
|
|
}
|
2023-04-21 00:08:38 +00:00
|
|
|
furi_string_free(item_name);
|
|
|
|
furi_string_free(item_time);
|
2021-09-10 00:29:57 +00:00
|
|
|
subghz_scene_receiver_update_statusbar(subghz);
|
2022-03-03 09:48:56 +00:00
|
|
|
subghz_view_receiver_set_callback(
|
|
|
|
subghz->subghz_receiver, subghz_scene_receiver_callback, subghz);
|
2023-05-09 15:24:25 +00:00
|
|
|
subghz_txrx_set_rx_calback(subghz->txrx, subghz_scene_add_to_history_callback, subghz);
|
[FL-1610] SubGhz: scene based application, PT save and replay (#630)
* SubGhz: scene based application
* SubGhz: encoder/decoder separation, DMA streaming, update app and cli.
* SubGhz: 2 stage async tx complete, minor cleanup
* SubGhz: 2 stage async tx complete, FIX state pin end transmit
* SubGhz: Pricenton, receive TE signal
* SubGhz: Pricenton, add save data, add load data
* SubGhz: Add Read scene, Fix pricenton save, load funtion
* SubGhz: Add Read, Receiver, SaveName scene
* SubGhz: Read and Save (pricenton)
* SubGhz: add Load scence
* SubGhz: Fix select file scene, add load scene, add transmitter view, add send tx pricenton
* SubGhz: Fix pricenton encoder, fix transmitter send
* SubGhz: modified Pricenton Encoder (added guard time at the beginning), modified CC1101 config, code refactoring
* SubGhz: Fix pricenton encoder defalut TE
* Archive: Fix path and name SubGhz
* Archive: Fix name app SubGhz
* GubGhz: Came: add Save, Load key
* GubGhz: GateTX: add Save, Load key
* GubGhz: NeroSketch: add Save, Load key
* Github: better linters triggers
* SubGhz: adding fast loading keys Archive -> Run in app
* GubGhz: KeeLog: add Save, Load key, key generation from the serial number of the meter and the button
* SubGhz: format sources and fix compilation
* FuriHal: add subghz configuration description for AGC section
* SubGhz: save only protocols that can be saved. Cleanup.
* Github: lint on pull requests
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-12 14:42:56 +00:00
|
|
|
|
2023-04-19 16:19:26 +00:00
|
|
|
// TODO: Replace with proper solution based on protocol flags, remove kostily and velosipedy from here
|
|
|
|
// Needs to be done after subghz refactoring merge!!!
|
2023-05-09 09:07:36 +00:00
|
|
|
if(subghz->ignore_starline == true) {
|
2023-05-09 10:34:54 +00:00
|
|
|
if(subghz_txrx_load_decoder_by_name_protocol(subghz->txrx, "Star Line")) {
|
2023-04-04 19:42:55 +00:00
|
|
|
subghz_protocol_decoder_base_set_decoder_callback(
|
2023-05-09 15:24:25 +00:00
|
|
|
subghz_txrx_get_decoder(subghz->txrx), NULL, NULL);
|
2023-04-04 19:42:55 +00:00
|
|
|
}
|
|
|
|
}
|
2023-05-09 09:07:36 +00:00
|
|
|
if(subghz->ignore_auto_alarms == true) {
|
2023-05-09 10:34:54 +00:00
|
|
|
if(subghz_txrx_load_decoder_by_name_protocol(subghz->txrx, "KIA Seed")) {
|
2023-04-19 16:19:26 +00:00
|
|
|
subghz_protocol_decoder_base_set_decoder_callback(
|
2023-05-09 15:24:25 +00:00
|
|
|
subghz_txrx_get_decoder(subghz->txrx), NULL, NULL);
|
2023-04-19 16:19:26 +00:00
|
|
|
}
|
2023-05-09 10:34:54 +00:00
|
|
|
|
|
|
|
if(subghz_txrx_load_decoder_by_name_protocol(subghz->txrx, "Scher-Khan")) {
|
2023-04-19 16:19:26 +00:00
|
|
|
subghz_protocol_decoder_base_set_decoder_callback(
|
2023-05-09 15:24:25 +00:00
|
|
|
subghz_txrx_get_decoder(subghz->txrx), NULL, NULL);
|
2023-04-19 16:19:26 +00:00
|
|
|
}
|
|
|
|
}
|
2023-05-09 09:07:36 +00:00
|
|
|
if(subghz->ignore_magellan == true) {
|
2023-05-09 10:34:54 +00:00
|
|
|
if(subghz_txrx_load_decoder_by_name_protocol(subghz->txrx, "Magellan")) {
|
2023-04-19 16:19:26 +00:00
|
|
|
subghz_protocol_decoder_base_set_decoder_callback(
|
2023-05-09 15:24:25 +00:00
|
|
|
subghz_txrx_get_decoder(subghz->txrx), NULL, NULL);
|
2023-04-19 16:19:26 +00:00
|
|
|
}
|
|
|
|
}
|
2023-04-04 19:42:55 +00:00
|
|
|
|
2022-04-28 17:20:59 +00:00
|
|
|
subghz->state_notifications = SubGhzNotificationStateRx;
|
2023-05-09 16:10:56 +00:00
|
|
|
subghz_txrx_rx_start(subghz->txrx);
|
2023-05-09 09:07:36 +00:00
|
|
|
subghz_view_receiver_set_idx_menu(subghz->subghz_receiver, subghz->idx_menu_chosen);
|
2021-09-10 00:29:57 +00:00
|
|
|
|
2023-02-09 04:48:06 +00:00
|
|
|
//to use a universal decoder, we are looking for a link to it
|
2023-05-09 10:34:54 +00:00
|
|
|
furi_check(
|
|
|
|
subghz_txrx_load_decoder_by_name_protocol(subghz->txrx, SUBGHZ_PROTOCOL_BIN_RAW_NAME));
|
2023-02-09 04:48:06 +00:00
|
|
|
|
2022-03-03 09:48:56 +00:00
|
|
|
view_dispatcher_switch_to_view(subghz->view_dispatcher, SubGhzViewIdReceiver);
|
[FL-1610] SubGhz: scene based application, PT save and replay (#630)
* SubGhz: scene based application
* SubGhz: encoder/decoder separation, DMA streaming, update app and cli.
* SubGhz: 2 stage async tx complete, minor cleanup
* SubGhz: 2 stage async tx complete, FIX state pin end transmit
* SubGhz: Pricenton, receive TE signal
* SubGhz: Pricenton, add save data, add load data
* SubGhz: Add Read scene, Fix pricenton save, load funtion
* SubGhz: Add Read, Receiver, SaveName scene
* SubGhz: Read and Save (pricenton)
* SubGhz: add Load scence
* SubGhz: Fix select file scene, add load scene, add transmitter view, add send tx pricenton
* SubGhz: Fix pricenton encoder, fix transmitter send
* SubGhz: modified Pricenton Encoder (added guard time at the beginning), modified CC1101 config, code refactoring
* SubGhz: Fix pricenton encoder defalut TE
* Archive: Fix path and name SubGhz
* Archive: Fix name app SubGhz
* GubGhz: Came: add Save, Load key
* GubGhz: GateTX: add Save, Load key
* GubGhz: NeroSketch: add Save, Load key
* Github: better linters triggers
* SubGhz: adding fast loading keys Archive -> Run in app
* GubGhz: KeeLog: add Save, Load key, key generation from the serial number of the meter and the button
* SubGhz: format sources and fix compilation
* FuriHal: add subghz configuration description for AGC section
* SubGhz: save only protocols that can be saved. Cleanup.
* Github: lint on pull requests
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-12 14:42:56 +00:00
|
|
|
}
|
|
|
|
|
2021-09-21 09:34:16 +00:00
|
|
|
bool subghz_scene_receiver_on_event(void* context, SceneManagerEvent event) {
|
[FL-1610] SubGhz: scene based application, PT save and replay (#630)
* SubGhz: scene based application
* SubGhz: encoder/decoder separation, DMA streaming, update app and cli.
* SubGhz: 2 stage async tx complete, minor cleanup
* SubGhz: 2 stage async tx complete, FIX state pin end transmit
* SubGhz: Pricenton, receive TE signal
* SubGhz: Pricenton, add save data, add load data
* SubGhz: Add Read scene, Fix pricenton save, load funtion
* SubGhz: Add Read, Receiver, SaveName scene
* SubGhz: Read and Save (pricenton)
* SubGhz: add Load scence
* SubGhz: Fix select file scene, add load scene, add transmitter view, add send tx pricenton
* SubGhz: Fix pricenton encoder, fix transmitter send
* SubGhz: modified Pricenton Encoder (added guard time at the beginning), modified CC1101 config, code refactoring
* SubGhz: Fix pricenton encoder defalut TE
* Archive: Fix path and name SubGhz
* Archive: Fix name app SubGhz
* GubGhz: Came: add Save, Load key
* GubGhz: GateTX: add Save, Load key
* GubGhz: NeroSketch: add Save, Load key
* Github: better linters triggers
* SubGhz: adding fast loading keys Archive -> Run in app
* GubGhz: KeeLog: add Save, Load key, key generation from the serial number of the meter and the button
* SubGhz: format sources and fix compilation
* FuriHal: add subghz configuration description for AGC section
* SubGhz: save only protocols that can be saved. Cleanup.
* Github: lint on pull requests
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-12 14:42:56 +00:00
|
|
|
SubGhz* subghz = context;
|
2022-07-03 16:03:36 +00:00
|
|
|
bool consumed = false;
|
[FL-1610] SubGhz: scene based application, PT save and replay (#630)
* SubGhz: scene based application
* SubGhz: encoder/decoder separation, DMA streaming, update app and cli.
* SubGhz: 2 stage async tx complete, minor cleanup
* SubGhz: 2 stage async tx complete, FIX state pin end transmit
* SubGhz: Pricenton, receive TE signal
* SubGhz: Pricenton, add save data, add load data
* SubGhz: Add Read scene, Fix pricenton save, load funtion
* SubGhz: Add Read, Receiver, SaveName scene
* SubGhz: Read and Save (pricenton)
* SubGhz: add Load scence
* SubGhz: Fix select file scene, add load scene, add transmitter view, add send tx pricenton
* SubGhz: Fix pricenton encoder, fix transmitter send
* SubGhz: modified Pricenton Encoder (added guard time at the beginning), modified CC1101 config, code refactoring
* SubGhz: Fix pricenton encoder defalut TE
* Archive: Fix path and name SubGhz
* Archive: Fix name app SubGhz
* GubGhz: Came: add Save, Load key
* GubGhz: GateTX: add Save, Load key
* GubGhz: NeroSketch: add Save, Load key
* Github: better linters triggers
* SubGhz: adding fast loading keys Archive -> Run in app
* GubGhz: KeeLog: add Save, Load key, key generation from the serial number of the meter and the button
* SubGhz: format sources and fix compilation
* FuriHal: add subghz configuration description for AGC section
* SubGhz: save only protocols that can be saved. Cleanup.
* Github: lint on pull requests
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-12 14:42:56 +00:00
|
|
|
if(event.type == SceneManagerEventTypeCustom) {
|
Skorp subghz signal archive (#667)
* SubGhz: Add millis() furi, add subghz history struct
* SubGhz: Fix subghz history
* Gubghz: Fix code repeat history, add clean history
* SubGhz: reading and adding keys to history
* Gui: Renaming Sub 1-Ghz -> SubGhz
* Archive: Renaming Sub 1-Ghz -> SubGhz
* SubGhz: Add menu history, modified button for sending a signal, changed output of data about accepted protocol
* Archive: Fix name subghz
* SubGhz: Menu navigation
* Assets: Add assets/SubGHz/icon.png
* Assets: add new icons for subghz
* SubGhz: Fix name Add manually scene
* SubGhz: Fix load icon Read scene. rename encoder struct, rename protocol function load from file, add load raw data protocol, add info pleasant signals all protocol
* SubGhz: fix memory leak
* SubGhz: change of receiving frequency for read scene
* SubGhz: Add save/load frequency and preset, add automatic configuration of transmit/receive to the desired frequency and modulation, add button "save" config scene
* SubGhz: Fix frequency and preset, fix frequency add manualli scene, fix re-executing the parser
* Furi-hal-subghz: add 2-FSK config, fix ook config 650KHz BW Tx filter
* Fix formatting and release build
* SubGhz: Delete read scene
* SubGhz: Fix frequency add manualli scene, refactoring code
* SubGhz: 2 profiles for OOK, fix broken build.
* SubGhz: Add passing static codes from read scene, add notification read scene, refactoring code
* SubGhz: fix assert on worker double stop.
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-28 13:51:48 +00:00
|
|
|
switch(event.event) {
|
2022-04-03 18:06:20 +00:00
|
|
|
case SubGhzCustomEventViewReceiverBack:
|
2021-09-10 00:29:57 +00:00
|
|
|
// Stop CC1101 Rx
|
2021-11-11 12:49:19 +00:00
|
|
|
subghz->state_notifications = SubGhzNotificationStateIDLE;
|
2023-05-09 09:07:36 +00:00
|
|
|
subghz_txrx_stop(subghz->txrx);
|
2023-05-09 16:10:56 +00:00
|
|
|
subghz_txrx_hopper_set_state(subghz->txrx, SubGhzHopperStateOFF);
|
2023-05-09 09:07:36 +00:00
|
|
|
subghz->idx_menu_chosen = 0;
|
2023-05-09 15:24:25 +00:00
|
|
|
subghz_txrx_set_rx_calback(subghz->txrx, NULL, subghz);
|
2021-12-22 13:01:20 +00:00
|
|
|
|
2023-05-06 14:47:49 +00:00
|
|
|
if(subghz_rx_key_state_get(subghz) == SubGhzRxKeyStateAddKey) {
|
|
|
|
subghz_rx_key_state_set(subghz, SubGhzRxKeyStateExit);
|
2021-12-22 13:01:20 +00:00
|
|
|
scene_manager_next_scene(subghz->scene_manager, SubGhzSceneNeedSaving);
|
|
|
|
} else {
|
2023-05-06 14:47:49 +00:00
|
|
|
subghz_rx_key_state_set(subghz, SubGhzRxKeyStateIDLE);
|
2023-05-09 16:10:56 +00:00
|
|
|
subghz_txrx_set_preset(
|
2023-05-09 09:07:36 +00:00
|
|
|
subghz->txrx, "AM650", subghz->last_settings->frequency, NULL, 0);
|
2021-12-22 13:01:20 +00:00
|
|
|
scene_manager_search_and_switch_to_previous_scene(
|
|
|
|
subghz->scene_manager, SubGhzSceneStart);
|
|
|
|
}
|
2022-07-03 16:03:36 +00:00
|
|
|
consumed = true;
|
Skorp subghz signal archive (#667)
* SubGhz: Add millis() furi, add subghz history struct
* SubGhz: Fix subghz history
* Gubghz: Fix code repeat history, add clean history
* SubGhz: reading and adding keys to history
* Gui: Renaming Sub 1-Ghz -> SubGhz
* Archive: Renaming Sub 1-Ghz -> SubGhz
* SubGhz: Add menu history, modified button for sending a signal, changed output of data about accepted protocol
* Archive: Fix name subghz
* SubGhz: Menu navigation
* Assets: Add assets/SubGHz/icon.png
* Assets: add new icons for subghz
* SubGhz: Fix name Add manually scene
* SubGhz: Fix load icon Read scene. rename encoder struct, rename protocol function load from file, add load raw data protocol, add info pleasant signals all protocol
* SubGhz: fix memory leak
* SubGhz: change of receiving frequency for read scene
* SubGhz: Add save/load frequency and preset, add automatic configuration of transmit/receive to the desired frequency and modulation, add button "save" config scene
* SubGhz: Fix frequency and preset, fix frequency add manualli scene, fix re-executing the parser
* Furi-hal-subghz: add 2-FSK config, fix ook config 650KHz BW Tx filter
* Fix formatting and release build
* SubGhz: Delete read scene
* SubGhz: Fix frequency add manualli scene, refactoring code
* SubGhz: 2 profiles for OOK, fix broken build.
* SubGhz: Add passing static codes from read scene, add notification read scene, refactoring code
* SubGhz: fix assert on worker double stop.
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-28 13:51:48 +00:00
|
|
|
break;
|
2022-04-03 18:06:20 +00:00
|
|
|
case SubGhzCustomEventViewReceiverOK:
|
2022-10-01 23:18:30 +00:00
|
|
|
// Show file info, scene: receiver_info
|
2023-05-09 09:07:36 +00:00
|
|
|
subghz->idx_menu_chosen = subghz_view_receiver_get_idx_menu(subghz->subghz_receiver);
|
2021-09-10 00:29:57 +00:00
|
|
|
scene_manager_next_scene(subghz->scene_manager, SubGhzSceneReceiverInfo);
|
2022-10-28 07:18:41 +00:00
|
|
|
DOLPHIN_DEED(DolphinDeedSubGhzReceiverInfo);
|
2022-07-03 16:03:36 +00:00
|
|
|
consumed = true;
|
Skorp subghz signal archive (#667)
* SubGhz: Add millis() furi, add subghz history struct
* SubGhz: Fix subghz history
* Gubghz: Fix code repeat history, add clean history
* SubGhz: reading and adding keys to history
* Gui: Renaming Sub 1-Ghz -> SubGhz
* Archive: Renaming Sub 1-Ghz -> SubGhz
* SubGhz: Add menu history, modified button for sending a signal, changed output of data about accepted protocol
* Archive: Fix name subghz
* SubGhz: Menu navigation
* Assets: Add assets/SubGHz/icon.png
* Assets: add new icons for subghz
* SubGhz: Fix name Add manually scene
* SubGhz: Fix load icon Read scene. rename encoder struct, rename protocol function load from file, add load raw data protocol, add info pleasant signals all protocol
* SubGhz: fix memory leak
* SubGhz: change of receiving frequency for read scene
* SubGhz: Add save/load frequency and preset, add automatic configuration of transmit/receive to the desired frequency and modulation, add button "save" config scene
* SubGhz: Fix frequency and preset, fix frequency add manualli scene, fix re-executing the parser
* Furi-hal-subghz: add 2-FSK config, fix ook config 650KHz BW Tx filter
* Fix formatting and release build
* SubGhz: Delete read scene
* SubGhz: Fix frequency add manualli scene, refactoring code
* SubGhz: 2 profiles for OOK, fix broken build.
* SubGhz: Add passing static codes from read scene, add notification read scene, refactoring code
* SubGhz: fix assert on worker double stop.
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-28 13:51:48 +00:00
|
|
|
break;
|
2023-02-25 19:28:35 +00:00
|
|
|
case SubGhzCustomEventViewReceiverDeleteItem:
|
2023-05-17 12:41:51 +00:00
|
|
|
subghz->state_notifications = SubGhzNotificationStateRx;
|
2023-05-09 09:07:36 +00:00
|
|
|
subghz->idx_menu_chosen = subghz_view_receiver_get_idx_menu(subghz->subghz_receiver);
|
2023-02-26 01:13:28 +00:00
|
|
|
|
2023-05-17 14:24:14 +00:00
|
|
|
subghz_view_receiver_disable_draw_callback(subghz->subghz_receiver);
|
|
|
|
|
2023-05-09 12:11:54 +00:00
|
|
|
subghz_history_delete_item(subghz->history, subghz->idx_menu_chosen);
|
2023-02-26 01:13:28 +00:00
|
|
|
subghz_view_receiver_delete_element_callback(subghz->subghz_receiver);
|
2023-02-25 19:28:35 +00:00
|
|
|
|
2023-05-17 14:24:14 +00:00
|
|
|
subghz_view_receiver_enable_draw_callback(subghz->subghz_receiver);
|
|
|
|
|
2023-02-25 19:28:35 +00:00
|
|
|
subghz_scene_receiver_update_statusbar(subghz);
|
2023-05-17 14:51:25 +00:00
|
|
|
if(subghz_history_get_last_index(subghz->history) == 0) {
|
|
|
|
subghz_rx_key_state_set(subghz, SubGhzRxKeyStateStart);
|
|
|
|
}
|
2023-02-25 19:28:35 +00:00
|
|
|
consumed = true;
|
|
|
|
break;
|
2022-04-03 18:06:20 +00:00
|
|
|
case SubGhzCustomEventViewReceiverConfig:
|
2021-11-11 12:49:19 +00:00
|
|
|
subghz->state_notifications = SubGhzNotificationStateIDLE;
|
2023-05-09 09:07:36 +00:00
|
|
|
subghz->idx_menu_chosen = subghz_view_receiver_get_idx_menu(subghz->subghz_receiver);
|
2022-09-27 22:01:09 +00:00
|
|
|
scene_manager_set_scene_state(
|
|
|
|
subghz->scene_manager, SubGhzViewIdReceiver, SubGhzCustomEventManagerSet);
|
2021-09-10 00:29:57 +00:00
|
|
|
scene_manager_next_scene(subghz->scene_manager, SubGhzSceneReceiverConfig);
|
2022-07-03 16:03:36 +00:00
|
|
|
consumed = true;
|
|
|
|
break;
|
|
|
|
case SubGhzCustomEventViewReceiverOffDisplay:
|
|
|
|
notification_message(subghz->notifications, &sequence_display_backlight_off);
|
|
|
|
consumed = true;
|
|
|
|
break;
|
|
|
|
case SubGhzCustomEventViewReceiverUnlock:
|
2023-05-06 14:19:02 +00:00
|
|
|
subghz_unlock(subghz);
|
2022-07-03 16:03:36 +00:00
|
|
|
consumed = true;
|
2021-09-01 21:05:00 +00:00
|
|
|
break;
|
Skorp subghz signal archive (#667)
* SubGhz: Add millis() furi, add subghz history struct
* SubGhz: Fix subghz history
* Gubghz: Fix code repeat history, add clean history
* SubGhz: reading and adding keys to history
* Gui: Renaming Sub 1-Ghz -> SubGhz
* Archive: Renaming Sub 1-Ghz -> SubGhz
* SubGhz: Add menu history, modified button for sending a signal, changed output of data about accepted protocol
* Archive: Fix name subghz
* SubGhz: Menu navigation
* Assets: Add assets/SubGHz/icon.png
* Assets: add new icons for subghz
* SubGhz: Fix name Add manually scene
* SubGhz: Fix load icon Read scene. rename encoder struct, rename protocol function load from file, add load raw data protocol, add info pleasant signals all protocol
* SubGhz: fix memory leak
* SubGhz: change of receiving frequency for read scene
* SubGhz: Add save/load frequency and preset, add automatic configuration of transmit/receive to the desired frequency and modulation, add button "save" config scene
* SubGhz: Fix frequency and preset, fix frequency add manualli scene, fix re-executing the parser
* Furi-hal-subghz: add 2-FSK config, fix ook config 650KHz BW Tx filter
* Fix formatting and release build
* SubGhz: Delete read scene
* SubGhz: Fix frequency add manualli scene, refactoring code
* SubGhz: 2 profiles for OOK, fix broken build.
* SubGhz: Add passing static codes from read scene, add notification read scene, refactoring code
* SubGhz: fix assert on worker double stop.
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-28 13:51:48 +00:00
|
|
|
default:
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
} else if(event.type == SceneManagerEventTypeTick) {
|
2023-05-09 16:10:56 +00:00
|
|
|
if(subghz_txrx_hopper_get_state(subghz->txrx) != SubGhzHopperStateOFF) {
|
|
|
|
subghz_txrx_hopper_update(subghz->txrx);
|
2021-09-10 00:29:57 +00:00
|
|
|
subghz_scene_receiver_update_statusbar(subghz);
|
|
|
|
}
|
2023-02-09 04:48:06 +00:00
|
|
|
|
|
|
|
//get RSSI
|
2023-05-05 23:00:26 +00:00
|
|
|
SubGhzThresholdRssiData ret_rssi = subghz_threshold_get_rssi_data(subghz->threshold_rssi);
|
|
|
|
|
|
|
|
subghz_receiver_rssi(subghz->subghz_receiver, ret_rssi.rssi);
|
2023-02-09 04:48:06 +00:00
|
|
|
subghz_protocol_decoder_bin_raw_data_input_rssi(
|
2023-05-09 10:34:54 +00:00
|
|
|
(SubGhzProtocolDecoderBinRAW*)subghz_txrx_get_decoder(subghz->txrx), ret_rssi.rssi);
|
2023-02-09 04:48:06 +00:00
|
|
|
|
Skorp subghz signal archive (#667)
* SubGhz: Add millis() furi, add subghz history struct
* SubGhz: Fix subghz history
* Gubghz: Fix code repeat history, add clean history
* SubGhz: reading and adding keys to history
* Gui: Renaming Sub 1-Ghz -> SubGhz
* Archive: Renaming Sub 1-Ghz -> SubGhz
* SubGhz: Add menu history, modified button for sending a signal, changed output of data about accepted protocol
* Archive: Fix name subghz
* SubGhz: Menu navigation
* Assets: Add assets/SubGHz/icon.png
* Assets: add new icons for subghz
* SubGhz: Fix name Add manually scene
* SubGhz: Fix load icon Read scene. rename encoder struct, rename protocol function load from file, add load raw data protocol, add info pleasant signals all protocol
* SubGhz: fix memory leak
* SubGhz: change of receiving frequency for read scene
* SubGhz: Add save/load frequency and preset, add automatic configuration of transmit/receive to the desired frequency and modulation, add button "save" config scene
* SubGhz: Fix frequency and preset, fix frequency add manualli scene, fix re-executing the parser
* Furi-hal-subghz: add 2-FSK config, fix ook config 650KHz BW Tx filter
* Fix formatting and release build
* SubGhz: Delete read scene
* SubGhz: Fix frequency add manualli scene, refactoring code
* SubGhz: 2 profiles for OOK, fix broken build.
* SubGhz: Add passing static codes from read scene, add notification read scene, refactoring code
* SubGhz: fix assert on worker double stop.
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-28 13:51:48 +00:00
|
|
|
switch(subghz->state_notifications) {
|
2022-04-28 17:20:59 +00:00
|
|
|
case SubGhzNotificationStateRx:
|
|
|
|
notification_message(subghz->notifications, &sequence_blink_cyan_10);
|
|
|
|
break;
|
|
|
|
case SubGhzNotificationStateRxDone:
|
2023-05-06 14:19:02 +00:00
|
|
|
if(!subghz_is_locked(subghz)) {
|
2022-09-16 14:38:08 +00:00
|
|
|
notification_message(subghz->notifications, &subghz_sequence_rx);
|
2022-07-03 16:03:36 +00:00
|
|
|
} else {
|
2022-09-16 14:38:08 +00:00
|
|
|
notification_message(subghz->notifications, &subghz_sequence_rx_locked);
|
2022-07-03 16:03:36 +00:00
|
|
|
}
|
2022-04-28 17:20:59 +00:00
|
|
|
subghz->state_notifications = SubGhzNotificationStateRx;
|
Skorp subghz signal archive (#667)
* SubGhz: Add millis() furi, add subghz history struct
* SubGhz: Fix subghz history
* Gubghz: Fix code repeat history, add clean history
* SubGhz: reading and adding keys to history
* Gui: Renaming Sub 1-Ghz -> SubGhz
* Archive: Renaming Sub 1-Ghz -> SubGhz
* SubGhz: Add menu history, modified button for sending a signal, changed output of data about accepted protocol
* Archive: Fix name subghz
* SubGhz: Menu navigation
* Assets: Add assets/SubGHz/icon.png
* Assets: add new icons for subghz
* SubGhz: Fix name Add manually scene
* SubGhz: Fix load icon Read scene. rename encoder struct, rename protocol function load from file, add load raw data protocol, add info pleasant signals all protocol
* SubGhz: fix memory leak
* SubGhz: change of receiving frequency for read scene
* SubGhz: Add save/load frequency and preset, add automatic configuration of transmit/receive to the desired frequency and modulation, add button "save" config scene
* SubGhz: Fix frequency and preset, fix frequency add manualli scene, fix re-executing the parser
* Furi-hal-subghz: add 2-FSK config, fix ook config 650KHz BW Tx filter
* Fix formatting and release build
* SubGhz: Delete read scene
* SubGhz: Fix frequency add manualli scene, refactoring code
* SubGhz: 2 profiles for OOK, fix broken build.
* SubGhz: Add passing static codes from read scene, add notification read scene, refactoring code
* SubGhz: fix assert on worker double stop.
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-28 13:51:48 +00:00
|
|
|
break;
|
|
|
|
default:
|
|
|
|
break;
|
[FL-1610] SubGhz: scene based application, PT save and replay (#630)
* SubGhz: scene based application
* SubGhz: encoder/decoder separation, DMA streaming, update app and cli.
* SubGhz: 2 stage async tx complete, minor cleanup
* SubGhz: 2 stage async tx complete, FIX state pin end transmit
* SubGhz: Pricenton, receive TE signal
* SubGhz: Pricenton, add save data, add load data
* SubGhz: Add Read scene, Fix pricenton save, load funtion
* SubGhz: Add Read, Receiver, SaveName scene
* SubGhz: Read and Save (pricenton)
* SubGhz: add Load scence
* SubGhz: Fix select file scene, add load scene, add transmitter view, add send tx pricenton
* SubGhz: Fix pricenton encoder, fix transmitter send
* SubGhz: modified Pricenton Encoder (added guard time at the beginning), modified CC1101 config, code refactoring
* SubGhz: Fix pricenton encoder defalut TE
* Archive: Fix path and name SubGhz
* Archive: Fix name app SubGhz
* GubGhz: Came: add Save, Load key
* GubGhz: GateTX: add Save, Load key
* GubGhz: NeroSketch: add Save, Load key
* Github: better linters triggers
* SubGhz: adding fast loading keys Archive -> Run in app
* GubGhz: KeeLog: add Save, Load key, key generation from the serial number of the meter and the button
* SubGhz: format sources and fix compilation
* FuriHal: add subghz configuration description for AGC section
* SubGhz: save only protocols that can be saved. Cleanup.
* Github: lint on pull requests
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-12 14:42:56 +00:00
|
|
|
}
|
|
|
|
}
|
2022-07-03 16:03:36 +00:00
|
|
|
return consumed;
|
[FL-1610] SubGhz: scene based application, PT save and replay (#630)
* SubGhz: scene based application
* SubGhz: encoder/decoder separation, DMA streaming, update app and cli.
* SubGhz: 2 stage async tx complete, minor cleanup
* SubGhz: 2 stage async tx complete, FIX state pin end transmit
* SubGhz: Pricenton, receive TE signal
* SubGhz: Pricenton, add save data, add load data
* SubGhz: Add Read scene, Fix pricenton save, load funtion
* SubGhz: Add Read, Receiver, SaveName scene
* SubGhz: Read and Save (pricenton)
* SubGhz: add Load scence
* SubGhz: Fix select file scene, add load scene, add transmitter view, add send tx pricenton
* SubGhz: Fix pricenton encoder, fix transmitter send
* SubGhz: modified Pricenton Encoder (added guard time at the beginning), modified CC1101 config, code refactoring
* SubGhz: Fix pricenton encoder defalut TE
* Archive: Fix path and name SubGhz
* Archive: Fix name app SubGhz
* GubGhz: Came: add Save, Load key
* GubGhz: GateTX: add Save, Load key
* GubGhz: NeroSketch: add Save, Load key
* Github: better linters triggers
* SubGhz: adding fast loading keys Archive -> Run in app
* GubGhz: KeeLog: add Save, Load key, key generation from the serial number of the meter and the button
* SubGhz: format sources and fix compilation
* FuriHal: add subghz configuration description for AGC section
* SubGhz: save only protocols that can be saved. Cleanup.
* Github: lint on pull requests
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-12 14:42:56 +00:00
|
|
|
}
|
|
|
|
|
2021-09-21 09:34:16 +00:00
|
|
|
void subghz_scene_receiver_on_exit(void* context) {
|
2022-09-17 17:33:26 +00:00
|
|
|
UNUSED(context);
|
[FL-1610] SubGhz: scene based application, PT save and replay (#630)
* SubGhz: scene based application
* SubGhz: encoder/decoder separation, DMA streaming, update app and cli.
* SubGhz: 2 stage async tx complete, minor cleanup
* SubGhz: 2 stage async tx complete, FIX state pin end transmit
* SubGhz: Pricenton, receive TE signal
* SubGhz: Pricenton, add save data, add load data
* SubGhz: Add Read scene, Fix pricenton save, load funtion
* SubGhz: Add Read, Receiver, SaveName scene
* SubGhz: Read and Save (pricenton)
* SubGhz: add Load scence
* SubGhz: Fix select file scene, add load scene, add transmitter view, add send tx pricenton
* SubGhz: Fix pricenton encoder, fix transmitter send
* SubGhz: modified Pricenton Encoder (added guard time at the beginning), modified CC1101 config, code refactoring
* SubGhz: Fix pricenton encoder defalut TE
* Archive: Fix path and name SubGhz
* Archive: Fix name app SubGhz
* GubGhz: Came: add Save, Load key
* GubGhz: GateTX: add Save, Load key
* GubGhz: NeroSketch: add Save, Load key
* Github: better linters triggers
* SubGhz: adding fast loading keys Archive -> Run in app
* GubGhz: KeeLog: add Save, Load key, key generation from the serial number of the meter and the button
* SubGhz: format sources and fix compilation
* FuriHal: add subghz configuration description for AGC section
* SubGhz: save only protocols that can be saved. Cleanup.
* Github: lint on pull requests
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2021-08-12 14:42:56 +00:00
|
|
|
}
|