Library to easily communicate with XBee modules.

Dependencies:   DigiLogger

Dependents:   WaterLogger XbeeGateway XBee_Cooker ProjetReceiver ... more

Synchronous Operations Timeout

Following methods in this library are synchronous:

MethodReturned value when timeout expires
send_dataTxStatusTimeout
get_paramAtCmdRespTimeout
set_paramAtCmdRespTimeout

Synchronous mean that the methods don't return until a confirmation is received or the configured timeout expires.

The SYNC_OPS_TIMEOUT_MS define configures the default timeout for these methods.

The timeout can be changed at any time through following method:

    XBeeZB myXBee = XBeeZB(RADIO_TX, RADIO_RX);
    myXBee.set_timeout(5000);   /* Set a 5000mS timeout */

And also queried:

    uint16_t current_timeout = myXBee.set_timeout(5000);

All wikipages