Main Site Documentation

Returning data from gadgeteer project

Hi, I’m making a RFID card scanner project using gadgeteer on FEZ Raptor mainboard. Using .NET Micro Framework 4.3. I need to somehow return the scanned codes and upload them to MySQL database. Is there a way to return the data back through the usb cable back to my computer. I also have a wifiRS21 module but I don’t know how to use it to transfer any kind of data. Anyone could help me out?
EDIT: I’m programming it on visual studio 2013 using c#

To connect a NETMF device to a PC via USB cable consider CDC.

https://old.ghielectronics.com/docs/20/usb-client#106

Check old.ghielectronics.com for lots of info on NETMF.

1 Like

if you want to transfer the data via WLAN, then a TCP client must be running on the Gadgeteer side. Here is an example https://kleuthold.wordpress.com/2017/08/08/tcp-client-mit-gadgeteernetmf (sorry is in German and VB.Net) and on the computer a TCP server http://www.codingvision.net/networking/c-simple-tcp-server. Then send the data as a text string to the PC and then generate a MySQL Statement from the data and send it to the Database.

That should work
Good luck