This function sets the status bar state (show / hide).

Syntax

int OsStatus(
  int mode
);

Parameters

mode
[in] Specifies the status of the status bar.
ValueDescription
ON Show status bar
OFF Hide status bar

Return value

Returns the current status bar status.

Remarks

This API is compatible with OS version TH15J06 or later.
Status bar display When OsStatus (ON) is set, the dot coordinate values on the screen that can be drawn are as follows.
X (Left and Right): 0 〜 (DISP_WIDTH - 1)
Y (Up and Down): 0 〜 (DISP_HEIGHT - 17)
When the status bar area is drawn when OsStatus (ON), the status bar is overwritten and redrawn.
ValueDescription
DISP_WIDTH 128 pixel
DISP_HEIGHT 160 pixel

Status display specifications:
statusDescription
System date Displays the system date in MM / DD HH: MM format.
Bluetooth status When Bluetooth is enabled, the Bluetooth mark is displayed.
When Bluetooth is disabled, the Bluetooth mark is not displayed.
:Bluetooth enabled
WLAN status When wireless LAN is enabled, the signal strength is displayed.
When the wireless LAN is disabled, the wireless LAN mark is not displayed.
:Radio strength Max
:Radio strength Mid
:Radio strength Min
Input status A:Character input status(SHIFT ON)
1:Number input status(SHIFT OFF)
Battery status The battery status is displayed.
:There is more than 50% remaining.
:There is less than 50% and more than 30% remaining.
:Stop using it and charge it.
:Cannot be used, please charge.

Requirements

Header file:
lib.h
Library file:
libSTARTUPOPH5000.a

Last updated: 2020/10/02