Skip to content

Commit

Permalink
fix pocsag version and about
Browse files Browse the repository at this point in the history
  • Loading branch information
xMasterX committed May 3, 2024
1 parent 576174a commit 9257a40
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
5 changes: 3 additions & 2 deletions base_pack/pocsag_pager/helpers/pocsag_pager_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
#include <furi.h>
#include <furi_hal.h>

#define PCSG_VERSION_APP "0.1"
#define PCSG_DEVELOPED "@xMasterX & @Shmuma"
#define PCSG_VERSION_APP FAP_VERSION
#define PCSG_DEVELOPED \
"@xMasterX & @Shmuma\nProtocol improvements by:\n@htotoo\nIcons by:\n@Svaarich"
#define PCSG_GITHUB "https://github.com/xMasterX/flipper-pager"

#define PCSG_KEY_FILE_VERSION 1
Expand Down
14 changes: 5 additions & 9 deletions base_pack/pocsag_pager/scenes/pocsag_pager_scene_about.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,12 @@ void pocsag_pager_scene_about_on_enter(void* context) {
furi_string_cat_printf(temp_str, "Github: %s\n\n", PCSG_GITHUB);

furi_string_cat_printf(temp_str, "\e#%s\n", "Description");
furi_string_cat_printf(temp_str, "Receiving POCSAG Pager \nmessages\n\n");
furi_string_cat_printf(
temp_str,
"Receiving POCSAG Pager \nmessages \nDefault frequency is set to\nDAPNET - 439987500\n\nUse Config button to set frequency\nCustom frequencies usually can be found in the end of the list - use right arrow button to scroll to the end\n\nTo add new modulations and\nfrequencies create file\n/pocsag/settings.txt\nAnd copy \nsubghz/assets/setting_user.example\ncontents into new\nsettings.txt\n\n");

furi_string_cat_printf(temp_str, "Supported protocols:\n");
size_t i = 0;
const char* protocol_name =
subghz_environment_get_protocol_name_registry(app->txrx->environment, i++);
do {
furi_string_cat_printf(temp_str, "%s\n", protocol_name);
protocol_name = subghz_environment_get_protocol_name_registry(app->txrx->environment, i++);
} while(protocol_name != NULL);
furi_string_cat_printf(
temp_str, "Supported protocols:\nPOCSAG 512\nPOCSAG 1200\nPOCSAG 2400\n");

widget_add_text_box_element(
app->widget,
Expand Down

0 comments on commit 9257a40

Please sign in to comment.