September 19, 2015, 10:33
Seit einiger Zeit betreibe ich einen FHEM server und protokolliere Temperatur, Luftfeuchte, Stromverbrauch und steuere Funkschalter.
Nun wollte ich unsere langsame Internet-Verbindung protokollieren. Dazu habe ich ein Perl Script geschrieben:
Continue reading ‘FHEM – extern Daten einspeisen’ »
August 29, 2014, 13:54
As I needed a tool to test the maximum MTU size for a network, I needed a ping tool where I can define the packet size and the DF (Do Not Fragment-Flag). As I did not find such a tool, I wrote PingNG.
It is a simple tool but the code had to avoid some pitfalls.
Continue reading ‘Mobile Development: PingNG-the next generation ping’ »
Tags:
CodeProject,
Compact Framework,
CSharp,
DF,
do not fragment,
icmpreply,
MSS,
MTU,
ping,
Programming,
windows mobile Category:
CodeProject,
Programming,
Tools |
Comments Off on Mobile Development: PingNG-the next generation ping
March 1, 2011, 23:23
Are you looking for a tool that periodically pings a list of hosts? Here is a toolset that will reschedule a ping utilitiy. This ping utility pings a list of hosts and will create notifications if one or most hosts failed to answer.
I have done this toolset with three separate applications. The scheduler and the notification tool are written in C/C++ win32 API cause this API provided the best access to all the possibilities of the used functions. The user notification API is only supported with basic functionality by CF2. The CEUserNotification API is not supported by CF2 at all.
Although OpenNetCF provides an C# interface to the used APIs, I did not like to include all the unneeded stuff. On the other hand the scheduler is fast and small written in C/C++. With C# I had problems with the notification, especially for removing existing notifications and why should the main tool reside in memory just for showing the notification.
The ping tool is written in C# targeting Compact Framework 2. C# was the easiest to implement the GUI.
All source is available thru one Visual Studio 2008 solution. Yes, you can mix C/C++ and CF2 within one solution.
Continue reading ‘Mobile Development-PingAlert: watch your servers’ »
May 27, 2010, 15:41
Although you may find this combination useless, here is something that will transmit data from a Windows Mobile device to a PC and the PC will type (like a barcode scanner keyboard wedge) the transmitted data.
The workflow theory is:
- You scan a barcode or RFID TAG and the data is wedged into the SocketSend input textbox or you type some text into the textbox.
- You connect your mobile device to the network, where you have a Windows PC running SocketWedge.
- On the mobile within SocketSend you tap the transmit button and the data is send to SocketWedge.
- SocketWedge receives the data and puts it in the keyboard message queue of a defined application.
- The data is typed into the target application.
Continue reading ‘Transmit data from WinMo device to PC: SocketWedge and SocketSend’ »