• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

http post in ServerSocket.cpp

Scheduled Pinned Locked Moved
General Discussion
2
3
544
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.
  • undefined
    eBerlin
    last edited by 14 Sept 2018, 09:08

    i want to send a http post with the ESP8266 wifi module.

    1. which function in socketServer.cpp is the best place to send a http post to a server ?

    2. how can i log a message in the console of the duet3d ?

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 15 Sept 2018, 07:45

      1. At this point in SocketServer.cpp:

        case NetworkCommand::connCreate: // create a connection
        // Not implemented yet
      2. If you mean from a GCode file, use M117 or M118.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      1 Reply Last reply Reply Quote 0
      • undefined
        eBerlin
        last edited by 17 Sept 2018, 08:55

        Thank you, but i meant how i can log from the Socketserver.cpp?

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA