debugging

Hacking the Weather Station – Part 3

Hacking the Weather Station – Part 3

In HACKING THE WEATHER STATION – PART 2 I mentioned I needed to capture the reading and writing to the weather station over USB and that I’d started to play with EasyHook. I described roughly how EasyHook works but in this part of the series I’ll explain how I hooked the I/O operations in WeatherSmart in a little more detail. The first step was to define an object that can be used in remote procedure calls (RPC) between my application and the WeatherSmart application. This should be descended from MarshalByRefObject which is pretty standard practice for remoting. I defined methods…

Hacking the Weather Station – Part 2

Hacking the Weather Station – Part 2

In HACKING THE WEATHER STATION – PART 1 I indicated I wanted to attempt to communicate with the weather station over USB directly, bypassing the need to use the official software and the Tycon Windows library. To do this though I first wanted to understand just what the WeatherSmart software sends and receives itself. My first port of call was to look around for some kind of USB sniffing software. I came across and installed USBlyzer which looks something like this: However I couldn’t figure out how to get it to work properly. I could capture outgoing data easily but…