Joiner States Meaning

Could someone help me understand what's the meaning of these possible states for a joiner in a thread network?

    OT_JOINER_STATE_IDLE 
    OT_JOINER_STATE_DISCOVER  
    OT_JOINER_STATE_CONNECT   
    OT_JOINER_STATE_CONNECTED 
    OT_JOINER_STATE_ENTRUST   
    OT_JOINER_STATE_JOINED   
Thanks a lot 
Parents
  • Hi,

    The state tells you the state of the joiner device, i.e., where the joiner is in the joining process.

    • OT_JOINER_STATE_IDLE: The joiner role is not started, so the joiner state of the device is idle.
    • OT_JOINER_STATE_DISCOVER: The joiner role has started, and the device is discovering networks.
    • OT_JOINER_STATE_CONNECT: The joiner is connecting to the network. It has established an unsecured local connection to the commissioner.
    • OT_JOINER_STATE_CONNECTED: The joiner has sent a Joiner Finalization request
    • OT_JOINER_STATE_ENTRUST: The joiner has been entrusted with the network credentials.
    • OT_JOINER_STATE_JOINED: The joiner has successfully joined the network

    You can find more information about the joiner process and the different states in the Thread specification.

    Best regards,
    Marte

Reply
  • Hi,

    The state tells you the state of the joiner device, i.e., where the joiner is in the joining process.

    • OT_JOINER_STATE_IDLE: The joiner role is not started, so the joiner state of the device is idle.
    • OT_JOINER_STATE_DISCOVER: The joiner role has started, and the device is discovering networks.
    • OT_JOINER_STATE_CONNECT: The joiner is connecting to the network. It has established an unsecured local connection to the commissioner.
    • OT_JOINER_STATE_CONNECTED: The joiner has sent a Joiner Finalization request
    • OT_JOINER_STATE_ENTRUST: The joiner has been entrusted with the network credentials.
    • OT_JOINER_STATE_JOINED: The joiner has successfully joined the network

    You can find more information about the joiner process and the different states in the Thread specification.

    Best regards,
    Marte

Children
No Data
Related