Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Communicate with a Cordova app?

I'd lije to write an app for the Fitbit Versa that can communicate with my Cordova based app. I'd like to send text to display on the Versa, send vibration patterns, and detect screen touches and button presses. This is what I did with the Pebble earlier, and I'm kinda frustrated that Fitbit killed it and offers no alternative... 😞

Best Answer
0 Votes
2 REPLIES 2

HI @BenkeSmith 

 

I've moved your post to the Device SDK forum.  Someone here should be able to help you get started.

 

Best!

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

There's no direct equivalent of the Android/iOS Pebble libraries, You can only communicate with native/mobile apps using either WebSockets, or via an intermediary webserver. All of this is done using the "companion". Then you relay messages between the companion and the Fitbit device using the Messaging API.

 

https://dev.fitbit.com/build/guides/companion/

https://dev.fitbit.com/build/reference/companion-api/websocket/

https://dev.fitbit.com/build/guides/communications/messaging/

 

 

Best Answer
0 Votes