Sending data across the BLE link

Hello,

For our research project, we want to stream raw data from wearable devices to an Android application where this data is processed and send to a server. For instance, with the Empatica E4 we can process accelerometer and heart rate data in real-time.

We also want to use Garmin devices for this purpose and compare it to other devices. However, we do need to be able to send the raw data to some endpoint. We did some research and came across the BLE link described here.

Would it be possible to use this BLE link to send raw heart rate and accelerometer data to a third party Android app? If not, are there other ways, for instance via Garmin Connect?

Thanks!
  • Yes, you should be able to make use of the Communications module to do what you want. It is worthwhile to note that there is a new API, Communications.registerForPhoneAppMessages(), that is not in the current documentation, but is available for use and appears in the Comm sample program that comes with the SDK.

    Travis
  • Thanks!

    Just to be sure, a check whether I understood correctly. The name of Communications.registerForPhoneAppMessages() and the use of it in the Comm sample gives the idea that it used to listen for messages from a phone. So the same method can be used to send data from the Garmin device to a phone? Is this an example of this Garmin to phone transmission included in the Comm package?
  • registerForPhoneMessages() allows you to receive input from the phone. To send to the phone, you'd use transmit(). You're most likely going to need to use both.