mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 04:53:08 +00:00
[FL-3350] Device Info update (#2840)
* Update F18 version info * Certification info for F18 Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
parent
b148e396d7
commit
0195f8bf00
8 changed files with 25 additions and 7 deletions
|
@ -82,7 +82,9 @@ static DialogMessageButton icon1_screen(DialogsApp* dialogs, DialogMessage* mess
|
||||||
static DialogMessageButton icon2_screen(DialogsApp* dialogs, DialogMessage* message) {
|
static DialogMessageButton icon2_screen(DialogsApp* dialogs, DialogMessage* message) {
|
||||||
DialogMessageButton result;
|
DialogMessageButton result;
|
||||||
|
|
||||||
dialog_message_set_icon(message, &I_Certification2_98x33, 15, 10);
|
dialog_message_set_icon(message, &I_Certification2_46x33, 15, 10);
|
||||||
|
dialog_message_set_text(
|
||||||
|
message, furi_hal_version_get_mic_id(), 63, 27, AlignLeft, AlignCenter);
|
||||||
result = dialog_message_show(dialogs, message);
|
result = dialog_message_show(dialogs, message);
|
||||||
dialog_message_set_icon(message, NULL, 0, 0);
|
dialog_message_set_icon(message, NULL, 0, 0);
|
||||||
|
|
||||||
|
|
BIN
assets/icons/About/Certification2_46x33.png
Normal file
BIN
assets/icons/About/Certification2_46x33.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 229 B |
Binary file not shown.
Before Width: | Height: | Size: 2.4 KiB |
|
@ -1,5 +1,5 @@
|
||||||
entry,status,name,type,params
|
entry,status,name,type,params
|
||||||
Version,+,33.1,,
|
Version,+,33.2,,
|
||||||
Header,+,applications/services/bt/bt_service/bt.h,,
|
Header,+,applications/services/bt/bt_service/bt.h,,
|
||||||
Header,+,applications/services/cli/cli.h,,
|
Header,+,applications/services/cli/cli.h,,
|
||||||
Header,+,applications/services/cli/cli_vcp.h,,
|
Header,+,applications/services/cli/cli_vcp.h,,
|
||||||
|
@ -1263,6 +1263,7 @@ Function,+,furi_hal_version_get_hw_target,uint8_t,
|
||||||
Function,+,furi_hal_version_get_hw_timestamp,uint32_t,
|
Function,+,furi_hal_version_get_hw_timestamp,uint32_t,
|
||||||
Function,+,furi_hal_version_get_hw_version,uint8_t,
|
Function,+,furi_hal_version_get_hw_version,uint8_t,
|
||||||
Function,+,furi_hal_version_get_ic_id,const char*,
|
Function,+,furi_hal_version_get_ic_id,const char*,
|
||||||
|
Function,+,furi_hal_version_get_mic_id,const char*,
|
||||||
Function,+,furi_hal_version_get_model_code,const char*,
|
Function,+,furi_hal_version_get_model_code,const char*,
|
||||||
Function,+,furi_hal_version_get_model_name,const char*,
|
Function,+,furi_hal_version_get_model_name,const char*,
|
||||||
Function,+,furi_hal_version_get_name_ptr,const char*,
|
Function,+,furi_hal_version_get_name_ptr,const char*,
|
||||||
|
|
|
|
@ -5,17 +5,21 @@ bool furi_hal_version_do_i_belong_here() {
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* furi_hal_version_get_model_name() {
|
const char* furi_hal_version_get_model_name() {
|
||||||
return "Komi";
|
return "Flipper Nano";
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* furi_hal_version_get_model_code() {
|
const char* furi_hal_version_get_model_code() {
|
||||||
return "N/A";
|
return "FN.1";
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* furi_hal_version_get_fcc_id() {
|
const char* furi_hal_version_get_fcc_id() {
|
||||||
return "N/A";
|
return "Pending";
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* furi_hal_version_get_ic_id() {
|
const char* furi_hal_version_get_ic_id() {
|
||||||
return "N/A";
|
return "Pending";
|
||||||
|
}
|
||||||
|
|
||||||
|
const char* furi_hal_version_get_mic_id() {
|
||||||
|
return "Pending";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
entry,status,name,type,params
|
entry,status,name,type,params
|
||||||
Version,+,33.1,,
|
Version,+,33.2,,
|
||||||
Header,+,applications/services/bt/bt_service/bt.h,,
|
Header,+,applications/services/bt/bt_service/bt.h,,
|
||||||
Header,+,applications/services/cli/cli.h,,
|
Header,+,applications/services/cli/cli.h,,
|
||||||
Header,+,applications/services/cli/cli_vcp.h,,
|
Header,+,applications/services/cli/cli_vcp.h,,
|
||||||
|
@ -1427,6 +1427,7 @@ Function,+,furi_hal_version_get_hw_target,uint8_t,
|
||||||
Function,+,furi_hal_version_get_hw_timestamp,uint32_t,
|
Function,+,furi_hal_version_get_hw_timestamp,uint32_t,
|
||||||
Function,+,furi_hal_version_get_hw_version,uint8_t,
|
Function,+,furi_hal_version_get_hw_version,uint8_t,
|
||||||
Function,+,furi_hal_version_get_ic_id,const char*,
|
Function,+,furi_hal_version_get_ic_id,const char*,
|
||||||
|
Function,+,furi_hal_version_get_mic_id,const char*,
|
||||||
Function,+,furi_hal_version_get_model_code,const char*,
|
Function,+,furi_hal_version_get_model_code,const char*,
|
||||||
Function,+,furi_hal_version_get_model_name,const char*,
|
Function,+,furi_hal_version_get_model_name,const char*,
|
||||||
Function,+,furi_hal_version_get_name_ptr,const char*,
|
Function,+,furi_hal_version_get_name_ptr,const char*,
|
||||||
|
|
|
|
@ -19,3 +19,7 @@ const char* furi_hal_version_get_fcc_id() {
|
||||||
const char* furi_hal_version_get_ic_id() {
|
const char* furi_hal_version_get_ic_id() {
|
||||||
return "27624-FZ";
|
return "27624-FZ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char* furi_hal_version_get_mic_id() {
|
||||||
|
return "210-175991";
|
||||||
|
}
|
||||||
|
|
|
@ -85,6 +85,12 @@ const char* furi_hal_version_get_fcc_id();
|
||||||
*/
|
*/
|
||||||
const char* furi_hal_version_get_ic_id();
|
const char* furi_hal_version_get_ic_id();
|
||||||
|
|
||||||
|
/** Get MIC id
|
||||||
|
*
|
||||||
|
* @return MIC id as C-string
|
||||||
|
*/
|
||||||
|
const char* furi_hal_version_get_mic_id();
|
||||||
|
|
||||||
/** Get OTP version
|
/** Get OTP version
|
||||||
*
|
*
|
||||||
* @return OTP Version
|
* @return OTP Version
|
||||||
|
|
Loading…
Reference in a new issue