A gateway device comprising: a single transceiver device configured to communicate with a first network using a time slotted channel hopping, TSCH, protocol and with a second network using a channel hopping carrier-sense multiple access, CSMA, protocol, wherein a duration of a dwell interval for the channel hopping CSMA protocol is coordinated with a length of a timeslot for the TSCH protocol at the gateway device so that the duration of the dwell interval is an integer number of times of the length of the timeslot, the integer number being greater than one, and wherein a start of a dwell interval for the channel hopping CSMA protocol is coordinated to align with a time point of a timeslot for the TSCH protocol when the gateway device is configured to switch from the first network to the second network; the gateway device being configured for: during a first part of a first timeslot of the TSCH protocol, listening on the first network using a first channel based on a hopping pattern for the TSCH protocol; determining that no message is received from the first network during the first part of the first timeslot; and in response to determining that no message is received from the first network during the first part of the first timeslot, determining a second channel of a current dwell interval of the second network based on a hopping sequence for the channel hopping CSMA protocol, switching to the second channel to listen on the second network during a second part of the first timeslot, determining that a message is received from the second network during the second part of the first timeslot, in response to determining that a message is received from the second network during the second part of the first timeslot, continuing to receive the message from the second network beyond the first timeslot, at a beginning of a second timeslot subsequent to the first timeslot of the TSCH protocol and prior to completion of receiving the message from the second network, determining that a condition for switching to the first network is satisfied, and in response to determining that a condition for switching back to the first network has met, determining a third channel of the first network based on the hopping pattern for the TSCH protocol of the first network, stopping receiving the message from the second network, and switching to the third channel to listen on the first network during a first part of the second timeslot. during a first part of a first timeslot of the TSCH protocol, listening on the first network using a first channel based on a hopping pattern for the TSCH protocol; determining that no message is received from the first network during the first part of the first timeslot; and in response to determining that no message is received from the first network during the first part of the first timeslot, determining a second channel of a current dwell interval of the second network based on a hopping sequence for the channel hopping CSMA protocol, switching to the second channel to listen on the second network during a second part of the first timeslot, determining that a message is received from the second network during the second part of the first timeslot, in response to determining that a message is received from the second network during the second part of the first timeslot, continuing to receive the message from the second network beyond the first timeslot, at a beginning of a second timeslot subsequent to the first timeslot of the TSCH protocol and prior to completion of receiving the message from the second network, determining that a condition for switching to the first network is satisfied, and in response to determining that a condition for switching back to the first network has met, determining a third channel of the first network based on the hopping pattern for the TSCH protocol of the first network, stopping receiving the message from the second network, and switching to the third channel to listen on the first network during a first part of the second timeslot. determining a second channel of a current dwell interval of the second network based on a hopping sequence for the channel hopping CSMA protocol, switching to the second channel to listen on the second network during a second part of the first timeslot, determining that a message is received from the second network during the second part of the first timeslot, in response to determining that a message is received from the second network during the second part of the first timeslot, continuing to receive the message from the second network beyond the first timeslot, at a beginning of a second timeslot subsequent to the first timeslot of the TSCH protocol and prior to completion of receiving the message from the second network, determining that a condition for switching to the first network is satisfied, and in response to determining that a condition for switching back to the first network has met, determining a third channel of the first network based on the hopping pattern for the TSCH protocol of the first network, stopping receiving the message from the second network, and switching to the third channel to listen on the first network during a first part of the second timeslot. determining a third channel of the first network based on the hopping pattern for the TSCH protocol of the first network, stopping receiving the message from the second network, and switching to the third channel to listen on the first network during a first part of the second timeslot.