0

I know to listen on bluetooth connection/disconnection activities using the Pebble C SDK. How to achieve the same using the javascript SDK ?

Thanks

Abhishek Kannan
  • 988
  • 8
  • 16

2 Answers2

1

There is no equivalent event service in the PebbleKitJS API. It is simply not possible.

matthewtole
  • 3,207
  • 22
  • 19
0

The PebbleKitJS API cannot be used to build a Pebble app, it is only a method of transferring data such as GPS location and internet information.

You would not need to know if the Pebble was connected as the program would only run when called upon by an application installed on Pebble.

Beta Decay
  • 805
  • 1
  • 8
  • 20