What is the payload size when using ping(), and is there a way to change it? I’m assuming it’s going to be pretty small by default. I’m trying to test real-world payloads of e.g. 48 bytes to assess range, so I probably need to develop my own ping function that sends larger packets. Is there documentation for the server part of the ping that sends back the rssi and snr of the received packet?
Thanks!
OK, successfully routed the USB serial to the AT command interface, set the tx power to 20 on the mdot, the tx power to 26 on the conduit. I removed the conduit antenna, unfortunately the antenna on the EVB is soldered on.
So in general, should the ping be 6dBm higher than the rssi?
1 foot distance between mdot and conduit:
at+ping
-78,11.2
OK
at+rssi
-74, -82, -47, -62
6 feet distance between mdot and conduit:
at+ping
-84,12.2
OK
at+rssi
-82, -82, -47, -60
15 feet distance between mdot and conduit:
at+ping
-97,10.8
OK
at+rssi
-96, -96, -47, -71
Aha, I’m not using the UDK. I’m using the EVB.
Can I change these lines in the AT firmware to use the AT commands over USB com?
Serial debug(USBTX, USBRX);
mts::MTSSerial serial(XBEE_DOUT, XBEE_DIN, 512, 512);
Thanks!