Expected completion time of this lab: 

10 min

.


Overview of Master/Slave modes

The default firmware on your SmartMesh IP Mote has two modes of operation:

In the same network, you can have some motes operating in master mode, others in slave mode.

 

It is important to understand that the OAP protocol is disabled when the mote is in slave mode. The table below summarizes the differences between the two modes of operation:


 

 

master mode

slave mode

OAP

enabled

disabled

serial API

disabled

enabled

need an external microcontroller?

NO

YES

Switching your motes to slave mode

In slave mode , the mote does NOT attempt to join the network. You can verify that the mote is indeed in “Lost” state of the manager’s CLI:

> login user
> sm
MAC MoteId State Nbrs Links Joins Age StateTime
00-17-0D-00-00-38-0F-B3 1 Oper 0 19 1 0 0-00:07:16
00-17-0D-00-00-60-05-69 2 Lost 1 14 1 92 0-00:00:32
Number of motes (max 33): Total 2, Live 1, Joining 0