Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    New firmware release version v1.9.2.b2

    Scheduled Pinned Locked Moved Announcements & News
    firmware
    4 Posts 4 Posters 2.7k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      daniel
      last edited by daniel

      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

      L 1 Reply Last reply Reply Quote 0
      • R Offline
        redimo
        last edited by

        Thanks for the quick fix!

        1 Reply Last reply Reply Quote 0
        • B Offline
          brunoS
          last edited by

          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-gateway

          It'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: 4294606989

          Thanks

          1 Reply Last reply Reply Quote 0
          • L Offline
            livius @daniel
            last edited by livius

            @daniel
            I have upgraded device (WIPY2.0) from 1.7.2.b1 to 1.9.2.b2 and have problems:

            1. 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_sync could help but same result :(

            1. 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?

            think about people first, then computers

            1 Reply Last reply Reply Quote 1

            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
            • 1 / 1
            • First post
              Last post

            Pycom on Twitter

            Pycom