Release of build 256

3 replies [Last post]
brett
Offline
Providence, United States
Joined: 9 Jan 2010

This release includes an iServer allowing the xapFlash application that runs on the Joggler to use the HAH as a TCP/xAP gateway.  So no need to keep a Windows machine running just as a gateway anymore!

The gateway has had reasonable testing but there is nothing like getting it out there to iron out the wrinkles.

Minors fixes:

  • xap-serial memory leak
  • xap-googlecal - segv when using a password from the command line
  • displaytext= tag malformed for xap-livebox 1wire events
  • xAP Parser improvement
BodgeIT
Offline
London, United Kingdom
Joined: 10 Jun 2010
So far so good Brett

All looking good and couldn't have come at a better time, just when I'm finding ways to shut down more systems, I've now built my homemade music server and want to shutdown the vm device running iserver!

The only issues I had with the old iServer were over a period of time but I had recently seen those improve drastically after finding some of my own poor scripts perhaps causing some of the problem :-( but I'll keep an eye on it and let you know.  Are there any debug options?

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Debugging iServer

Debugging: Just the standard -d option on the command line as per all my applications.

Using a state machine to handle the protocol means even bad messages won't jam the engine it will always reset back to a normal state when encountering something unexpected.  So do your worst...

I even ran valgrind over the executable to make sure it wasn't leaking memory in strange places given that number of fragments internally allocated and free'd there was a lot of room for a mistakes to be made.

The iServer also has a built in flash policy server on port 843 the Joggler doesn't use this but if you run the flash application on Windows and use its FlashPlayer then it needed.  Just another little freebie you mightn't have known about.

Its built for speed - in fact there is code in there to pad out its startup BSC queries by 20ms so it doesn't flood the network with data faster than clients can keep up.

I only ran it for a few days before releasing.  So its first real workout is in the wild.

Enjoy,

BodgeIT
Offline
London, United Kingdom
Joined: 10 Jun 2010
Like the flash policy server,

Like the flash policy server, will be using my Chrome to dev my Joggler further as my Lua training expands so will need that I think.

So far so good, arose this morning and still have full control over all devices, joggler device status same as HAH devices status and all sensor reporting as usual.

Top reports 0 CPU & 25% Mem for iServer.  Total stats read:

Mem: 13168K used, 712K free, 0K shrd, 172K buff, 3932K cached
CPU:   1% usr   3% sys   0% nice  94% idle   0% io   0% irq   0% softirq
Load average: 0.07 0.07 0.02

Thanks Brett, great job.

Hardware Info