New firmware release version v1.9.2.b2
-
Hello everyone,
This release contains the same changes as v1.9.1.b1 and fixes the issue with the safe boot introduced there.
The full change log is:
- esp32: Fix an SSL / TLS non-blocking socket problem. Thanks to @peterson79 for this contribution!
- esp32: Remove all usages of unnamed unions.
- esp32: Make sure that the LoRaWAN Tx done event is always triggered after the Rx complete event.
- esp32: Add fileno method to the socket class.
- esp32: Also store the channels, the channel mask and the ADR counters in the LoRa NVRAM.
- esp32: Cast os.getfree() value to uint64_t to report correct sizes > 2GB. Thanks to @robert-hh for this!
Cheers,
Daniel -
Thanks for the quick fix!
-
Hello
I try this firmware and the exemple of nano Lora gateway and TTN
https://github.com/pycom/pycom-libraries/tree/master/examples/lorawan-nano-gatewayIt's OK for Uplink messages with ABP node.
But with Downlink message (APB node) and join reponse (OTAA), I have this error for every incomming UDP message on the gateway from TTN.
--> Downlink timestamp error!, t_us: 4294606989Thanks
-
@daniel
I have upgraded device (WIPY2.0) from1.7.2.b1to1.9.2.b2and have problems:- ntp_sync most of the time not wrok (hang and never ending)
i use for it old method
def getNTPTime(host = "pool.ntp.org"): port = 123 buf = 1024 address = socket.getaddrinfo(host, port)[0][-1] msg = '\x1b' + 47 * '\0' msg = msg.encode() TIME1970 = 2208988800 # 1970-01-01 00:00:00 # connect to server client = socket.socket(AF_INET, SOCK_DGRAM) client.setblocking(15) client.sendto(msg, address) msg, address = client.recvfrom(buf) t = struct.unpack("!12I", msg)[10] t -= TIME1970 tuple_time = time.localtime(t) rtc.init((tuple_time)) client.close()but also tested if
rtc.ntp_synccould help but same result :(- i2c not work - i2c buss error
i init it with id=0 (i do not remember if in 1.7.2 it was hardware or software based)
bus=I2C(0, I2C.MASTER, baudrate=100000, pins=("P19", "P20"))to test it what is going on i have updated board 3 times (all times sucessfully)
but with the same result
i have downgraded firmware back to 1.7.2.b1
all work without any problems - any hint? - ntp_sync most of the time not wrok (hang and never ending)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login