set rime communication stack default

This commit is contained in:
fros4943 2008-02-11 14:00:19 +00:00
parent 07834f08de
commit 74df59e4a2

View File

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: ContikiMoteType.java,v 1.23 2008/02/07 10:34:45 fros4943 Exp $ * $Id: ContikiMoteType.java,v 1.24 2008/02/11 14:00:19 fros4943 Exp $
*/ */
package se.sics.cooja.contikimote; package se.sics.cooja.contikimote;
@ -93,7 +93,7 @@ public class ContikiMoteType implements MoteType {
* Communication stacks in Contiki. * Communication stacks in Contiki.
*/ */
public enum CommunicationStack { public enum CommunicationStack {
UIP, UIP_UAODV, RIME; RIME, UIP, UIP_UAODV;
public String toString() { public String toString() {
if (this == UIP) { if (this == UIP) {
@ -160,7 +160,7 @@ public class ContikiMoteType implements MoteType {
private boolean hasSystemSymbols = false; private boolean hasSystemSymbols = false;
private CommunicationStack commStack = CommunicationStack.UIP; private CommunicationStack commStack = CommunicationStack.RIME;
// Simulation holding this mote type // Simulation holding this mote type
private Simulation mySimulation = null; private Simulation mySimulation = null;