File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
bluetooth/ReceiveBluetoothFileSample
micropython/ReceiveMicroPythonDataSample
relay/ReceiveUserDataRelaySample
functional_tests/configuration Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 6060 process:
6161
6262 >> START message received, saving data to file...
63- >> END message received, file 'received_file_20190627120254.txt '
63+ >> END message received, file '<file_name> '
6464
6565 Verify that the received file is created successfully and is the same as the
6666 one you sent with the mobile application.
Original file line number Diff line number Diff line change 1717 * One XBee3 module in API mode and its corresponding carrier board (XBIB
1818 or equivalent).
1919 * The XCTU application (available at www.digi.com/xctu).
20- * An Android or iOS device with the Digi XBee Mobile application installed
21- (available at Google Play and App Store).
20+ * The PyCharm IDE with the Digi XBee MicroPython plugin installed.
2221
2322
2423 Compatible protocols
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ def main():
3232
3333 def relay_data_callback (relay_message ):
3434 print ("Relay data received from %s >> '%s'" %
35- (relay_message .relay_interface .name ,
35+ (relay_message .local_interface .name ,
3636 relay_message .data .decode ("utf-8" )))
3737
3838 device .add_user_data_relay_received_callback (relay_data_callback )
Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ def main():
3434 device .open ()
3535
3636 def modem_status_callback (status ):
37+ if status == ModemStatus .COORDINATOR_STARTED :
38+ return
3739 assert (status in [ModemStatus .HARDWARE_RESET , ModemStatus .WATCHDOG_TIMER_RESET ])
3840
3941 device .add_modem_status_received_callback (modem_status_callback )
You can’t perform that action at this time.
0 commit comments