x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 

GLPI-Agent for WinCE

Download Summary:

Support the Site
Become a HPC:Factor Plus Subscriber Member button
Support us on Patreon button
Support HPC:Factor in continuing to offer support and downloads to the community! Make a donation button.

Very light GLPI agent for Windows CE

To download you must be logged-in and be a subscriber or have met our community quality and reputation requirements as a free user. (Find out more · Subscribe)
Version:
1.2
Download Size:
58 KB - 140 KB
Popularity:
2595
Number of Downloads:
0
Added By:
torch on 13/01/2023 1:26:01 AM

Overview:

The agent will try to retreive the following informations and send them back to GLPI with FusionInventory plugin server:

device name
device hardware and model
device operating system version
device serial number
device MAC address
device IP

OCSInventory server should also be supported as far as UserAgent filtering on server side is updated to accept GLPI-Agent vX.Y.
Building the agent

To build the agent you will need a full cross-building toolchain for wince. We used cegcc/mingw32ce based on GCC v4.6.3 and published by Max Kerllermann for the XCSoar project needs.

The toolchain is available from: http://max.kellermann.name/projects/cegcc/

To build the agent, you need the following tool in your environment:

arm-mingw32ce-gcc
arm-mingw32ce-cpp
arm-mingw32ce-windres
arm-mingw32ce-strip

Building the cab installer

Before building the cab installer, you may want to update the src/Makefile.local with your GLPI server URL so it is defined during installation.

To build the installer, just start:

make cab

This will eventually download and install lcab and cabwiz tools from launchpad and github.

By the way, it also support to start cabwiz.exe using Wine. For this you need to copy cabwiz.exe, cabwiz.ddf and makecab.exe from a Visual Studio Legacy install to the tools folder. If such tools is found and Wine is installed on your system, lcab & cabwiz won't be downloaded.
Generated inventory samples

HTC Win-CE based Phone:

<?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
<CONTENT>
<BIOS>
<IMEI>357559019934433</IMEI>
<SMANUFACTURER>HTC</SMANUFACTURER>
<SMODEL>Touch Diamond P3700 PocketPC</SMODEL>
<TYPE>Embedded Terminal</TYPE>
</BIOS>
<HARDWARE>
<NAME>Touch_Diamond</NAME>
<OSNAME>Windows CE OS</OSNAME>
<OSVERSION>5.2.20764</OSVERSION>
<UUID>a220b14b97d03347579cb4430611cbffe76e1c4c</UUID>
</HARDWARE>
<NETWORKS>
<DESCRIPTION>TNETW12511</DESCRIPTION>
<IPADDRESS>192.168.122.101</IPADDRESS>
<IPMASK>255.255.255.0</IPMASK>
<MACADDR>00:18:41:a3:66:f1</MACADDR>
<MODEL>TNETW12511</MODEL>
<TYPE>ethernet</TYPE>
</NETWORKS>
<VERSIONCLIENT>GLPI-Agent v1.2</VERSIONCLIENT>
</CONTENT>
<DEVICEID>Touch_Diamond-2016-07-07-18-32-18</DEVICEID>
<QUERY>INVENTORY</QUERY>
</REQUEST>

Datalogic Skorpio X3:

<?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
<CONTENT>
<ACCOUNTINFO>
<KEYNAME>TAG</KEYNAME>
<KEYVALUE>dev</KEYVALUE>
</ACCOUNTINFO>
<BIOS>
<BVERSION>Firmware 1.90</BVERSION>
<SMANUFACTURER>Datalogic</SMANUFACTURER>
<SMODEL>SkorpioX3</SMODEL>
<SSN>G14I70443</SSN>
<TYPE>Embedded Terminal</TYPE>
</BIOS>
<HARDWARE>
<NAME>SkorpioX3</NAME>
<OSNAME>Windows CE OS</OSNAME>
<OSVERSION>6.0.0</OSVERSION>
<UUID>3b64278050af33031c6cc83668e664c6e9336333</UUID>
</HARDWARE>
<NETWORKS>
<DESCRIPTION>SDCSD30AG1</DESCRIPTION>
<IPADDRESS>192.168.122.62</IPADDRESS>
<IPMASK>255.255.255.0</IPMASK>
<MACADDR>00-17-23-ab-2d-cc</MACADDR>
<MODEL>SDCSD30AG1</MODEL>
<TYPE>ethernet</TYPE>
</NETWORKS>
<VERSIONCLIENT>GLPI-Agent v1.1</VERSIONCLIENT>
</CONTENT>
<DEVICEID>SkorpioX3-2016-05-23-10-27-54</DEVICEID>
<QUERY>INVENTORY</QUERY>
</REQUEST>

Test with Wine

As explain on MSDN, Microsoft provides a WinCE emulator on which we can test the software. It can be started using Wine.

Install Microsoft Device Emulator 3.0 -- Standalone Release
SHA1: a0de78a04e0af037027512f9c89c4a4d18896132 vs_emulator.exe
Run: wine vs_emulator.exe

Install Windows Mobile 6 Professional Images
SHA1: 1dcc6a95e949ae776143357d197d1a7a6e137539 Windows Mobile 6 Professional Images (USA).msi
Run: wine msiexec /i "Windows Mobile 6 Professional Images (USA).msi"

Start emulator launcher test script:
Run: wineconsole --backend=curses test/emulator.bat

Download:

FileArchitectureSize
glpi-agent-v1.2.cab
1.2
ARM
Windows CE 5.0 and higher
82 KB
MD5: 5D59A35D8CB6065BA583B05B6D8B7AA1
glpi-wince-agent-1.2.zip
1.2
58 KB
MD5: D575A0D881BA18452DF578FC27380768

Donate:

Support the Site
Become a HPC:Factor Plus Subscriber Member button
Support us on Patreon button
Support HPC:Factor in continuing to offer support and downloads to the community! Make a donation button.
HPC:Factor believes that the Internet is a better place without the constant displaying of adverts on community website resources and as such does not carry 'ad-words', banners, pop-up's or any other form of paid advertising.

Please help to pay for the download that you are getting from us today and help to support our desire to run the site without paid subscriptions or advertising by making a donation to the site. It doesn't matter how much or little you donate, but by donating you will help to ensure that we can continue to offer some of the Internet's most popular, rarest and unusual downloads for Windows CE devices for now and for the future.