06-12-2018 05:41
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-12-2018 05:41
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi,
I'm very new to the FB world, having had a device dropped on my desk today with the instruction to get something working on it. I've done a bit of digging around on the architecture but I haven't found something that answers my question. So here goes.
I'm looking to create an app on a private network that sends notifications to a user's watch. I've had a bit of a look at the BART sample, and from what I can see it is querying a web service to receive travel info. But I can also see that the Messaging API might be a good place to start to 'push' messages.
Any thoughts? Are there any good examples/documentation on the messaging API that might be handy?
btw - I'll be creating the central service/web api that will make the calls, so I'm quite open to use whatever protocols are the best fit. It will be a controlled environment too - so we can lock down whatever is required in order to have a consistent experience (e.g. wifi, paired phones etc)
And I hope this is not a dumb question, but can I get the app to work over wifi without the phone being connected? The specs on the watch (a Versa) imply it only has bluetooth, but according to the app I can also configure wifi.
Hope this makes sense.... and any help greatly appreciated.
Cheers,
Tim
Answered! Go to the Best Answer.

Accepted Solutions
06-15-2018 15:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


06-15-2018 15:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
You can only use the messaging API to communicate with the companion on the phone (using BLE), and the companion can use fetch() to an https endpoint.
You could periodically send a message from the device to the companion, then the companion could check for a notification. It's not ideal though.
Wifi is only really used for the developer bridge, firmware updates, music transfer and large app installs, we're not able to use it directly for communications.
06-15-2018 15:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


06-15-2018 15:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
You can only use the messaging API to communicate with the companion on the phone (using BLE), and the companion can use fetch() to an https endpoint.
You could periodically send a message from the device to the companion, then the companion could check for a notification. It's not ideal though.
Wifi is only really used for the developer bridge, firmware updates, music transfer and large app installs, we're not able to use it directly for communications.
07-01-2019 05:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-01-2019 05:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Can notifications only be sent via a phone over BLE or could I send a message from a custom device over BLE?

