Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/03/08 07:52
Read: times


 
#151792 - Polling
Responding to: ???'s previous message
Karandeep Singh said:
how do a terminal calls the public website on a regular basis...

Obviously, the terminal must know at least the IP address or the domain name of the "website"

Beyond that depends on what interface you provide between the "website" and your "terminals":


... to report its status and pick up any commands from the Internet server.


  • If you are just using a "raw" socket interface, then it's entirely up to you how you implement this!

  • If you are using HTTP, the Client need only issue GET and/or POST Requests to the Server, and the Server's response contains the required information: GET is a simple request; POST also allows the Client to supply data to the Host in its Body. You could also carry information in the HTTP Headers by defining your own cusom headers...


    I had made my terminal capable of using TCP/IP protocol what network layer should come above it ?

    You need to write a layer (or layers) above the TCP/IP protocol - not below it!

  • That could be something entirely of your own devising, using just the "raw" IP sockets;

  • Or, you could use HTTP;

  • Or something else!

    how to implement that ?

    You need to decide what first, before you can think of how!

    where to get help from about "terminal to call a public website"?

    You have plenty of links already!
    Go back and review all the links you've been given so far.

    Also, look at the SiLabs website - they offer a complete TCP/IP development kit.

    One more time, those tutorials:
    http://www.frostbytes.com/~jimf/pap...nsock.html
    http://www.frostbytes.com/~jimf/pap...ckets.html
    http://www.jmarshall.com/easy/http/

    See also: http://www.8052.com/forumchat/read.phtml?id=147686


    i think solution is Http protocol

    Yes, it is quite possibly a solution - whether it's a good solutions for your specific requirements is impossible to tell without you giving full details of those requirements!

    i have seen that also but not able to get the solution

    You need to implement an HTTP Client in your "terminals", and your "website" must be able to handle & respond to the requests from your terminals.

    if there is any doc or link or code that can help me out please help!

    Have you studied the HTTP tutorial yet?
    Have you looked at what's available from SiLabs?



  • List of 60 messages in thread
    TopicAuthorDate
    Connecting ethernet kit to internet            01/01/70 00:00      
       Basics            01/01/70 00:00      
          making terminal as web server problem            01/01/70 00:00      
             Why can't you make every kit a website?            01/01/70 00:00      
       Online Reader ---plz help its urgent!!!!            01/01/70 00:00      
          Why not to use "urgent" in the topic.            01/01/70 00:00      
             Especially when there is no urgency!            01/01/70 00:00      
          Some more basics            01/01/70 00:00      
             how to access a embedded terminal via website?            01/01/70 00:00      
                Impossible to answer            01/01/70 00:00      
                   I was just guessing            01/01/70 00:00      
                      He said...            01/01/70 00:00      
       Websites and HTTP            01/01/70 00:00      
          cost problem and web server            01/01/70 00:00      
             Slightly missing the point - Clients and Servers            01/01/70 00:00      
                Public & Private IP Addresses            01/01/70 00:00      
             Polling            01/01/70 00:00      
                Re:Polling            01/01/70 00:00      
                   How to..            01/01/70 00:00      
                      Re: How to..            01/01/70 00:00      
                      A DS80C400 FAQ            01/01/70 00:00      
                         Client, not Server [edited]            01/01/70 00:00      
                   Polling            01/01/70 00:00      
             A suggestion            01/01/70 00:00      
                So don't access them publically!            01/01/70 00:00      
                Security!            01/01/70 00:00      
       not able to get responce!!            01/01/70 00:00      
          Probably            01/01/70 00:00      
             link            01/01/70 00:00      
                Way beyond that?            01/01/70 00:00      
          Fiddler on the HTTP            01/01/70 00:00      
          Have you studied that Tutorial yet?            01/01/70 00:00      
          Diagnostics at the Server?            01/01/70 00:00      
       new problem??            01/01/70 00:00      
          Upload & Download            01/01/70 00:00      
             GET and POST            01/01/70 00:00      
                RE: GET and POST            01/01/70 00:00      
                   GET vs POST            01/01/70 00:00      
                      Request-Response            01/01/70 00:00      
                         They could            01/01/70 00:00      
                            System            01/01/70 00:00      
                               I guess            01/01/70 00:00      
                                  Server restrictions            01/01/70 00:00      
             Re: upload or download            01/01/70 00:00      
                Time to review the basics - again!            01/01/70 00:00      
                   More detail            01/01/70 00:00      
                No can do            01/01/70 00:00      
                   Illustration            01/01/70 00:00      
       what i was doing..            01/01/70 00:00      
          You're going in circles            01/01/70 00:00      
          IPv6            01/01/70 00:00      
             Not relevant            01/01/70 00:00      
          Urgent?            01/01/70 00:00      
             sorry for writing urgent!!            01/01/70 00:00      
                Real Time??            01/01/70 00:00      
                   re:why real time?            01/01/70 00:00      
                      But does that really require real time?!            01/01/70 00:00      
                No            01/01/70 00:00      
       Internet is not real-time!            01/01/70 00:00      
          internet is no real            01/01/70 00:00      

    Back to Subject List