Moxa V2403-C3-W-T [49/90] Device api

Moxa V2403-C7-W-T [49/90] Device api
V2403 Series Linux Software Programmer’s Guide
4-2
Device API
The V2403 supports control devices with the ioctl system API. The interface is shown below:
int ioctl(int d, int request,…);
Input:
<d> open device node return file handle
<request> argument in or out
Refer to desktop Linuxs man page for detailed documentation:
#man ioctl
Getting the Product Serial Number
Use dmidecode to ready the product information. The command is:
moxa@Moxa:~$ sudo dmidecode -s "baseboard-manufacturer"
MOXA
Refer to the following keywords to get other product information.
bios-vendor
bios-version
bios-release-date
system-manufacturer
system-product-name
system-version
system-serial-number
system-uuid
baseboard-manufacturer
baseboard-product-name
baseboard-version
baseboard-serial-number
baseboard-asset-tag
chassis-manufacturer
chassis-type
chassis-version
chassis-serial-number
chassis-asset-tag
processor-family
processor-manufacturer
processor-version
processor-frequency

Содержание

Похожие устройства

Скачать