added memory monitor stubs to avr memory
This commit is contained in:
parent
f8134186da
commit
295bb8b70f
2 changed files with 13 additions and 5 deletions
|
@ -170,4 +170,17 @@ public class AvrMoteMemory implements MoteMemory, AddressMemory {
|
|||
public boolean variableExists(String varName) {
|
||||
return memoryMap.getLocation(varName) != null;
|
||||
}
|
||||
|
||||
public boolean addMemoryMonitor(int address, int size, MemoryMonitor mm) {
|
||||
logger.warn("Not implemented");
|
||||
return false;
|
||||
}
|
||||
|
||||
public void removeMemoryMonitor(int address, int size, MemoryMonitor mm) {
|
||||
}
|
||||
|
||||
public int parseInt(byte[] memorySegment) {
|
||||
logger.warn("Not implemented");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -270,9 +270,4 @@ public class MicaZMote extends AbstractEmulatedMote implements Mote {
|
|||
public String toString() {
|
||||
return "MicaZ " + getID();
|
||||
}
|
||||
|
||||
public MemoryMonitor createMemoryMonitor(MemoryEventHandler meh) {
|
||||
logger.fatal("Not implemented");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue