🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    ATOM vs Core with respect to network activation and MQTT

    Scheduled Pinned Locked Moved Modules
    1 Posts 1 Posters 2.7k Views
    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.
    • R Offline
      robjasey
      last edited by

      I have been developing using Micropython on Atoms (in USB Mode , using the M5Stack plugin for Visual Editor (mac). I set up a module as the equivalent of a print command that publishes the printed text to a log subscriber using MQTT. I found that I did not have to initialize the network since my router SSID and password are installed when you burn and configure using M5Burner. I think this is great because it does not expose my network information in my .py scripts.
      However I just started using a Core (Panda) development unit. I set it up the same way but when I try to run the scripts in Visual Editor (in USB mode) the network is not enabled. (I get a 128 error in the MQTT publish). I really do not want to expose my network info and I have verified that the network works when I set it to internet mode and run it on web UIflow (as does the MQTT script).
      Is there some way I can get the network started in USB mode (or APP mode for that matter) without activating it in a .py script?

      Thanks in advance!!
      Rob

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