For EMPL-G2P1 and EMPL-G202:
Get the Ethernet name from
Control Panel
>
Network and Internet
>
Network Connections
, based on the MAC address of
the Ethernet ports.
Sensor APIs
The sensors of the EGW-3200 use Microsoft default sensor APIs. This section serves as a programming reference of the Win32
API. For more detail, see
https://docs.microsoft.com/en-us/windows/win32/api/sensorsapi/
.
Table 7. Console application APIs for ADXL345/HDC1010/DPS310
S.No
Console application
APIs
Description
Supported/not
supported
1.
GetSensorsByType
Retrieves a collection containing all sensors associated
with the specified type.
Supported
2.
GetData
Retrieves the most recent sensor data report.
Supported
3.
GetAt
Retrieves the sensor at the specified index in the
collection.
Supported
4.
GetCategory
Retrieves the identifier of the sensor category.
Supported
5.
GetSensorValue
Retrieves a single data field value from the data report. Supported
6.
GetSensorValues
Retrieves a collection of data field values.
Supported
7.
GetCount
Retrieves the count of sensors in the collection.
Supported
8.
GetFriendlyName
Retrieves the sensor name that is intended to be seen
by the user.
Supported
9.
GetState
Retrieves the current operational state of the sensor.
Supported
10.
SetEventSink
Specifies the interface through which to receive
sensor event notifications.
Supported
11.
GetSensorByID
Retrieves a pointer to the specified sensor.
Supported
12.
GetProperties
Retrieves multiple sensor properties.
Supported
13.
GetProperty
Retrieves a property value.
Supported
14.
GetSupportedDataFields
Retrieves a set of PROPERTYKEYs that represent the
data fields the sensor can provide.
Supported
15.
SetProperties
Specifies sensor properties.
Supported
16.
Add
Adds a sensor to the collection.
Supported
17.
GetTimestamp
Retrieves the time at which the data report was
created.
Supported
18.
OnDataUpdated
Provides sensor event data.
Supported
19.
OnEvent
Provides custom event notifications.
Supported
20.
OnLeave
Provides notification that a sensor device is no longer
connected.
Supported
21.
OnStateChanged
Provides a notification that a sensor state has
changed.
Supported
22.
GetEventInterest
Retrieves the current event interest settings.
Supported
23.
SetEventInterest
Specifies the list of sensor events to receive.
Supported
24.
SupportsEvent
Indicates whether the sensor supports the specified
event.
Supported
Setting Up the Windows 10 Operating System
57