Make subghz remote external

This commit is contained in:
Willy-JL
2023-03-14 17:51:23 +00:00
parent 749431ba8d
commit 5910ea0e52
32 changed files with 54 additions and 14 deletions

View File

@@ -5,7 +5,6 @@ App(
provides=[
"fap_loader",
"subghz",
"subghz_remote",
"lfrfid",
"nfc",
"infrared",

View File

@@ -1,14 +1,16 @@
App(
appid="subghz_remote",
appid="SubGHz_Remote",
name="Sub-GHz Remote",
apptype=FlipperAppType.APP,
apptype=FlipperAppType.EXTERNAL,
entry_point="subghz_remote_app",
cdefines=["APP_SUBGHZREMOTE"],
requires=[
"gui",
"dialogs",
],
icon="A_SubGHzRemote_14",
stack_size=4 * 1024,
order=11,
fap_icon="subghz_remote_10px.png",
fap_category="Sub-GHz",
fap_icon_assets="images",
)

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@@ -8,7 +8,7 @@
#include <notification/notification.h>
#include <notification/notification_messages.h>
#include <assets_icons.h>
#include <SubGHz_Remote_icons.h>
#include <flipper_format/flipper_format_i.h>
#include <lib/toolbox/path.h>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -509,7 +509,7 @@ Function,+,aligned_free,void,void*
Function,+,aligned_malloc,void*,"size_t, size_t"
Function,-,alutech_get_custom_btn,uint8_t,
Function,-,alutech_get_original_btn,uint8_t,
Function,-,alutech_reset_original_btn,void,
Function,+,alutech_reset_original_btn,void,
Function,-,alutech_set_btn,void,uint8_t
Function,-,arc4random,__uint32_t,
Function,-,arc4random_buf,void,"void*, size_t"
@@ -1825,9 +1825,9 @@ Function,-,jnf,float,"int, float"
Function,-,jrand48,long,unsigned short[3]
Function,-,keeloq_get_custom_btn,uint8_t,
Function,-,keeloq_get_original_btn,uint8_t,
Function,-,keeloq_reset_kl_type,void,
Function,-,keeloq_reset_mfname,void,
Function,-,keeloq_reset_original_btn,void,
Function,+,keeloq_reset_kl_type,void,
Function,+,keeloq_reset_mfname,void,
Function,+,keeloq_reset_original_btn,void,
Function,-,keeloq_set_btn,void,uint8_t
Function,-,l64a,char*,long
Function,-,labs,long,long
@@ -2178,7 +2178,7 @@ Function,-,nfcv_read_card,_Bool,"NfcVReader*, FuriHalNfcDevData*, NfcVData*"
Function,-,nfcv_read_sysinfo,ReturnCode,"FuriHalNfcDevData*, NfcVData*"
Function,-,nice_flors_get_custom_btn,uint8_t,
Function,-,nice_flors_get_original_btn,uint8_t,
Function,-,nice_flors_reset_original_btn,void,
Function,+,nice_flors_reset_original_btn,void,
Function,-,nice_flors_set_btn,void,uint8_t
Function,+,notification_internal_message,void,"NotificationApp*, const NotificationSequence*"
Function,+,notification_internal_message_block,void,"NotificationApp*, const NotificationSequence*"
@@ -2584,7 +2584,7 @@ Function,-,sniprintf,int,"char*, size_t, const char*, ..."
Function,+,snprintf,int,"char*, size_t, const char*, ..."
Function,-,somfy_telis_get_custom_btn,uint8_t,
Function,-,somfy_telis_get_original_btn,uint8_t,
Function,-,somfy_telis_reset_original_btn,void,
Function,+,somfy_telis_reset_original_btn,void,
Function,-,somfy_telis_set_btn,void,uint8_t
Function,-,sprintf,int,"char*, const char*, ..."
Function,-,sqrt,double,double
@@ -2594,8 +2594,8 @@ Function,+,srand,void,unsigned
Function,-,srand48,void,long
Function,-,srandom,void,unsigned
Function,+,sscanf,int,"const char*, const char*, ..."
Function,-,star_line_reset_kl_type,void,
Function,-,star_line_reset_mfname,void,
Function,+,star_line_reset_kl_type,void,
Function,+,star_line_reset_mfname,void,
Function,+,storage_common_copy,FS_Error,"Storage*, const char*, const char*"
Function,+,storage_common_exists,_Bool,"Storage*, const char*"
Function,+,storage_common_fs_info,FS_Error,"Storage*, const char*, uint64_t*, uint64_t*"
1 entry status name type params
509 Function + aligned_malloc void* size_t, size_t
510 Function - alutech_get_custom_btn uint8_t
511 Function - alutech_get_original_btn uint8_t
512 Function - + alutech_reset_original_btn void
513 Function - alutech_set_btn void uint8_t
514 Function - arc4random __uint32_t
515 Function - arc4random_buf void void*, size_t
1825 Function - jrand48 long unsigned short[3]
1826 Function - keeloq_get_custom_btn uint8_t
1827 Function - keeloq_get_original_btn uint8_t
1828 Function - + keeloq_reset_kl_type void
1829 Function - + keeloq_reset_mfname void
1830 Function - + keeloq_reset_original_btn void
1831 Function - keeloq_set_btn void uint8_t
1832 Function - l64a char* long
1833 Function - labs long long
2178 Function - nfcv_read_sysinfo ReturnCode FuriHalNfcDevData*, NfcVData*
2179 Function - nice_flors_get_custom_btn uint8_t
2180 Function - nice_flors_get_original_btn uint8_t
2181 Function - + nice_flors_reset_original_btn void
2182 Function - nice_flors_set_btn void uint8_t
2183 Function + notification_internal_message void NotificationApp*, const NotificationSequence*
2184 Function + notification_internal_message_block void NotificationApp*, const NotificationSequence*
2584 Function + snprintf int char*, size_t, const char*, ...
2585 Function - somfy_telis_get_custom_btn uint8_t
2586 Function - somfy_telis_get_original_btn uint8_t
2587 Function - + somfy_telis_reset_original_btn void
2588 Function - somfy_telis_set_btn void uint8_t
2589 Function - sprintf int char*, const char*, ...
2590 Function - sqrt double double
2594 Function - srand48 void long
2595 Function - srandom void unsigned
2596 Function + sscanf int const char*, const char*, ...
2597 Function - + star_line_reset_kl_type void
2598 Function - + star_line_reset_mfname void
2599 Function + storage_common_copy FS_Error Storage*, const char*, const char*
2600 Function + storage_common_exists _Bool Storage*, const char*
2601 Function + storage_common_fs_info FS_Error Storage*, const char*, uint64_t*, uint64_t*

View File

@@ -1,6 +1,10 @@
#pragma once
#include "base.h"
#ifdef __cplusplus
extern "C" {
#endif
#define SUBGHZ_PROTOCOL_ALUTECH_AT_4N_NAME "Alutech AT-4N"
typedef struct SubGhzProtocolDecoderAlutech_at_4n SubGhzProtocolDecoderAlutech_at_4n;
@@ -132,3 +136,7 @@ SubGhzProtocolStatus
* @param output Resulting text
*/
void subghz_protocol_decoder_alutech_at_4n_get_string(void* context, FuriString* output);
#ifdef __cplusplus
}
#endif

View File

@@ -2,6 +2,10 @@
#include "base.h"
#ifdef __cplusplus
extern "C" {
#endif
#define SUBGHZ_PROTOCOL_KEELOQ_NAME "KeeLoq"
typedef struct SubGhzProtocolDecoderKeeloq SubGhzProtocolDecoderKeeloq;
@@ -160,3 +164,7 @@ SubGhzProtocolStatus
* @param output Resulting text
*/
void subghz_protocol_decoder_keeloq_get_string(void* context, FuriString* output);
#ifdef __cplusplus
}
#endif

View File

@@ -2,6 +2,10 @@
#include "base.h"
#ifdef __cplusplus
extern "C" {
#endif
#define SUBGHZ_PROTOCOL_NICE_FLOR_S_NAME "Nice FloR-S"
typedef struct SubGhzProtocolDecoderNiceFlorS SubGhzProtocolDecoderNiceFlorS;
@@ -137,3 +141,7 @@ SubGhzProtocolStatus
* @param output Resulting text
*/
void subghz_protocol_decoder_nice_flor_s_get_string(void* context, FuriString* output);
#ifdef __cplusplus
}
#endif

View File

@@ -2,6 +2,10 @@
#include "base.h"
#ifdef __cplusplus
extern "C" {
#endif
#define SUBGHZ_PROTOCOL_SOMFY_TELIS_NAME "Somfy Telis"
typedef struct SubGhzProtocolDecoderSomfyTelis SubGhzProtocolDecoderSomfyTelis;
@@ -133,3 +137,7 @@ SubGhzProtocolStatus
* @param output Resulting text
*/
void subghz_protocol_decoder_somfy_telis_get_string(void* context, FuriString* output);
#ifdef __cplusplus
}
#endif

View File

@@ -2,6 +2,10 @@
#include "base.h"
#ifdef __cplusplus
extern "C" {
#endif
#define SUBGHZ_PROTOCOL_STAR_LINE_NAME "Star Line"
typedef struct SubGhzProtocolDecoderStarLine SubGhzProtocolDecoderStarLine;
@@ -131,3 +135,7 @@ SubGhzProtocolStatus
* @param output Resulting text
*/
void subghz_protocol_decoder_star_line_get_string(void* context, FuriString* output);
#ifdef __cplusplus
}
#endif