3
\$\begingroup\$

I'm currently working with the flyport from OpenPicus, it has 24FJ256GA106 PIC processor in it and I was looking for the best way to send information from the flyport to a server.

I want to know how can I send this data? In a packet form to the server? Does anyone know where I can find information on accomplishing this?

I already have previous experience with .Net programming and was hoping to have it pushed to a SQL server. However, getting the data sent would be enough information to get me started.

\$\endgroup\$
3
\$\begingroup\$

It seems that the device already has the Microchip TCP/IP stack compiled up and running so it shouldn't be too hard to implement a HTTP client that POSTs the data to your web server. I think there is at least one example HTTP client with their distribution. If not, there are other implementations available. See Dangerous Prototype's web platform, they have a similar chip with a TCP/IP stack.

Making a .NET web application should be quite easy if you've done it before and from there it's also easy to insert the data into an SQL database.

\$\endgroup\$
4
\$\begingroup\$

I've worked a lot with the Microchip TCP/IP Stack and I've found in most cases it's easier to have your server connect to the PIC and request data rather than have the PIC post the data to the server.

\$\endgroup\$
  • 1
    \$\begingroup\$ I've considered this as a possible alternative, my only issue with requesting data from the PIC is that I want it to have the ability to be easily accessible if on the other side of a router and this becomes problematic because then I would need port forwarding. \$\endgroup\$ – JGood Feb 19 '11 at 3:16
  • \$\begingroup\$ While I haven't tried implementing a generic TCP client if you review the Microchip TCP/IP stack help file under TCP you can see the API that would need to be used to implement a TCP client. \$\endgroup\$ – mjh2007 Feb 22 '11 at 16:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.