I have problem with putting the NodeJS code on codeshare, because it does not have project file, and it’s not just one file solution. Anyway, it’s in link bellow. I didnt tested this version but it should work. You have to run NodeRunServer.bat file to start server. The server listens for UDP requests from FEZ. When request arrives it saves some data to sql server (common.AddSensorDataToDb function), and forwards message to Android client (common.SendDataToClient).
In attachment there is also Android.txt file with callback example, when data arrived from NodeJS server.
There must be NodeJS installed on computer, with express, msnodesql, socket.io and tedious node modules.
On Android, there must be socketio.jar library included.
Hope it helps someone…