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

    Pytrack gps

    Scheduled Pinned Locked Moved Discussion
    5 Posts 2 Posters 60 Views 2 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.
    • A Offline
      AM
      last edited by

      I would like to know if there is a function that can be used to deactivate the gps then activate it.

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @AM
        last edited by

        @AM There is an APIP called L76GNSS.write(), and with that you should be able to send commands to the device, as listed in e.g. https://www.quectel.com/UploadImage/Downlad/Quectel_L76_Series_GNSS_Protocol_Specification_V3.3.pdf
        I do not know what your intention is, but "Standby" and the "start" commands of the various temperatures could be it.

        A 1 Reply Last reply Reply Quote 1
        • A Offline
          AM @robert-hh
          last edited by

          @robert-hh

          So I can just use Pytrack.gps_standby(enabled=True) to put the gps off then Pytrack.gps_standby(enabled=false) to re-start it right ?.

          robert-hhR 1 Reply Last reply Reply Quote 0
          • robert-hhR Offline
            robert-hh @AM
            last edited by

            @AM That looks like the intention of that API.

            A 1 Reply Last reply Reply Quote 1
            • A Offline
              AM @robert-hh
              last edited by

              @robert-hh I tested with the gps_standby function it turned off the board and stop the program. Is there any other function that will stop the gps receiver without shutting down the board.

              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