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

    GPY board: Wifi & LTE-M connection question

    Scheduled Pinned Locked Moved GPy
    2 Posts 1 Posters 254 Views 1 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.
    • T Offline
      tari4a1i_iaos
      last edited by

      Hi,

      I am using a GPy board. The board is setup as Wifi-AP. I also have a LTE-M connection going. The idea is to give internet connectivity to smart devices via the GPy board.

      I have written a socket server on the Wifi-AP side. (using its own thread)
      I have written a client server on the LTE-M side. (using its own thread)

      At the moment, I can connect my phone to the GPy board with the Wifi-AP connection. The phone acts a tcp client and makes connection to the Wifi server. Now, when I open up a website on the phone, the HTTP message is sent to the Wifi Server. From there, it is forwarded to the LTE-M client. There, I parse the message, make a TCP-client connection to the web server and pass the data to the web server.

      I am not sure if this the correct way of doing this because when the CONNECT HTTP message is sent to the web server, the web server is returning a "Not allowed" response.

      Any idea what is wrong with the workflow? Or any other ideas to accomplish this?

      Thanks,
      SYED

      T 1 Reply Last reply Reply Quote 0
      • T Offline
        tari4a1i_iaos @tari4a1i_iaos
        last edited by

        @tari4a1i_iaos This issue is with the HTTPS connection. I tried using a HTTP connection and the program works fine. Just wanted to updated here so that if anyone else is looking for a Proxy architecture this works fine. I am still having trouble in connecting HTTPs but will open up another ticket on that.

        Thanks,
        SYED

        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