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

    Device goes offline

    Scheduled Pinned Locked Moved WiPy 2&3
    3 Posts 2 Posters 1.1k 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.
    • C Offline
      crankshaft
      last edited by crankshaft

      I don't know if this is related to wifi power saving but my devices go offline and don't respond to pings, ftp requests or requests sent to a simple http server, there are no errors it just goes offline.

      Even when it begins replying again to pings, the http requests are not getting through, I guess the socket died silently and is not able to resume it's lost connection.

      The only way to resume normal state is a restart.

      Anyone else experience this ??

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

        @crankshaft
        never in STA mode (my wipy work now near 1 week and send data to server
        but sometimes in AP mode it die :( and not respond

        think about people first, then computers

        1 Reply Last reply Reply Quote 0
        • C Offline
          crankshaft
          last edited by

          Hi, this when it is running as a server listening on a socket:

          Here's the log when it started responding again:

          I (570808) wifi: bcn_timout,ap_probe_send_start
          I (573309) wifi: ap_probe_send over, resett wifi status to disassoc
          I (573310) wifi: state: run -> init (1)
          I (573310) wifi: n:6 0, o:6 0, ap:255 255, sta:6 0, prof:6
          I (573313) wifi: pm stop, total sleep time: 31991844/522829466
          
          I (573590) wifi: n:1 0, o:6 0, ap:255 255, sta:1 0, prof:6
          I (573591) wifi: state: init -> auth (b0)
          I (573710) wifi: state: auth -> assoc (0)
          I (573716) wifi: state: assoc -> run (10)
          I (573896) wifi: connected with wlan@xxx, channel 1
          I (583716) wifi: pm start, type:1
          
          I (1249950) wifi: state: run -> auth (7c0)
          I (1249951) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:6
          I (1249951) wifi: pm stop, total sleep time: 20393547/645746648
          
          I (1250075) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:6
          I (1250076) wifi: state: auth -> auth (b0)
          I (1250158) wifi: state: auth -> assoc (0)
          I (1250162) wifi: state: assoc -> run (10)
          I (1250569) wifi: connected with wlan@xxx, channel 1
          I (1260162) wifi: pm start, type:1
          

          I don't know if I am reading this correctly but it looks like it put itself to sleep and disassociated itself from the wireless ??

          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