🤖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

    PROJECTS
    2
    4
    4.8k
    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
      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
        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
          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
            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
            • First post
              Last post