CALYPSO opens CUPS 4.0 to developers | Calypso Marine Instruments

CALYPSO opens CUPS 4.0 to developers

Calypso Instruments has developed both an IOS and Android version of the Anemotracker app to communicate with the Calypso CUPS 4.0 wind instrument. New releases with new exciting features are soon to come; even then, we realize CUPS 4.0 users' diverse needs require tailored solutions beyond our imagination.

Odoo - Sample 1 for three columns

Anemotracker

Odoo - Sample 3 for three columns

nRF Master Control

During the Boat shows attended this 2014 season - Amsterdam METS, Barcelona, London and Paris  Boat Shows -several software and hardware companies approached us to discuss the potencial use of Calypso CUPS 4.0 with their products.  After some thougth, we have decided to open Calypso CUPS 4.0 BT signal to developers

This is a brief tutorial explaining how to get the Bluetooth signal from a Calypso CUPS 4.0 wind instrument even before you buy one! The next paragraphs describe how to simulate the Bluetooth signal a real CUPS 4.0 casts so developers can start working on their products before testing with a real unit.   
Do not hesitate to contact us for further clarifications!
The tutorial starts with the android howto and then goes for the IOS notes. We hope you find these lines of value for your business and ventures!

ANDROID: using nRF Master Control from nordic

This link sends you to the Google play store to install this App.
With this App you detect any BLE (Bluetooth Low Energy) device in the air, so you can connect to it and see the services as seen in the screen captures:
Odoo - Sample 1 for three columns
Odoo - Sample 2 for three columns
Service 0000180d-1212-efde-1523-785feabcd123
Characteristic: 00002a39-1212-efde-1523-785feabcd123

In the value there are 8 bytes. Every two bytes is one value and byte order is reverse. The values are Velocity, Direction, Battery, and other check value not important. 

In the example 39-02 is converted to 02-39 in hex, and 569 decimal, and it's 5.69 m/s so it's m/s / 100. 

Next CE-00 -> 00-CE hex -> 206 decimal, and it's vane direction. Next 0F-0D -> 0d-0f -> 3343 mV.

iOS: using lightblue

This link sends you to the itunes store to install this App.
With this App you detect any BLE (Bluetooth Low Energy) device in the air, so you can connect to it and see the services as seen in the screen captures below.
Same applies to service, characteristic and values.... as above-mentioned (see ANDROID´s case).
Odoo - Sample 1 for three columns
Odoo - Sample 2 for three columns
Odoo - Sample 3 for three columns

Simulating the Calypso 4.0 with iOS: using lightblue

Start Lightblue App available either for iOS (iphone and ipad) or Mac OS.
With this App you detect any BLE (Bluetooth Low Energy) device in the air but you can also emulate the CUPS 4.0 by creating a virtual device that performs as a real one so the App can recognise it.

Once the LightBlue App is started push + to create a new Peripheral. Select Blank profile to ensure it is empty (see figures 1 and 2).

Odoo - Sample 1 for three columns

Figure 1

Odoo - Sample 2 for three columns

Figure 2

Next modify the Service UUD and the characteristic acording to the captures shown in figures 3 and 4. The Characteristic will have two properties: Read and Notify.

Push Value and then introduce speed (x100) and direction (between 0 and 360 degrees) in 2 bytes´ blocks. Remember that all values must be in hex.

Add another 4 bytes with 00 00 00 00 (battery and reserved).

Odoo - Sample 1 for three columns

Figure 3

Odoo - Sample 2 for three columns

Figure 4

The virtual device is set up now and to activate it click inside the tick on the left side of "Blank"(see figure 5). If renamed the new name will appear instead of "Blank".

Odoo - Sample 1 for three columns

Figure 5

Now the virtual device can be detected either with Nordic Semiconductor App or Anemotracker or any other iOS/Android App available (see samples on figures 6 and 7).

Odoo - Sample 1 for three columns

Figure 6

Odoo - Sample 2 for three columns

Figure 7

For further information please contact us.