Avr2070 – Atmel AVR2070 User Manual
Page 91

AVR2070
91
8240B-AVR-06/09
6.4.1 Commands on Port 61616....................................................................................... 26
6.4.2 Commands on Port 61618....................................................................................... 27
6.5 Sensor App Example......................................................................................... 28
6.6 TFTP Bootloading ............................................................................................. 29
6.7 Sleeping Nodes ................................................................................................. 30
Appendix A - Route Under MAC (RUM) Protocol ........................... 31
A.1 Overview ........................................................................................................... 31
A.2 Features ............................................................................................................ 31
A.3 Assumptions...................................................................................................... 31
A.4 Implementation Details ..................................................................................... 32
A.4.1 End node................................................................................................................. 32
A.4.2 Router node ............................................................................................................ 33
A.4.3 Coordinator node .................................................................................................... 35
A.5 Examples of network operation......................................................................... 36
A.5.1 Example 1 – End node connecting to coordinator................................................... 37
A.5.2 Example 2 – Router R1 connects to Coordinator C ................................................ 38
A.5.3 Example 3 – Router R3 connects to Coordinator C ................................................ 39
A.5.4 Example 4 – Router R2 connects to Network ......................................................... 39
A.5.5 Example 5 – End node E2 connects to network...................................................... 40
A.6 Routing packets ................................................................................................ 41
A.6.1 Data packets ........................................................................................................... 41
A.7 Packet Formats ................................................................................................. 42
Appendix B - Firmware API Overview ............................................. 43
B.1 Program Organization....................................................................................... 43
B.2 RUM API ........................................................................................................... 50
B.2.1 Coordinator commands........................................................................................... 50
B.2.2 Router and end node commands ............................................................................ 50
B.3 6LoWPAN API................................................................................................... 52
B.4 Writing a Custom Application Using RUM ........................................................ 54
B.4.1 Step 1: Make sure the hardware is compatible with RUM....................................... 54
B.4.2 Step 2: Define a new PLATFORM for the hardware ............................................... 55
B.4.3 Step 3: Verify that the transceiver is communicating with the microcontroller......... 57
B.4.4 Step 4: Verify that the RUM network is working on the hardware ........................... 58
Appendix C - IPv6 / 6LoWPAN Background ................................... 59
C.1 The problem with RF-Only Networks................................................................ 59
C.2 Why IP? ............................................................................................................ 59
C.3 6LoWPAN to the Rescue.................................................................................. 59
C.4 A Crash Course in IPv6 .................................................................................... 59
C.4.1 IPv6 Addressing...................................................................................................... 59
C.4.2 IPv6 Neighbor Discovery ........................................................................................ 60
C.4.3 Node Auto-configuration ......................................................................................... 61
C.5 6LoWPAN Basics ............................................................................................. 62