typedef struct __attribute((packed))
{
uint8_t on_off; /**< State to set */
uint8_t tid; /**< Transaction number for application */
uint8_t transition_time; /**< Encoded transition time value */
uint8_t delay; /**< Encoded message execution delay in 5 millisecond steps */
} generic_onoff_set_msg_pkt_t;
1. Can you please explain what is the use of transition_time and delay members from the above structure?
2. access_model_add_params_t structure has a member publish_timeout_cb of type access_publish_timeout_cb_t, Can you explain what is the purpose of this callback function? Where the timeout interval is defined?
3. I want to program a node as a relay node which acts as intermediary node to expand the network coverage for server-client model. Can you guide me on this?