[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:
Astra 2023-07-10 09:48:00 +03:00 committed by GitHub
parent b148e396d7
commit 0195f8bf00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 25 additions and 7 deletions

View file

@ -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);

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -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*,

1 entry status name type params
2 Version + 33.1 33.2
3 Header + applications/services/bt/bt_service/bt.h
4 Header + applications/services/cli/cli.h
5 Header + applications/services/cli/cli_vcp.h
1263 Function + furi_hal_version_get_hw_timestamp uint32_t
1264 Function + furi_hal_version_get_hw_version uint8_t
1265 Function + furi_hal_version_get_ic_id const char*
1266 Function + furi_hal_version_get_mic_id const char*
1267 Function + furi_hal_version_get_model_code const char*
1268 Function + furi_hal_version_get_model_name const char*
1269 Function + furi_hal_version_get_name_ptr const char*

View file

@ -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";
} }

View file

@ -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*,

1 entry status name type params
2 Version + 33.1 33.2
3 Header + applications/services/bt/bt_service/bt.h
4 Header + applications/services/cli/cli.h
5 Header + applications/services/cli/cli_vcp.h
1427 Function + furi_hal_version_get_hw_timestamp uint32_t
1428 Function + furi_hal_version_get_hw_version uint8_t
1429 Function + furi_hal_version_get_ic_id const char*
1430 Function + furi_hal_version_get_mic_id const char*
1431 Function + furi_hal_version_get_model_code const char*
1432 Function + furi_hal_version_get_model_name const char*
1433 Function + furi_hal_version_get_name_ptr const char*

View file

@ -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";
}

View file

@ -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