minor changes due to new setConfig method parameter
This commit is contained in:
parent
2fd44015fa
commit
db0cb3d04c
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ContikiBeeper.java,v 1.3 2006/10/11 14:19:14 fros4943 Exp $
|
||||
* $Id: ContikiBeeper.java,v 1.4 2007/01/09 10:05:19 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.contikimote.interfaces;
|
||||
|
@ -161,7 +161,7 @@ public class ContikiBeeper extends Beeper implements ContikiMoteInterface {
|
|||
return null;
|
||||
}
|
||||
|
||||
public void setConfigXML(Collection<Element> configXML) {
|
||||
public void setConfigXML(Collection<Element> configXML, boolean visAvailable) {
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ContikiButton.java,v 1.4 2006/10/05 12:13:46 fros4943 Exp $
|
||||
* $Id: ContikiButton.java,v 1.5 2007/01/09 10:05:19 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.contikimote.interfaces;
|
||||
|
@ -173,7 +173,7 @@ public class ContikiButton extends Button implements ContikiMoteInterface {
|
|||
return null;
|
||||
}
|
||||
|
||||
public void setConfigXML(Collection<Element> configXML) {
|
||||
public void setConfigXML(Collection<Element> configXML, boolean visAvailable) {
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ContikiCFS.java,v 1.3 2006/10/23 16:13:12 fros4943 Exp $
|
||||
* $Id: ContikiCFS.java,v 1.4 2007/01/09 10:05:19 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.contikimote.interfaces;
|
||||
|
@ -190,10 +190,10 @@ public class ContikiCFS extends MoteInterface implements ContikiMoteInterface {
|
|||
byte[] fileData = readDialogFileBytes(null);
|
||||
|
||||
// Write file data to CFS
|
||||
if (fileData != null)
|
||||
if (fileData != null) {
|
||||
setFilesystemData(fileData);
|
||||
|
||||
logger.info("Done! (" + fileData.length + " bytes written to CFS)");
|
||||
logger.info("Done! (" + fileData.length + " bytes written to CFS)");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -234,7 +234,7 @@ public class ContikiCFS extends MoteInterface implements ContikiMoteInterface {
|
|||
return null;
|
||||
}
|
||||
|
||||
public void setConfigXML(Collection<Element> configXML) {
|
||||
public void setConfigXML(Collection<Element> configXML, boolean visAvailable) {
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ContikiClock.java,v 1.1 2006/08/21 12:13:05 fros4943 Exp $
|
||||
* $Id: ContikiClock.java,v 1.2 2007/01/09 10:05:19 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.contikimote.interfaces;
|
||||
|
@ -111,7 +111,7 @@ public class ContikiClock extends Clock implements ContikiMoteInterface {
|
|||
return null;
|
||||
}
|
||||
|
||||
public void setConfigXML(Collection<Element> configXML) {
|
||||
public void setConfigXML(Collection<Element> configXML, boolean visAvailable) {
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ContikiIPAddress.java,v 1.1 2006/08/21 12:13:04 fros4943 Exp $
|
||||
* $Id: ContikiIPAddress.java,v 1.2 2007/01/09 10:05:19 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.contikimote.interfaces;
|
||||
|
@ -176,7 +176,7 @@ public class ContikiIPAddress extends IPAddress implements ContikiMoteInterface
|
|||
return config;
|
||||
}
|
||||
|
||||
public void setConfigXML(Collection<Element> configXML) {
|
||||
public void setConfigXML(Collection<Element> configXML, boolean visAvailable) {
|
||||
for (Element element : configXML) {
|
||||
if (element.getName().equals("ipv4address")) {
|
||||
setIPString(element.getText());
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ContikiLED.java,v 1.1 2006/08/21 12:13:05 fros4943 Exp $
|
||||
* $Id: ContikiLED.java,v 1.2 2007/01/09 10:05:19 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.contikimote.interfaces;
|
||||
|
@ -254,7 +254,7 @@ public class ContikiLED extends LED implements ContikiMoteInterface {
|
|||
return null;
|
||||
}
|
||||
|
||||
public void setConfigXML(Collection<Element> configXML) {
|
||||
public void setConfigXML(Collection<Element> configXML, boolean visAvailable) {
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ContikiLog.java,v 1.1 2006/08/21 12:13:05 fros4943 Exp $
|
||||
* $Id: ContikiLog.java,v 1.2 2007/01/09 10:05:19 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.contikimote.interfaces;
|
||||
|
@ -163,7 +163,7 @@ public class ContikiLog extends Log implements ContikiMoteInterface {
|
|||
return null;
|
||||
}
|
||||
|
||||
public void setConfigXML(Collection<Element> configXML) {
|
||||
public void setConfigXML(Collection<Element> configXML, boolean visAvailable) {
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ContikiMoteID.java,v 1.1 2006/08/21 12:13:05 fros4943 Exp $
|
||||
* $Id: ContikiMoteID.java,v 1.2 2007/01/09 10:05:19 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.contikimote.interfaces;
|
||||
|
@ -156,7 +156,7 @@ public class ContikiMoteID extends MoteID implements ContikiMoteInterface {
|
|||
return config;
|
||||
}
|
||||
|
||||
public void setConfigXML(Collection<Element> configXML) {
|
||||
public void setConfigXML(Collection<Element> configXML, boolean visAvailable) {
|
||||
for (Element element : configXML) {
|
||||
if (element.getName().equals("id")) {
|
||||
setMoteID(Integer.parseInt(element.getText()));
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ContikiPIR.java,v 1.2 2006/09/26 13:08:05 fros4943 Exp $
|
||||
* $Id: ContikiPIR.java,v 1.3 2007/01/09 10:05:19 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.contikimote.interfaces;
|
||||
|
@ -153,7 +153,7 @@ public class ContikiPIR extends PIR implements ContikiMoteInterface {
|
|||
return null;
|
||||
}
|
||||
|
||||
public void setConfigXML(Collection<Element> configXML) {
|
||||
public void setConfigXML(Collection<Element> configXML, boolean visAvailable) {
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ContikiRS232.java,v 1.2 2006/09/26 13:08:05 fros4943 Exp $
|
||||
* $Id: ContikiRS232.java,v 1.3 2007/01/09 10:05:19 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.contikimote.interfaces;
|
||||
|
@ -250,7 +250,7 @@ public class ContikiRS232 extends MoteInterface implements ContikiMoteInterface
|
|||
return null;
|
||||
}
|
||||
|
||||
public void setConfigXML(Collection<Element> configXML) {
|
||||
public void setConfigXML(Collection<Element> configXML, boolean visAvailable) {
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ContikiRadio.java,v 1.9 2006/10/11 15:14:30 fros4943 Exp $
|
||||
* $Id: ContikiRadio.java,v 1.10 2007/01/09 10:05:19 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.contikimote.interfaces;
|
||||
|
@ -425,7 +425,7 @@ public class ContikiRadio extends Radio implements ContikiMoteInterface {
|
|||
return null;
|
||||
}
|
||||
|
||||
public void setConfigXML(Collection<Element> configXML) {
|
||||
public void setConfigXML(Collection<Element> configXML, boolean visAvailable) {
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ContikiVib.java,v 1.2 2006/09/26 13:08:05 fros4943 Exp $
|
||||
* $Id: ContikiVib.java,v 1.3 2007/01/09 10:05:19 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.contikimote.interfaces;
|
||||
|
@ -153,7 +153,7 @@ public class ContikiVib extends MoteInterface implements ContikiMoteInterface {
|
|||
return null;
|
||||
}
|
||||
|
||||
public void setConfigXML(Collection<Element> configXML) {
|
||||
public void setConfigXML(Collection<Element> configXML, boolean visAvailable) {
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue