Muteki
EABI code execution on Besta® RTOS devices.
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
17extern "C" {
18#endif
19
38
42typedef 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];
98
106
114size_t GetMasterSerialNumber(char serial_out[17]);
115
116#ifdef __cplusplus
117} // extern "C"
118#endif
119
120#endif // __MUTEKI_ID_H__
Common include file for all muteki-shims headers.
struct id_device_info_s id_device_info_t
Device info.
id_device_feature_mask_e
Hardware feature masks.
Definition id.h:24
@ 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 does not have a hardware keyboard and/or prefer to use a software keyboard.
Definition id.h:32
@ DEVICE_FEATURE_NO_TOUCH_PANEL
Device does not have a touch panel and does not support touch screen operation.
Definition id.h:28
size_t GetMasterSerialNumber(char serial_out[17])
Read the device serial number.
id_device_info_t * GetMasterIDInfo(id_device_info_t *out_info)
Read the device info.
Device info.
Definition id.h:42
char rom_version[16]
Installed ROM/kernel partition version as shown in the diagnostics menu.
Definition id.h:58
char os_version[16]
Installed operating system version.
Definition id.h:80
unsigned char sbz_0x72[0x3a]
Reserved. Should be set to 0.
Definition id.h:96
char serial_number[16]
Device serial number.
Definition id.h:67
unsigned short default_language_code
Device default language code/region.
Definition id.h:71
unsigned short feature_masks
Disabled hardware features.
Definition id.h:63
char data_name[16]
Name of the installed system data partition.
Definition id.h:46
short unk_0x6e
Unknown. Seems to be constant 1.
Definition id.h:88
char data_version[16]
Installed system data partition version as shown in the diagnostics menu.
Definition id.h:54
unsigned char sbz_0x10[8]
Reserved. Should be set to 0.
Definition id.h:50
unsigned short data_encodings
Allowed character encodings in the system data partition.
Definition id.h:76
char rom_name[16]
Name of the installed ROM/kernel partition.
Definition id.h:84
short unk_0x70
Unknown. Seems to be constant 1.
Definition id.h:92