Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Send data to server
Forum Updated to NodeBB v4.3 + New Features

Send data to server

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 2.1k Views 1 Watching
  • 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.
  • S Offline
    S Offline
    sush
    wrote on last edited by
    #1

    Hi everyone,

    I have a sensor data which is needed to be sent on a server, I have the IP address of the server but I'm not getting as to how to do it. Kindly shed some light on this.

    Thanks,

    Do not wait to innovate.

    K 1 Reply Last reply
    0
    • S sush

      Hi everyone,

      I have a sensor data which is needed to be sent on a server, I have the IP address of the server but I'm not getting as to how to do it. Kindly shed some light on this.

      Thanks,

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @sush

      Did you check out already the network examples?

      For several ways you will find a solution there.
      Do you know already the actual way to communicate?

      Vote the answer(s) that helped you to solve your issue(s)

      S 1 Reply Last reply
      2
      • K koahnig

        @sush

        Did you check out already the network examples?

        For several ways you will find a solution there.
        Do you know already the actual way to communicate?

        S Offline
        S Offline
        sush
        wrote on last edited by
        #3

        @koahnig

        Actually, I am new to this server-client communications field. I have been asked to upload real time data to a private server. Just uploading part from QT is supposed to be done by me, rest everything will be handled by the IT team.

        Do not wait to innovate.

        K 1 Reply Last reply
        0
        • S sush

          @koahnig

          Actually, I am new to this server-client communications field. I have been asked to upload real time data to a private server. Just uploading part from QT is supposed to be done by me, rest everything will be handled by the IT team.

          K Offline
          K Offline
          koahnig
          wrote on last edited by koahnig
          #4

          @sush

          A couple of buzz words they should deliver otherwise there are too many ways to do the job.

          Since it is real-time you might want to check and read about TCP-sockets and UDP-sockets. The network examples have both ways and help you to understand the requirements. Even though that the server part will be handled by IT, it is good for you to understand this as well. It is not much effort overall.

          Vote the answer(s) that helped you to solve your issue(s)

          S 1 Reply Last reply
          4
          • VRoninV Offline
            VRoninV Offline
            VRonin
            wrote on last edited by
            #5

            What is the server?
            How do you communicate? SOAP, Rest, straight FTP, directly sending raw data over TCP or UDP? Without that knowledge it's just like asking "how do I cook?"

            "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
            ~Napoleon Bonaparte

            On a crusade to banish setIndexWidget() from the holy land of Qt

            S 1 Reply Last reply
            4
            • K koahnig

              @sush

              A couple of buzz words they should deliver otherwise there are too many ways to do the job.

              Since it is real-time you might want to check and read about TCP-sockets and UDP-sockets. The network examples have both ways and help you to understand the requirements. Even though that the server part will be handled by IT, it is good for you to understand this as well. It is not much effort overall.

              S Offline
              S Offline
              sush
              wrote on last edited by
              #6

              @koahnig

              Thanks, I will go through the network examples.

              However, I have made my raspberry pi a server and I have made a webpage(with php and html) visible on the local ip address with some raw data of my sensor coded in C language (I can't use the C file as the data couldn't be processed as greatly as in QT). Now how to make the data from my qt project available on this server??

              P.S: The data is serial

              Do not wait to innovate.

              1 Reply Last reply
              0
              • VRoninV VRonin

                What is the server?
                How do you communicate? SOAP, Rest, straight FTP, directly sending raw data over TCP or UDP? Without that knowledge it's just like asking "how do I cook?"

                S Offline
                S Offline
                sush
                wrote on last edited by
                #7

                @koahnig @VRonin

                I shall be getting the server details and updating here soon.

                Do not wait to innovate.

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved