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

    How can I send MAC Commands and receive the MAC answer?

    Scheduled Pinned Locked Moved LoPy
    lorawan
    6 Posts 6 Posters 861 Views 7 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.
    • C Offline
      cp-boettch
      last edited by

      it is currently possible to send LoRa WAN Mac Commands with the Lopy?
      I would like to use that to send a DeviceTimeReq to the gateway.
      Unfortunately, I found no example.

      I have checked the LoRaWan version of my device. 1.02
      When will the update to version 1.03 of Lora WAN come, which fulfills the LoRaWAN™ Specification v1.1?

      Best regards!

      bmarkusB 1 Reply Last reply Reply Quote 1
      • M Offline
        martijnthe
        last edited by

        I doubt this is possible. The LoRa stack that’s included is quite old and doesn’t support DeviceTimeReq.

        I’m interested in this feature as well.

        Any interest from others?

        The best would probably be to upgrade to the latest version of the stack’s sources.

        O 1 Reply Last reply Reply Quote 1
        • bmarkusB Offline
          bmarkus @cp-boettch
          last edited by

          @cp-boettch said in How can I send MAC Commands and receive the MAC answer?:

          When will the update to version 1.03 of Lora WAN come, which fulfills the LoRaWAN™ Specification v1.1?

          Are you referring to the LoRa Alliance LoRaWAN Specfication 1.0.3 or something else?

          1 Reply Last reply Reply Quote 0
          • O Offline
            olivieroswald @martijnthe
            last edited by

            @martijnthe I'm also interested

            1 Reply Last reply Reply Quote 0
            • G Offline
              goldfishalpha
              last edited by

              I am also interested but would be satisfied with the earlier LoRaWAN list item Specification v1.0.1, in particular for the LinkADRReq request.
              Any examples or indication whether this is possible or not would be very much appreciated.

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                Eric73 @goldfishalpha
                last edited by

                @goldfishalpha LinkADRReq is only send by a lorawan base station/gateway . Pycom device as only a device stack not a gateway one.
                So a pycom device can only process received LinkADRReq if you have the correct setting in lora constructor
                from documentation, set adr to true and the gateway will send you Linkadrreq IF needed by link quality transmission

                lora.init(mode, * ,region=LoRa.EU868, frequency=868000000, tx_power=14, bandwidth=LoRa.BW_125KHZ, sf=7, preamble=8, coding_rate=LoRa.CODING_4_5, power_mode=LoRa.ALWAYS_ON, tx_iq=False, rx_iq=False, adr=True, public=True, tx_retries=1, device_class=LoRa.CLASS_A)

                1 Reply Last reply Reply Quote 0

                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