AcceliMegameter is a project mainly written in OBJECTIVE-C and C, it's free.
AcceliMegameter demonstrates simply collecting accelerometer and compass data and transmitting it over a UDP socket. It also has two buttons for transmitting messages.
It is purely a proof of concept and should be used as such.
The messages transmitted over the network are. NB: STX is ascii character 2. ETX is ascii character 3. TAB is ascii character 9.
On the settings page you can: