This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Thread cli

Does commands 

>Thead down           and

>Ifconfig down 

Commands are equivalent to power failure reset of node in mesh network

Parents
  • the commands needed to commission the network as mentioned in above tutorial is shown below

    ## FTD Joiner ##
    ----------------
    
    > eui64
    2f57d222545271f1
    Done
    
    
    
    ## FTD Commissioner ##
    ----------------------
    
    > commissioner start
    Done
    > commissioner joiner add 2f57d222545271f1 J01NME
    Done
    
    
    
    ## FTD Joiner ##
    ----------------
    
    > scan
    | J | Network Name     | Extended PAN     | PAN  | MAC Address      | Ch | dBm | LQI |
    +---+------------------+------------------+------+------------------+----+-----+-----+
    | 1 | OpenThread-c0de  | c0de7ab5c0de7ab5 | c0de | 1ed687a9cb9d4b1d | 11 | -45 |  48 |
    
    
    ## FTD Joiner ##
    ----------------
    
    > ifconfig up
    Done
    > joiner start J01NME
    Done
    
    ## FTD Joiner ##
    ----------------
    
    >
    Join success
    
    
    ## FTD Joiner ##
    ----------------
    
    > thread start
    Done
    > state
    child
    Done
    > rloc16
    0c02
    Done
    
    ## FTD Joiner ##
    ----------------
    
    > ipaddr
    fdc0:de7a:b5c0:0:0:ff:fe00:c02         # Routing Locator (RLOC)
    fe80:0:0:0:e4cd:d2d9:3249:a243         # Link-Local Address (LLA)
    fdc0:de7a:b5c0:0:3e2e:66e:9d41:ebcd    # Mesh-Local EID (ML-EID)
    
    
    
    ## FTD Commissioner ##
    ----------------------
    
    > router table
    | ID | RLOC16 | Next Hop | Path Cost | LQ In | LQ Out | Age | Extended MAC     |
    +----+--------+----------+-----------+-------+--------+-----+------------------+
    |  3 | 0x0c00 |        3 |         0 |     0 |      0 |  50 | 1ed687a9cb9d4b1d |
    
    > child table
    | ID  | RLOC16 | Timeout    | Age        | LQ In | C_VN |R|S|D|N| Extended MAC     |
    +-----+--------+------------+------------+-------+------+-+-+-+-+------------------+
    |   1 | 0x0c01 |        240 |         25 |     3 |   89 |1|1|1|1| 1ae529b3a638943b |
    |   2 | 0x0c02 |        240 |         15 |     3 |   44 |1|1|1|1| e6cdd2d93249a243 |
    Done
    

Reply
  • the commands needed to commission the network as mentioned in above tutorial is shown below

    ## FTD Joiner ##
    ----------------
    
    > eui64
    2f57d222545271f1
    Done
    
    
    
    ## FTD Commissioner ##
    ----------------------
    
    > commissioner start
    Done
    > commissioner joiner add 2f57d222545271f1 J01NME
    Done
    
    
    
    ## FTD Joiner ##
    ----------------
    
    > scan
    | J | Network Name     | Extended PAN     | PAN  | MAC Address      | Ch | dBm | LQI |
    +---+------------------+------------------+------+------------------+----+-----+-----+
    | 1 | OpenThread-c0de  | c0de7ab5c0de7ab5 | c0de | 1ed687a9cb9d4b1d | 11 | -45 |  48 |
    
    
    ## FTD Joiner ##
    ----------------
    
    > ifconfig up
    Done
    > joiner start J01NME
    Done
    
    ## FTD Joiner ##
    ----------------
    
    >
    Join success
    
    
    ## FTD Joiner ##
    ----------------
    
    > thread start
    Done
    > state
    child
    Done
    > rloc16
    0c02
    Done
    
    ## FTD Joiner ##
    ----------------
    
    > ipaddr
    fdc0:de7a:b5c0:0:0:ff:fe00:c02         # Routing Locator (RLOC)
    fe80:0:0:0:e4cd:d2d9:3249:a243         # Link-Local Address (LLA)
    fdc0:de7a:b5c0:0:3e2e:66e:9d41:ebcd    # Mesh-Local EID (ML-EID)
    
    
    
    ## FTD Commissioner ##
    ----------------------
    
    > router table
    | ID | RLOC16 | Next Hop | Path Cost | LQ In | LQ Out | Age | Extended MAC     |
    +----+--------+----------+-----------+-------+--------+-----+------------------+
    |  3 | 0x0c00 |        3 |         0 |     0 |      0 |  50 | 1ed687a9cb9d4b1d |
    
    > child table
    | ID  | RLOC16 | Timeout    | Age        | LQ In | C_VN |R|S|D|N| Extended MAC     |
    +-----+--------+------------+------------+-------+------+-+-+-+-+------------------+
    |   1 | 0x0c01 |        240 |         25 |     3 |   89 |1|1|1|1| 1ae529b3a638943b |
    |   2 | 0x0c02 |        240 |         15 |     3 |   44 |1|1|1|1| e6cdd2d93249a243 |
    Done
    

Children
No Data
Related