@jubenjum The tutorial you are using is for the "main" line of MicroPython. Pycom has a separate branch which differs in quite a few places.
See the docs here for the Pycom version. The mode is passed as a periodic argument in that one.
@Jing-Tu Your gateway log says "Class C". By default the LoPy will be a class A device, receiving data only during the RX windows after an uplink.
You need to either configure the LoPy as a Class C device, or tell the gateway or network that it is a class A device.
Also note that in many regions there are limits on how often a device can transmit, and that can severely limit what you can send from a gateway to each device. Don't know the exact rules in the US region though.
Im having an issue when i try to update pytrack's firmare with dfu-util
renegarcia$ dfu-util -D /Users/renegarcia/Downloads/pytrack_0.0.8.dfu
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
Match vendor ID from file: 04d8
Match product ID from file: f014
Opening DFU capable USB device...
Run-time device DFU version 0100
Claiming USB DFU Runtime Interface...
dfu-util: Cannot set alt interface zero
Could you help me, please?
@jcaron thank you for reply. I will look into this with more details.
It seems like the problem is quite common and could be more complex than I expected: