Navigation

    Welcome to the Pycom forum

    Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. socket connect
    Log in to post

    • M

      Fipy : Guru Meditation Error when I try to connect my socket
      FiPy • fipy socket connect guru error cat-m • • Malo  

      4
      0
      Votes
      4
      Posts
      683
      Views

      M

      Hello @iwahdan, I put the LoRa Init after the LTE connection and it works now ! Thank you. Best Regards, Malo
    • W

      Fipy + Pytrack v1.18.1.r4 + SNQNS Firmware CATM1-39592 - Verizon Socket Connection OSERROR:-1
      Support & Troubleshooting • fipy lte-m verizon socket connect • • wghirakawa  

      7
      0
      Votes
      7
      Posts
      894
      Views

      D

      @wghirakawa The code seems to be ok. I don't have access to Cat M1 network (only NB-IoT available here) so I cannot test with the same Sequans firmware. Are you able to perform communication on the same APN and with the same SIM using different hardware? @iwahdan could you please take a look?
    • M

      MQTT Connection Failed
      WiPy 2&3 • pymakr wipy 3.0 help mqtt connect socket connect • • Modellhaus  

      2
      0
      Votes
      2
      Posts
      484
      Views

      E

      @modellhaus I suggest you two things for help, the first is to modify your post and please enclose your code in correct code balise ( </> tool in line above )to help reading . The second thing is to post the error message and line number where it happen to help analysis.
    • J

      FiPy Wi-Fi Node-to-Node Socket Error (OSError: -1)
      FiPy • fipy wifi socket connect • • Joseph  

      4
      0
      Votes
      4
      Posts
      895
      Views

      dan

      Hi @joseph, No, not yet. I have spent a few days on it, but no progress. I keep getting Connection refused when trying to connect, so something must be wrong with my server code. Have you tried connecting it to a different device (e.g your computer)?
    • M

      FiPy Socket Connection Issue (Verizon LTE)
      FiPy • fipy verizon socket connect • • Marike  

      9
      0
      Votes
      9
      Posts
      2075
      Views

      M

      I've got an update. Today, I tried updating to the latest Sequans firmware and experienced strange issues. I tried updating to the latest firmware, downgrading to earlier release firmware, still problematic. Leaving the modem at 1.17, I unplugged and left it alone for a while. A few hours later, reconnected and tried running the exact code in this thread. So, at this point, the FiPy firmware and modem firmware are identical to when I first experienced these issues. This time, everything worked. I could successfully open sockets, send receive data, etc. This allows me to close out my evaluation of the FiPy modem. It seems there are still some major functional and reliability issues to be resolved from all parties, Monarch/Sequans, Pycom, and Verizon. I'll revisit this in the future and in the interim, drop in on the forums from time to time to see what current user experience has been.
    • D

      [Solved]:FiPy socket.connect command
      FiPy • fipy post socket connect • • DDA  

      4
      0
      Votes
      4
      Posts
      1604
      Views

      jmarcelino

      Hi @dda socket.connect doesn't take a domain name, you need to resolve it first into a tuple like this - (family, type, proto, canonname, sockaddr) - which you can obtain from socket.getaddrinfo() In your case doing: s.connect(socket.getaddrinfo(addr, port)[0][-1]) should do what you want. There currently isn't a way to obtain your assigned IP address.
    • D

      Problems with socket connect OSError: -1
      Comments & Feedback • wlan socket connect oserror -1 • • DanielA  

      1
      0
      Votes
      1
      Posts
      832
      Views

      No one has replied

    • 1 / 1