语言

Menu
Sites
Language
Bluetooth access from JavaScript

I'm working on a Gear 2 Standalone app and I can't figure out how to connect a Bluetooth device from Gear 2 via JavaScript?

Also where is the URL for Tizen Wearables SDK documents online? 

All the Best.

 

响应

4 回复
Slawek Kowalski

Hi

 

You can't connect to another Bluetooth device via Gear. There is no API for Bluetooth in Gear. You can use only SAP to connect

devices each other (Provider and Consumer).

 

slaw

 

 

AVSukhov

Hello,

You can see documentation in IDE -> Help -> Help contents

Alper Dincer

Is there any way to connect iBeacon devices via Gear 2? 

 

Slawek Kowalski

You should to learn how works Samsung Acessory Protocol (SAP) and handle it on your device on your own. It is only way to connect anything to Gear 2.

Gear 2 dosen't expose any Bluetooth profile or protocol you can use. There is none API to handle ordinary Bluetooth connection.