Does anyone have an example of a remote AT command sent from the Java library? We can't find which function sends the command.

We found the method that constructs the remote AT command, but we don't know which method sends it. And we can't seem to find any examples anywhere.

Posted Mar 8, 2018, 6:15 PM UTC

10
utahgamer•
1
LegitimateWorkUserOP•

it looks like that function takes care of the rest of the frame so that all you need to enter is the data. But that makes it an ordinary 16 or 64 bit Tx request (frame type 0x00 or 0x01), doesn't it?

What we need is a frame type 0x17. If we construct a frame as an array and send it with "sendData(RemoteXBeeDevice, byte[])", the method will wrap the bytes in a transmit frame and treat it like ordinary data.

1
utahgamer•

0x17 is a remote AT command. You want to look at the example code at "examples/configuration/SetAndGetParametersSample"

https://www.digi.com/resources/documentation/digidocs/90001438/Default.htm#reference/r_xb_java_lib_xb_java_samples_config_set_get_par.htm

2