Trying to create Gatt Server on Watch


I am referring the doc ( to setup Gatt server on watch. When I tried to call method tizen.bluetooth.getGATTServer(); getting error on console “Uncaught TypeError: tizen.bluetooth.getGATTServer is not a function”.
Samsung Watch3 os version:
Wearable Api version: 5.5

Please help.

Rahul Jain

Are you using TAU library in your project? If so, then I would suggest you to check the same code on a BasicUI project.