@livius It features a MAX3421E USB host controller chip and USB-A port. We created this board to communicate with existing serial-over-USB (CDC, or communications device class) devices. Adding support for other USB "drivers" is a matter of understanding the USB endpoints and writing the implementation in MicroPython.
Update: Check out the First look: USB Host Expansion Board by Semireg
Ok by following this guide and using the config below I have my LoPy running through a Jupyter notebook.
Do you host your library somewhere? I have been running a pure C LWM2M client on bare-metal ESP32 with satisfying results. The implementation is based on https://github.com/Openhab-Nodes/libWakaamaEmb with DTLS support. I need to explore the possibility to use MicroPython as a base for LWM2M Hackathon.
@monersss Raw LoRa is a best effort medium with absolutely no acknowledgements or retransmissions.
If you want to be sure that data has been received, you will need to implement such a strategy. That involves adding frame counters (not absolutely needed in the most basic case, but it’s usually a good idea), sending back ACKs when you have received data, and resending data if you don’t get the ACK.
Note that if your target scenario is not point to point but multiple senders to one receiver, LoRAWAN may be a simpler option as this can be handled by LoRaWAN. However be aware of the limitations on the band.
Found my answer after hours of looking around.
Found this beautiful post on TTN regarding decoding the values of different types and what have you found here by
Arjanvanb on TTN
The main answer was posted on Stackoverflow by Ilya Bursov.
This is what I add into my lopy so they get a name:
and when I look for the lopy I do this:
from network import Bluetooth
#import time - Dont need this part for this
bt = Bluetooth()
adv = bt.get_adv()
if adv and bt.resolve_adv_data(adv.data, Bluetooth.ADV_NAME_CMPL) == 'lopy':
conn = bt.connect(adv.mac)
When I started I first read this tutorial to understand the Python language. Not everything is available in Micropython, but you get the concept:
I looked up details uniqe to Micropython here when I found something from Python that was not working:
For Pycom functionality documentation and examples are available here:
This suggestion saved me, feed() was not working and then I moved it just before my loop delay and it began to work.
It was probably made worse because I had a gc.collect() after feed() originally.