data transfer between pc and microcontroller
-
I want to write a program in Visual C++ to transfer and receive data between a computer and microcontroller over wireless LAN. I have to implement TCP/IP Protocol for Data Transfer. From where should i start. I am the beginner. Thanks
-
I want to write a program in Visual C++ to transfer and receive data between a computer and microcontroller over wireless LAN. I have to implement TCP/IP Protocol for Data Transfer. From where should i start. I am the beginner. Thanks
Muhammad Azeem Azam wrote:
I am the beginner.
Which begs the question, "Why are you starting with such an ambitious project?"
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
-
I want to write a program in Visual C++ to transfer and receive data between a computer and microcontroller over wireless LAN. I have to implement TCP/IP Protocol for Data Transfer. From where should i start. I am the beginner. Thanks
I hope your microcontroller control board already has a library implementation of TCP/IP and 802.11; actually I'm a bit surprised that there's room for it in the device's RAM. From the PC side, you should be looking at the Windows Sockets APIs. Best starting point for that is the Winsock Programmer's FAQ[^]. If there is a library implementation for your microcontroller, it probably also uses the sockets API.
Stability. What an interesting concept. -- Chris Maunder
-
Muhammad Azeem Azam wrote:
I am the beginner.
Which begs the question, "Why are you starting with such an ambitious project?"
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
DavidCrow wrote:
"Why are you starting with such an ambitious project?"
wow :-D
_**
**_
WhiteSky
-
I want to write a program in Visual C++ to transfer and receive data between a computer and microcontroller over wireless LAN. I have to implement TCP/IP Protocol for Data Transfer. From where should i start. I am the beginner. Thanks
Since this is too general a question, I will try to answer using my own experience, with a similar project. If it fits your case fine, otherwise provide more details, and maybe you will get the answers. I am assuming that you have a micro-controller board with TCP/IP support. You want to connect it to a PC over a network and build your application above that. If the micro_controller has a TCP/IP Server waiting to serve a client, then you need to implement the Client on the PC (or Vice Versa). Since you most probably want to have something working quickly and build upon that, you can start by doing a search for a simple TCP client (or server depending on what you have on the other side). Download the project and build it. Next you need to configure (eg: Port Number etc..). Here you need the details on how the Server is set up. You can do this without knowing the details of the protocol (just an overall idea as to Client/Server relationship and the config parameters will suffice). This will bring you to the point of an actual connection being setup between the Server and the Client. After this, you need to fill in the blanks by providing whatever it is your application level is. This should get you started; you can expand upon it as you go along. At some point in time, you can rewrite it to be more efficient for your particular case. Good Luck. Cheers, Marigowda Divya