SWILIB API (SG)    
Loading...
Searching...
No Matches
info.h
Go to the documentation of this file.
1#pragma once
2
11#ifndef __IN_SWILIB__
12#include "base.h"
13#endif
14
16
34
44
49__swi_begin(0x05F)
51__swi_end(0x05F, GetFreeRamAvail, ());
52
57__swi_begin(0x828B)
59__swi_end(0x828B, RamTotalHeapSize, ());
60
65__swi_begin(0x828C)
68
73__swi_begin(0x05E)
74uint32_t GetMMIMemUsed()
75__swi_end(0x05E, GetMMIMemUsed, ());
76
82__swi_begin(0x1D5)
83char *Get_Phone_Info(int index)
84__swi_end(0x1D5, Get_Phone_Info, (index));
85
95__swi_begin(0x0AA)
97__swi_end(0x0AA, GetCurrentLocale, ());
98
108__swi_begin(0x829D)
110__swi_end(0x829D, RamDisplayLanguage, ());
111
129__swi_begin(0x006)
130int GetAkku(int param1, int param2)
131__swi_end(0x006, GetAkku, (param1, param2));
132
137__swi_begin(0x0C6)
139__swi_end(0x0C6, GetAkkuCapacity, ());
140
150__swi_begin(0x80C8)
151uint16_t *RamCap()
152__swi_end(0x80C8, RamCap, ());
153
162__swi_begin(0x80C9)
163uint16_t *RamLS()
164__swi_end(0x80C9, RamLS, ());
165
178__swi_begin(0x24C)
179int GetPeripheryState(int device, int check)
180__swi_end(0x24C, GetPeripheryState, (device, check));
181
194__swi_begin(0x287)
197
203__swi_begin(0x828D)
206
211__swi_begin(0x829E)
213__swi_end(0x829E, RamIsBTConnected, ());
214
220__swi_begin(0x829F)
223
237__swi_begin(0x009D)
239__swi_end(0x009D, GetMissedEventsPtr, ());
240
253__swi_begin(0x220)
255__swi_end(0x220, IsSliderClosed, ());
256
262__swi_begin(0x80DE)
264__swi_end(0x80DE, RamIsSimPresent, ());
265
270__swi_begin(0x8282)
272__swi_end(0x8282, RamIsRunCamera, ());
273
278__swi_begin(0x80DA)
280__swi_end(0x80DA, RamIsShutdown, ());
281
287__swi_begin(0x80D3)
289__swi_end(0x80D3, RamIsStandby, ());
290
299__swi_begin(0x8299)
302
307__swi_begin(0x81FE)
310
315__swi_begin(0x8231)
318
328__swi_begin(0x80CB)
330__swi_end(0x80CB, RamRingtoneStatus, ());
331
336__swi_begin(0x828A)
337void *RamIsFileCache(void)
338__swi_end(0x828A, RamIsFileCache, ());
339
343
#define __swilib_begin
Definition doxygen.h:29
#define __swi_end(number, func, call)
Definition doxygen.h:33
#define __swi_begin(number)
Definition doxygen.h:32
#define __swilib_end
Definition doxygen.h:30
int * RamTotalHeapSize(void)
Get total size of the HEAP.
uint16_t * RamCap()
Get pointer to the current battery level.
char * RamIsSimPresent()
Check if SIM-card is present.
int GetAkku(int param1, int param2)
Get ADC values.
char * RamRingtoneStatus()
Pointer to the ringtone sound status.
PhoneInfoID
Phone info indexes for the Get_Phone_Info.
Definition info.h:20
int * RamTemporaryHeapSize(void)
Get total size of the non-perm HEAP.
char * RamIsBTConnected()
Check if bluetooth connected to the another device.
char * RamDisplayLanguage()
Get the phone's language.
const char * RamBluetoothDeviceName(void)
Own bluetooth name.
char * RamIsStandby()
Check if phone in standby mode.
char * Get_Phone_Info(int index)
Get basic phone info.
uint16_t * RamLS()
Get pointer to the charging state of the battery.
char * RamIsBTHeadsetConnected()
Check if bluetooth connected to the headset.
char * RamIsShutdown()
Check if phone in shutdown process.
char * RamIsRunCamera()
Check if Camera is running.
int GetPeripheryState(int device, int check)
Get the state of the various peripheries.
int BT_GetLocVisibility(void)
Get bluetooth visibility.
char * RamIsCameraLighterOn()
Check if camera lighter is ON.
char * GetCurrentLocale(void)
Get the phone's language.
void * RamIsFileCache(void)
Get the state of the file-operation indicator.
BatChargingStateID
Battery charging state.
Definition info.h:38
int GetFreeRamAvail()
Get free RAM.
char IsSliderClosed()
Get slider position.
char GetAkkuCapacity()
Get the current battery level.
void * GetMissedEventsPtr(void)
Get missed events ptr.
uint32_t GetMMIMemUsed()
Get memory used by MMI.
void * RamActiveAppointment()
Pointer to the active appointment (organizer)
char * RamExtendedCameraState()
Get a pointer to the camera state.
@ PI_BASE_INFO4
Example: M_minosemea_TH.
Definition info.h:24
@ PI_DATETIME1
Firmware 1-st build time.
Definition info.h:26
@ PI_DATETIME2
Firmware 2-nd build time.
Definition info.h:27
@ PI_BASE_INFO3
Example: M_x75plat_MP_main_1.0.
Definition info.h:23
@ PI_LG
Example: lg01.
Definition info.h:31
@ PI_T9
T9.
Definition info.h:32
@ PI_VENDOR
Example: SIEMENS.
Definition info.h:29
@ PI_BASE_INFO1
Example: ch_x75idbi14.
Definition info.h:21
@ PI_SW_NUMBER
Example: 51.
Definition info.h:28
@ PI_BASE_INFO2
Example: m75i14::main_1.0_V79.27.1.
Definition info.h:22
@ PI_BUILD
Example: OFFICIAL.
Definition info.h:25
@ PI_MODEL
Example: S75.
Definition info.h:30
@ BAT_STATE_UNKNOWN
Definition info.h:40
@ BAT_STATE_DISCHARGING
Definition info.h:39
@ BAT_STATE_FULLY_CHARGED
Definition info.h:42
@ BAT_STATE_CHARGING
Definition info.h:41
#define const
Definition zconf.h:115