For App Developers
The SailTimer API is available free on iOS and Android. It displays battery power and signal strength to help the user to make the wireless connection. The API does not display the wind speed or direction though; that is where your app comes in. The API is like a mini-app, with a very minimal interface. It is intended to run quietly in the background, so that the user can view wind data in your app. It gives your app some amazing capabilities:
Connects the wireless SailTimer Wind Instrument™ to your app. You don’t have to learn how to parse the Bluetooth 4 packets, or have to work out a lot of calculations from magnetic to true wind direction, and apparent to true wind. The API receives the Bluetooth data and reassembles it into NMEA 0183 text for you. The API sends Apparent Wind Speed and Direction to your app. It also uses Location Services (the GPS) in the mobile device to calculate magnetic declination in the user’s location worldwide, and to convert from Apparent to True for the MWD sentence in NMEA 0183 format. The Android version of the API also sends the MWV sentence for wind angle. Full details are provided in the README.txt file that comes with the sample code.
Android and iOS
For iOS app developers, the “SailTimerClient” is a working reference app which receives data from the API and displays it in a similar fashion. Data is sent from the API to your app on a port number using UDP.
For Android apps, the SailTimer API on Android shares data via broadcasted Intents (not via a UDP or TCP/IP port). Source code for a sample app is available that receives and un-encrypts the data from the API for display.
On both platforms, there is also a simulation that generates sample data for testing as if a Wind Instrument was connected.
We can also provide promotion for participating apps. Please email info@SailTimerInc.com for details on how to connect.