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

    M5stack core 2 TCPIP connection example

    Scheduled Pinned Locked Moved PROJECTS
    4 Posts 2 Posters 6.0k 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.
    • M Offline
      moonbouncer
      last edited by

      Hi,

      I'm new to the M5stack,

      Trying to connect to my Wifi accesspoint and connect to a tcpip server and send some text when a button is pressed

      after the connection with the wifi AP the screen hangs and no tcpip connection is setup?

      0_1651606164639_59d2949e-c75e-452a-8318-7f7d51bb6503-image.png

      1 Reply Last reply Reply Quote 0
      • felmueF Offline
        felmue
        last edited by

        Hello @moonbouncer

        the Init LAN block can only be used in conjunction with the LAN Module (Ethernet). Do you have a LAN Module stacked to your M5Core2?

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          moonbouncer @felmue
          last edited by

          @felmue Thank Felix, yes i found that out after my post, is there a way to do a TCP socket client,similar to the UDP socket option in UI ?

          1 Reply Last reply Reply Quote 0
          • felmueF Offline
            felmue
            last edited by

            Hello @moonbouncer

            not that I am aware of, no. I don't see any general TCP blocks in UiFlow. You probably would need to use MicroPython directly.

            Thanks
            Felix

            GPIO translation table M5Stack / M5Core2
            Information about various M5Stack products.
            Code examples

            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