You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to modify the destination address (DL) and destination port (DE) programmatically. I'm using the following code, which is basically a copy-paste from one of the examples:
xbeeCallbacks.setSerial(monitorSerial);
uint8_t value = 1;
AtCommandRequest req((uint8_t*)"DE", &value, sizeof(value));
req.setFrameId(xbeeCallbacks.getNextFrameId());
uint8_t status = xbeeCallbacks.sendAndWait(req, 150);
if (status == 0)
Serial.println(F("Set DE successfully"));
else
Serial.println(F("Failed to set DE, expect problems"));
Just for testing purposes I'm writing the value of 1 into my destination port. This code prints a "Failed to set DE, expect problems".
Why is that ? Am I forgetting something? I'm using an Xbee Cellular 3G by the way.
Thank you.
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to modify the destination address (DL) and destination port (DE) programmatically. I'm using the following code, which is basically a copy-paste from one of the examples:
Just for testing purposes I'm writing the value of 1 into my destination port. This code prints a "Failed to set DE, expect problems".
Why is that ? Am I forgetting something? I'm using an Xbee Cellular 3G by the way.
Thank you.
The text was updated successfully, but these errors were encountered: