I have installed Tizen studio 4.0 and install the Api level 6.0. I have created a Wearable sensor web project for Samsung watch 3.
As per documentation “https://docs.tizen.org/application/web/api/6.0/device_api/wearable/tizen/bluetooth.html”, I was trying to create local GATT server on watch through which any phone can connect with over BLE and access the readings (Steps, Heart rate etc) by using custom services and characteristics.
When I tried to call Bluetooth api method “tizen.bluetooth.getGATTServer();” to get Gatt server object getting following error:
Uncaught TypeError: Cannot read property ‘getGATTServer’ of undefined
Please help, How we can resolve this issue.