I have some issues concerning a project of mine. Specifically, the project consists of creating an app in Tizen that records Heart Rate (HR) data and sends them from a Samsung Galaxy Watch (where the app is installed) to a server that I have created with nodejs.
I have problems with the main.js
file of the app: in order to send data to the server I have mentioned above, I use XmlHttpRequest()
to create a POST request. Unfortunately, data are not sent to the server even though no errors come out while installing the app from Tizen in the smartwatch.
Has anyone developed a similar project? Does anyone know how to create the connection between server and smartwatch to send HR data?
Thanks in advance for your suggestions.
Vittoria.