Muteki
EABI code execution on Besta® RTOS devices.
Toggle main menu visibility
Loading...
Searching...
No Matches
id.h
Go to the documentation of this file.
1
/*
2
* Copyright 2026 dogtopus
3
* SPDX-License-Identifier: MIT
4
*/
5
10
11
#ifndef __MUTEKI_ID_H__
12
#define __MUTEKI_ID_H__
13
14
#include "
common.h
"
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
24
enum
id_device_feature_mask_e
{
28
DEVICE_FEATURE_NO_TOUCH_PANEL
= 0x0001,
32
DEVICE_FEATURE_NO_HW_KEYBOARD
= 0x0002,
36
DEVICE_FEATURE_NO_FKEY
= 0x0008,
37
};
38
42
typedef
struct
id_device_info_s
{
46
char
data_name
[16];
50
unsigned
char
sbz_0x10
[8];
54
char
data_version
[16];
58
char
rom_version
[16];
63
unsigned
short
feature_masks
;
67
char
serial_number
[16];
71
unsigned
short
default_language_code
;
76
unsigned
short
data_encodings
;
80
char
os_version
[16];
84
char
rom_name
[16];
88
short
unk_0x6e
;
92
short
unk_0x70
;
96
unsigned
char
sbz_0x72
[0x3a];
97
}
id_device_info_t
;
98
100
105
id_device_info_t
*
GetMasterIDInfo
(
id_device_info_t
*out_info);
106
114
size_t
GetMasterSerialNumber
(
char
serial_out[17]);
115
116
#ifdef __cplusplus
117
}
// extern "C"
118
#endif
119
120
#endif
// __MUTEKI_ID_H__
common.h
Common include file for all muteki-shims headers.
id_device_info_t
struct id_device_info_s id_device_info_t
Device info.
id_device_feature_mask_e
id_device_feature_mask_e
Hardware feature masks.
Definition
id.h:24
DEVICE_FEATURE_NO_FKEY
@ DEVICE_FEATURE_NO_FKEY
Device does not have physical F-keys and alternative keys/menus must be used in place of them.
Definition
id.h:36
DEVICE_FEATURE_NO_HW_KEYBOARD
@ DEVICE_FEATURE_NO_HW_KEYBOARD
Device does not have a hardware keyboard and/or prefer to use a software keyboard.
Definition
id.h:32
DEVICE_FEATURE_NO_TOUCH_PANEL
@ DEVICE_FEATURE_NO_TOUCH_PANEL
Device does not have a touch panel and does not support touch screen operation.
Definition
id.h:28
GetMasterSerialNumber
size_t GetMasterSerialNumber(char serial_out[17])
Read the device serial number.
GetMasterIDInfo
id_device_info_t * GetMasterIDInfo(id_device_info_t *out_info)
Read the device info.
id_device_info_s
Device info.
Definition
id.h:42
id_device_info_s::rom_version
char rom_version[16]
Installed ROM/kernel partition version as shown in the diagnostics menu.
Definition
id.h:58
id_device_info_s::os_version
char os_version[16]
Installed operating system version.
Definition
id.h:80
id_device_info_s::sbz_0x72
unsigned char sbz_0x72[0x3a]
Reserved. Should be set to 0.
Definition
id.h:96
id_device_info_s::serial_number
char serial_number[16]
Device serial number.
Definition
id.h:67
id_device_info_s::default_language_code
unsigned short default_language_code
Device default language code/region.
Definition
id.h:71
id_device_info_s::feature_masks
unsigned short feature_masks
Disabled hardware features.
Definition
id.h:63
id_device_info_s::data_name
char data_name[16]
Name of the installed system data partition.
Definition
id.h:46
id_device_info_s::unk_0x6e
short unk_0x6e
Unknown. Seems to be constant 1.
Definition
id.h:88
id_device_info_s::data_version
char data_version[16]
Installed system data partition version as shown in the diagnostics menu.
Definition
id.h:54
id_device_info_s::sbz_0x10
unsigned char sbz_0x10[8]
Reserved. Should be set to 0.
Definition
id.h:50
id_device_info_s::data_encodings
unsigned short data_encodings
Allowed character encodings in the system data partition.
Definition
id.h:76
id_device_info_s::rom_name
char rom_name[16]
Name of the installed ROM/kernel partition.
Definition
id.h:84
id_device_info_s::unk_0x70
short unk_0x70
Unknown. Seems to be constant 1.
Definition
id.h:92
include
muteki
id.h
Generated by
1.18.0