Syntax
void GetSystemInfo(
SystemInfo *info
);
Parameters
- info
- [out] Pointer to the SystemInfo structure.
Return value
None
Remarks
Returns the system information of the device.
You can get the same information that is displayed in System information in the System menu.
Requirements
Header file:
lib.hLibrary file:
libSTARTUPOPH5000.a
Sample
#include <stdio.h>
#include <string.h>
#include "lib.h"
void main(void)
{
SystemInfo info;
memset(&info, 0, sizeof(SystemInfo));
GetSystemInfo( &info );
printf("System Ver: %s\r\n", info.SystemVersion);
printf(" Boot : %s\r\n", info.BootVersion);
printf(" OS : %s\r\n", info.OsVersion);
printf(" BatchAPP: %s\r\n", info.BatchVersion);
printf(" Decoder: %s\r\n", info.DecoderVersion);
printf(" WLAN : %s\r\n", info.WlanVersion);
printf(" %s\r\n", info.WlanMac);
printf(" BT : %s\r\n", info.BluetoothVersion);
printf(" %s\r\n", info.BluetoothAddress);
for (;;)
{
Idle();
}
}
Last updated: 2021/10/01