|
|
| | ---------------------------------------------- | | ---------------------------------------------- |
| | '''4) Sky mote Related Commands:'''<p></p> | | '''4) Sky mote Related Commands:'''<p></p> |
| − | '''sense''': print out sensor data.<p><\p> | + | '''sense''': print out sensor data.<p></p> |
| − | '''senseconv''': convert 'sense' data to human readable format.<p><\p> | + | '''senseconv''': convert 'sense' data to human readable format.<p></p> |
| − | '''nodeid''': set node ID, If no node ID was given on the command line, we print out the current nodeid or else we burn the new node ID.<p><\p> | + | '''nodeid''': set node ID, If no node ID was given on the command line, we print out the current nodeid or else we burn the new node ID.<p></p> |
| − | '''txpower <power>''': change CC2420 transmission power (0 - 31).If no power was given on the command line, we print out the current power.<p><\p> | + | '''txpower <power>''': change CC2420 transmission power (0 - 31).If no power was given on the command line, we print out the current power.<p></p> |
| − | '''rfchannel <channel>''': change CC2420 radio channel (11 - 26).If no channel was given on the command line, we print out thecurrent channel.<p><\p> | + | '''rfchannel <channel>''': change CC2420 radio channel (11 - 26).If no channel was given on the command line, we print out thecurrent channel.<p></p> |
| | | | |
| | '''shell-sky.c''' : This file holds all the sky mote related shell commands. You can find the source file in this path ~/contiki-2.7/apps/shell.<p></p> | | '''shell-sky.c''' : This file holds all the sky mote related shell commands. You can find the source file in this path ~/contiki-2.7/apps/shell.<p></p> |
|
|
| | == How to write your own Shell commands == | | == How to write your own Shell commands == |
| | | | |
Exception encountered, of type "Error"