The app send iPhone shaking data to your PC via wifi.
You need PC, wifi router, and iPhone to use the app.
*** FOR USERS ***
The app needs server side application(may be work on PC) work with.
Usage of the app:
1. Push "Connect" button
2. The connection indicator shows CONNECT, shake your phone!
*** FOR DEVELOPERS ***
The app provide the interface working with a server side application you make.
You can get shaking data by communicating with accacc directly or HTTP GET to acchub.net.(http://acchub.net)
Use case: fitness, game controller, machine vibration control, and so on.
Any direction(x, y, z composite axis) stroke capturable.(Users can shake in any way users like)
Shaking frequency measurable is 0.5~50 Hz.
Work as a TCP client.
Send data about 60~ times per sec.
Remote vibration request(From PC).
----Send data format (big endian)
float 4Byte peak frequency(Hz)
float 4Byte acceleration_of_peak_frequency (m/s^2)
float 4Byte variance_for_1_period_of_maximum_peak
float 4Byte x_axis_power
float 4Byte y_axis_power
float 4Byte z_axis_power
byte 4Byte reserved
total 28Byte
----Receive vibration request(text)
char 4Byte "vibn"
PC server python sample program is below:
https://github.com/wayabi/accacc_server