Consolidate mote programming in the Mote class
commit06f29a148f47bf0d4976c3e65d16e27120b050e1
authorJonas Fonseca <fonseca@diku.dk>
Wed, 5 Dec 2007 12:26:54 +0000 (5 13:26 +0100)
committerJonas Fonseca <fonseca@diku.dk>
Fri, 7 Dec 2007 14:54:21 +0000 (7 15:54 +0100)
treeb849d8a30051394cafa896303223b4f91ec0ec48
parente707311f0eff8fd569bd3480e599fcca2b361eef
Consolidate mote programming in the Mote class

This somewhat lowlevel stuff really belongs in the Mote class and it
needs to be there to fix some of the requirements related to issue 6.
Additionally, it allows to the getProgrammerPath() accessor to be
removed use the more appropriate hasChild() instead of getStatus() to
check for an existing programming session.

To further improve robustness of programming the path of the programmer
is now also checked for existence by Mote::validate().
diku_mch/Mote.cc
diku_mch/Mote.h
diku_mch/MoteHost.cc
diku_mch/MoteHost.h
libutil/File.cc
libutil/File.h