Docstoc

downloading

Document Sample
downloading Powered By Docstoc
					                                         PHR
                                    length                                 reserved
                                                                                                                                                                                                         L2 advertisement
PHR


                0      1       0       1       0             1       1         0
                              43B of PHY payload                                                                                                                                                                                                                                       1
                                                               Frame Control Field
                                                                                                                                                                             Sequence Number                                                Destination PAN
                                                   PAN ID compression reserved
                  Frame Type Security EnabledPending
                                       Frame Ack. Requested                                       Dest. Add. Mode Frame Version Source Add. Mode
                0     1      1       0       0       0      1      0       0       0                 1        0     ?       ?       1        1            .          .    .        .        .        .   .    .    0       0         0         0        0        0        0        0
                   command          no      no      no     yes                                      16-bit short        ?         64-bit extend.                         least significant byte of ASN                                             14

                               Destination PAN (contd.)                                                                                     Destination Address                                                                              Source Address
IEEE802.15.4




                0      0      0          0         1         1       1        0       1       1       1        1       1         1    1       1       1       1          1        1         1       1    1   1     .       .          .        .        .        .        .        .
                                              14                                                                                      broadcast address (0xFFFF)
                                                                                                                                           Source Address (contd.)

                .      .       .          .        .         .       .        .       .       .       .        .       .         .     .          .       .          .   .        .         .       .    .    .    .       .          .        .        .        .        .        .


                                   Source Address (contd.)

                .      .       .          .        .         .       .        .
                                                                                                                                                                                                                                                                                       13
                              Command Frame Identifier                                                                                                                       Timing Information

                0      0      0         0       1       0            1        0       .       .       .        .       .         .     .          .       .          .   .        .         .       .    .    .    .       .          .        .        .        .        .        .
                                    Advertisment (0x0a)                                                                                                                               ASN
                                                                                                                                                                                                                                          Security Control Field
                                                                                                     Timing Information (contd.)
                                                                                                                                                                                                                           reserved                             Security Level
                .      .       .          .        .         .       .        .       .       .       .        .    .       .         .     .             .          .   .        .         .       .    .    .    0       0      0            0        0         0        0     0
                                                                                                               ASN                                                                                                                                          no security (no MIC)
                                        Join Control                                        Timeslot template and Hopping Seuqence ID
                                                                                                                                                                         Channel Page/Map Length                               Channel Page                          Channel Map
                       reserved                            Join Priority                Hopping Sequence ID            Timeslot template ID
                0      0      0          0         0        0        0        0       0      0       0      0       0       0        0      0             0          0   0        0        0        1    0   0     0      0        0        0        0      1        1             1
                                                             default                          default                         defauly                                              4 bytes                             Channels 11 to 26 are in 2.4 GHz band using O-QPSK
IEEE802.15.4e




                                                                                                          Channel Map (contd.)                                                                                                            Number of SlotFrames

                1      1      1          1         1         1       1        1       1      1        1        1        1      0        0        0        0          0   0        0         0       0    0   0     0       0         0         0        0        0        0        1
                                                                                          Channels 11 to 26 are in 2.4 GHz band using O-QPSK                                                                                                  1 slotframe
                                                                                                                                               SlotFrame Info.
                                        SlotFrame ID                                                                                           SlotFrame Size                                                                               Number of links
                0      0      0           0      0           0       0        1       0       0       0        0       0         0    0           0        0         1   1        0         0       1    0   1     0       0         0        0         0        0        1        0
                                                                                                                                                   101 slots                                                                                    2 links
                                                                                                                                                  Link Info 1
                                                                                Timeslot                                                                                       Channel Offset                                                 Link Option
                0      0      0          0         0         0         0       0       0       0       0     0         0         0    0          0        0          0   0        0      0       0       0   0     0       0          0        0       0       0        1          0
                                                       timeslot 0 is for advertisement and activate commands                                                                 on channel offset 0                               RX link (for advertisement and activate)
                                                                                                                                                 Link Info 2
                                                                                Timeslot                                                                                       Channel Offset                                              Link Option
                0      0      0          0         0         0        0        0        0       0     0        0       0         0    0          1        0          0   0        0      0       0       0   0     0       0         0      0        0        1           0        0
                                                               timeslot 1 is for sending join command                                                                        on channel offset 0                                      SHARED TX link (for join)                        28
                                                                                  MFR
                                                                  16-bit frame check sequence (FCS)
MFR




                .      .       .          .        .         .        .        .         .      .     .        .       .         .     .          .
                                                                            16-bit ITU-T CRC                                                                                                                                                                                           2

                                                                                                                                                                                                                                                                        length (bytes) 44
                                         PHR
                                    length                               reserved
                                                                                                                                                                                                               L2 join
PHR


                0      0       1       1       1             1      0        0
                              30B of PHY payload                                                                                                                                                                                                                          1
                                                               Frame Control Field
                                                                                                                                                                               Sequence Number                                     Destination PAN
                                                   PAN ID compression reserved
                  Frame Type Security EnabledPending
                                       Frame Ack. Requested                                         Dest. Add. Mode Frame Version Source Add. Mode
                0     1      1       0       0       1      1      0       0       0                   1        1     ?       ?       1        1            .          .    .        .        .        .   .   .     0   0   0        0        0       0    0       0
                   command          no      no     yes     yes                                       64-bit extend.       ?         64-bit extend.                         least significant byte of ASN                                  14

                               Destination PAN (contd.)                                                                                                                        Destination Address

                0      0      0          0         1         1      1        0       .        .        .         .       .          .    .          .       .          .   .        .        .        .    .   .     .   .   .        .        .       .     .      .
                                              14
                                                                                                                                        Destination Address (contd.)
IEEE802.15.4




                .      .       .          .        .         .       .       .       .        .        .         .       .          .    .          .       .          .   .        .        .        .    .   .     .   .   .        .        .       .     .      .


                              Destination Address (contd.)                                                                                                                       Source Address

                .      .       .          .        .         .       .       .       .        .        .         .       .          .    .          .       .          .   .        .        .        .    .   .     .   .   .        .        .       .     .      .


                                                                                                                                             Source Address (contd.)

                .      .       .          .        .         .       .       .       .        .        .         .       .          .    .          .       .          .   .        .        .        .    .   .     .   .   .        .        .       .     .      .


                                   Source Address (contd.)

                .      .       .          .        .         .       .       .
                                                                                                                                                                                                                                                                         21
                                                                                                                                                                            Clock Accuracy Capability
                              Command Frame Identifier                                                     Capability Information                                                                                                Number of neighbors
                                                                                                                                                    100ppm capable                      reserved
IEEE802.15.4e




                0      0      0           0       1          0      1        1       ?        ?        ?         ?       ?          ?    ?         ?      1       0        0       0        0       0      0   0     0   0   0        0      0         0    0       1
                                         Join (0x0b)                                                                 ?                                   yes                                                                         1 neighbor
                                                                             Neighbor 1                                                                                        Neighbor 1 (contd.)
                                                                   16 bit address of the neighbor                                                                                     RSSI
                .      .       .          .        .         .       .        .        .       .       .         .       .          .    .          .       .          .   .        .       .         .    .   .
                                                                                                                                                                                                                                                                          7
                                                                                 MFR
                                                                 16-bit frame check sequence (FCS)
MFR




                .      .       .          .        .         .       .        .         .    .         .         .       .          .    .          .
                                                                           16-bit ITU-T CRC                                                                                                                                                                               2

                                                                                                                                                                                                                                                           length (bytes) 31
                                         PHR
                                    length                         reserved
                                                                                                                                                                                               L2 activate
PHR


                0      1       0       0       0       1       1       0
                              35B of PHY payload                                                                                                                                                                                                                      1
                                                              Frame Control Field
                                                                                                                                                                 Sequence Number                                              Destination PAN
                                                   PAN ID compression reserved
                  Frame Type Security EnabledPending
                                       Frame Ack. Requested                                 Dest. Add. Mode Frame Version Source Add. Mode
                0     1      1       0       0       1      0      0      0       0            1        1     ?       ?       0        1      .       .     .        .        .        .   .     .    1      1         1         1        1        1     1      1
                   command          no      no     yes     no                                64-bit extend.       ?          16-bit short                  least significant byte of ASN                                     Broadcast (0xFFFF)

                               Destination PAN (contd.)                                                                                                         Destination Address

                1      1      1       1        1       1       1       1       .       .        .      .      .       .      .       .        .       .    .          .       .        .   .     .     .     .          .        .       .         .      .     .
                                  Broadcast (0xFFFF)
IEEE802.15.4




                                                                                                                            Destination Address (contd.)

                .      .      .       .        .          .    .       .       .       .        .      .      .       .      .       .        .       .    .          .       .        .   .     .     .     .          .        .       .         .      .     .


                             Destination Address (contd.)                                                                           Source PAN                                                                                Source Addrress

                .      .      .       .        .          .    .       .       0       0       0      0       0      0       0       0        0      0     0         0        1       1    1     0     .     .          .        .       .         .      .     .
                                                                                                                                         14

                               Source Addrress (contd.)

                .      .      .       .        .          .    .       .
                                                                                                                                                                                                                                                                     17
                              Command Frame Identifier                                                                             Short Address                                                                            Number of SlotFrames

                0      0      0       0        1       1       0       0       .       .        .      .      .       .      .       .        .       .    .          .       .        .   .     .    0      0         0         0        0        0     0      1
                                    Activate (0x0c)                                                                                                                                                                             1 slotframe
                                                                                                                                  SlotFrame Info.
                                    SlotFrame ID                                                    SlotFrame Size                                             SlotFrame Size (contd.)                                        Number of links
IEEE802.15.4e




                0      0      0       0      0         0       0       1       0       0       0       0       0     0       0       0        0      1     1          0       0        1   0     1    0      0         0        0         0        0     1      0
                                                                                                       101 slots                                                      101 slots                                                   2 links
                                                                                                                                    Link Info. 1
                                                                          Timeslot                                                                                Channel Offset                                                Link Option
                0      0      0       0        0       0         0       0       0       0       0     0      0      0       0       0        0      0     0         0      0       0      0     0    0      0          0        0       0       0        1     0
                                                 timeslot 0 is for advertisement and activate commands                                                          on channel offset 0                              RX link (for advertisement and activate)
                                                                                                                                    Link Info. 2
                                                                          Timeslot                                                                                Channel Offset                                             Link Option
                0      0      0       0        0       0        0        0        0       0     0     0       0      0       0       1        0      0     0         0      0       0      0     0    0      0         0      0        0        1        0      0
                                                         timeslot 1 is for sending join command                                                                 on channel offset 0                                     SHARED TX link (for join)                    16
                                                                            MFR
                                                            16-bit frame check sequence (FCS)
MFR




                .      .      .       .        .       .        .        .         .      .     .      .      .       .      .       .
                                                                      16-bit ITU-T CRC                                                                                                                                                                                2

                                                                                                                                                                                                                                                       length (bytes) 36
                                       PHR
                                  length                          reserved
                                                                                                                                                                                                L2 acknowledgement
PHR


           0       0        0        1      0        0       0        0
                            8B of PHY payload                                                                                                                                                                                         1
                                                                 Frame Control Field
                                                                                                                                                                         Sequence Number
              Frame Type Security EnabledPending    PAN ID compression reserved
                                      Frame Ack. Requested                                Dest. Add. Mode Frame Version Source Add. Mode
15.4




            0       0       1       0        0       0       0        0        0     0       0         0          1       0       0         0       .       .        .         .        .   .    .    .
                  data             no       no      no     N.A.                                implicit                             implicit                                as sent frame                                             3
                                 DHR ACK/NACK
                                                                                                                                        Time Correction
                         ACK/NACK type Auxiliary subheader
                                                 MMIC
                include slow-hopping timeslot offset alternativereserved
15.4e




        Include Clock Correction
            1       0       0       0        0       0       1        0         .    .       .          .         .       .       .          .      .       .        .         .        .   .    .    .
        yes     no             ACK       no          MMIC-32                                              offset from the scheduled start time of the current timeslot (unit: 0.954 us)                                               3
                                                                         MFR
                                                         16-bit frame check sequence (FCS)
MFR




            .       .       .       .        .       .       .        .         .    .       .          .         .       .       .          .
                                                                   16-bit ITU-T CRC                                                                                                                                                   2

                                                                                                                                                                                                                     length (bytes)   9
                                            PHR
                                       length                              reserved
                                                                                                                                                                                                                  L3 DIO
 PHR


                0      0         1        0      1       1             0       0
                               22B PHY payload length                                                                                                                                                                                                                                    1
                                                               Frame Control Field
                                                                                                                                                                               Sequence Number                                                 Destination PAN
                                                   PAN ID compression reserved
                  Frame Type Security EnabledPending
                                       Frame Ack. Requested                                            Dest. Add. Mode Frame Version Source Add. Mode
                0     0      1       0       0       1      1      0       0       0                      1        0     ?       ?       1        0           .        .   .      .       .       .       .       .       0       0       0       0        0      0       0       0
                     data           no      no     yes     yes                                           16-bit short        ?          16-bit short                                                                                                  14
 IEEE802.15.4




                                  Destination PAN (contd.)                                                                                       Destination Address                                                                           Source Address

                0      0         0       0        1      1             1       0            .      .      .        .        .        .       .        .       .        .   .      .       .       .       .       .       .       .       .        .       .      .       .       .
                                             14                                                                                                       next hop                                                                                   previous hop
                                      Source Address

                .      .         .       .       .           .         .       .
                                       previous hop                                                                                                                                                                                                                                      9
                                                                                    IPHC                                                                                            IPv6
 6LoWPAN




                    dispatch                 TF         NH               HLIM              CID   SAC          SAM          M        DAC          DAM                             Next Header
                0       1        1       1        1      0             0       1            0     0        1         1     0         0        1         1    0         0   1      1       1       0       1       0
                      IPHC               all elided     no            hop limit=1          no stateless   fully elided no multicast
                                                                                                                                 stateless   fully elided                        ICMPv6 (58)                                                                                             3
                                                                                                                                                    ICMPv6 header
                                           Type                                                                      Code                                                                                        Checksum
                1      0         0       1       1       0             1       1           0      0       0        0      0      0         1       0      .        .       .     .        .        .      .      .         .       .      .       .       .         .      .        .
                                         RPL (155)                                                                       [RFC2463] 16-bit one's complement of the one's complement sum of the entire ICMPv6 message starting with the ICMPv6 message type field, prepended with a "pseudo-he
                                                                                                                  DIO (0x02)
 RPL




                                                                                                                                                   DIO Base
Destination Advertisement Triggerreserved
       Destination Advertisement Supported
   Grounded                                                      DAGPreference                                     Sequence                                                     Instance ID                                                       DAGrank
        1        0       0      0       0                0             0       0            .      .      .        .       .      .        .       .      0        0       0     0       0        0       0      0         .       .      .       .       .         .      .        .
       yes      no      no                                          default                                   set by DODAG root                                                      0                                                                                                   8
                                                                                   MFR
                                                                   16-bit frame check sequence (FCS)
 MFR




                .      .         .       .        .          .         .        .         .    .          .        .        .        .       .        .
                                                                             16-bit ITU-T CRC                                                                                                                                                                                            2

                                                                                                                                                                                                                                                                        length (bytes) 23
                                         PHR
                                    length                            reserved
                                                                                                                                                                                                             L3 DAO
PHR


               0      1       1        0      0         1        0        0
                            50B PHY payload length                                                                                                                                                                                                                                   1
                                                              Frame Control Field
                                                                                                                                                                          Sequence Number                                                  Destination PAN
                                                  PAN ID compression reserved
                 Frame Type Security EnabledPending
                                      Frame Ack. Requested                                        Dest. Add. Mode Frame Version Source Add. Mode
               0     0      1       0       0       1      1      0       0       0                  1        0     ?       ?       1        0         .         .    .       .        .      .       .       .       0       0       0       0         0       0     0       0
                    data           no      no     yes     yes                                       16-bit short        ?          16-bit short                                                                                                    14
IEEE802.15.4




                               Destination PAN (contd.)                                                                                   Destination Address                                                                               Source Address

               0      0       0        0        1       1        1       0            .       .       .       .       .       .       .        .       .         .    .       .        .      .       .       .       .       .       .        .       .        .     .       .
                                           14                                                                                                  next hop                                                                                      previous hop
                                    Source Address

               .      .        .       .       .          .       .       .
                                     previous hop                                                                                                                                                                                                                                    9
                                                                              IPHC                                                                                                                  IPv6 Flow Label (used by RPL)
                   dispatch                 TF         NH         HLIM               CID   SAC       SAM            M        DAC       DAM                 ECN        reserved         O      S       R       F                              SenderRank
               0       1       1        0        1       0      0        0            0     0      1         0      0         0      1         0       0         0    0      0          1     .       .       .        .       .      .       .       .         .     .       .
                     IPHC            flow lab. Inline   no        inline                                                  stateless 16-bit inline
                                                                                     no stateless 16-bit inline no multicast                                no                         up                                                    used by RPL
                          IPv6 Flow Label (used by RPL), contd.
6LoWPAN




                                                                                                          IPv6 Next Header                                                 IPv6 Hop Limit                                                 IPv6 Source Address
                                       instance ID
               0       0       0        0        0       0      0        0            0       0       1       1       1       0       1       0        0         0    0       1        0      0       0       0       .       .       .        .         .      .     .       .
                                       used by RPL                                                           ICMPv6 (58)                                                          16                                                         initial source

                             IPv6 Source Address (contd.)                                                                              IPv6 Destination Address

               .      .        .       .         .        .       .       .           .       .       .       .       .       .       .        .        .        .    .       .        .      .       .       .
                                     initial source                                                                                        final destination                                                                                                                       11
                                                                                                                                            ICMPv6 header
                                         Type                                                                    Code                                                                                        Checksum
               1      0       0        1       1        0        1       1            0       0       0       0        0        1        0       0        .      .      .       .       .      .      .      .         .       .      .         .         .        .   .        .
                                       RPL (155)                                                                     [RFC2463] 16-bit one's complement of the one's complement sum of the entire ICMPv6 message starting with the ICMPv6 message type field, prepended with a "pseudo-he
                                                                                                             DAO (0x04)
                                                                                                                                                    DAO
                                                                      DAO Sequence                                                                                             InstanceID                                                      DAO Rank
               .      .        .       .        .         .       .     .         .        .          .       .        .        .        .        .       0     0       0       0       0     0       0      0         .       .      .         .         .        .   .        .
                                                              incremented by the initial sender                                                                                     0                                                   rank of the initial sender
                                                                                                                                                DAO (contd.)
                                                                                                                                                DAO Lifetime
               0      0       0        0        0       0        0       0            0       0       0       0        0        0        0       0        0     0       0       0       0     0       0      0        0        0      0         1         1       1    1        0
                                                                                                                        in seconds. Set to 30s to have dynamic network for demo.
                                                                                                                                                DAO (contd.)
                                     Prefix Length                                                            RRCount                                                                                          Prefix
RPL




               0      1       0        0        0       0        0       0            0       0       0       0        0        0        1       1        .      .      .       .       .      .      .      .         .       .      .         .         .        .   .        .
                                         64-bit                                                                 3 hops
                                                                                                                                                DAO (contd.)
                                                                                                                                               Prefix (contd.)
               .      .        .       .        .         .       .       .           .       .       .       .        .        .        .        .       .      .      .       .       .      .      .      .         .       .      .         .         .        .   .        .

                                                                                                                                             DAO (contd.)
                                                                       Prefix (contd.)                                                                                                                 Reverse Route Address 1
               .      .        .       .        .         .       .      .        .           .       .       .       .       .       .        .       .         .    .       .        .      .       .       .       .       .       .        .        .       .     .       .

                                                                                                                                             DAO (contd.)
                                                                   Reverse Route Address 2                                                                                                             Reverse Route Address 3
               .      .        .       .        .         .       .       .       .       .           .       .       .       .       .        .       .         .    .       .        .      .       .       .       .       .       .        .        .       .     .       .
                                                                                                                                                                                                                                                                                   28
                                                                              MFR
                                                              16-bit frame check sequence (FCS)
MFR




               .      .        .       .        .         .       .        .         .    .           .       .       .       .       .        .
                                                                        16-bit ITU-T CRC                                                                                                                                                                                             2

                                                                                                                                                                                                                                                                    length (bytes) 51
                                         PHR
                                    length                               reserved
                                                                                                                                                                                                             L7 data
PHR


               0      0       1        1      0              1      1        0
                            25B PHY payload length                                                                                                                                                                                                                           1
                                                              Frame Control Field
                                                                                                                                                                              Sequence Number                                           Destination PAN
                                                  PAN ID compression reserved
                 Frame Type Security EnabledPending
                                      Frame Ack. Requested                                           Dest. Add. Mode Frame Version Source Add. Mode
               0     0      1       0       0       1      1      0       0       0                     1        0     ?       ?       1        0           .         .   .      .      .       .    .        .       0        0    0      0        0     0    0       0
                    data           no      no     yes     yes                                          16-bit short        ?          16-bit short                                                                                             14
IEEE802.15.4




                               Destination PAN (contd.)                                                                                        Destination Address                                                                      Source Address

               0      0       0          0          1        1      1       0            .       .       .       .        .        .       .        .       .         .   .      .      .       .    .        .        .       .    .      .       .      .     .      .
                                              14                                                                                                    next hop                                                                             previous hop
                                   Source Address (contd.)

               .      .        .          .       .          .       .       .
                                        previous hop                                                                                                                                                                                                                         9
                                                                                 IPHC                                                                                                               IPv6 Flow Label (used by RPL)
                   dispatch                 TF         NH         HLIM                  CID   SAC       SAM            M        DAC       DAM                   ECN       reserved     O        S     R       F                           SenderRank
               0       1       1        0        1       1      0        0               0     0      1         0      0         0      1         0         0         0   0      0      1       .     .       .        .       .    .      .       .      .     .      .
                     IPHC            flow lab. inline  yes        inline                                                     stateless 16-bit inline
                                                                                        no stateless 16-bit inline no multicast                                 no                     up                                                 used by RPL
                          IPv6 Flow Label (used by RPL), contd.
6LoWPAN




                                                                                                               IPv6 Hop Limit                                                                            IPv6 Source Address
                                       instance ID
               0       0       0        0        0       0      0        0               0       0       0       1        0        0       0       0        .         .   .      .      .       .    .        .         .      .    .      .        .     .     .      .
                                       used by RPL                                                                   16                                                                                     initial source

                                                                     IPv6 Destination Address

               .      .        .          .         .        .       .       .        .          .       .       .        .        .       .        .
                                                                         final destination                                                                                                                                                                                  10
                                              NHC
                                                                                                Source Port                     Destination Port
                        NHC ID                      C          P
UDP




         1         1      1        1       0        1      1       1       .         .      .       .        .         .       .       .
                         UDP       all Destination Port are 0xF0B and      0xF0i, I between 0 and 16         0xF0i, I between
 first 12 bits of both Source Port and16 bits of Checksum are elided elided. The remaining 4 bits for each are carried in-line 0 and 16                                                                                                                                      2
Application




                                                                             counter

               .      .        .          .         .        .       .       .           .       .       .       .        .        .       .        .
                                                                                                                                                                                                                                                                             2
                                                                                 MFR
                                                                 16-bit frame check sequence (FCS)
MFR




               .      .        .          .         .        .       .        .         .    .           .       .        .        .       .        .
                                                                           16-bit ITU-T CRC                                                                                                                                                                                  2

                                                                                                                                                                                                                                                              length (bytes) 26

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:6
posted:11/19/2011
language:English
pages:7