Node.js Integration with Ble scan example

Ask, and ye shall receive.
ponlakshmi
Posts: 2
Joined: 11:10, 03 Nov 2015

Node.js Integration with Ble scan example

Postby ponlakshmi » 12:35, 03 Nov 2015

Hi,
I have to develop APP which log the RSSI value in Excel sheet for that i have used some API from Node.js.When i insert these lines in original ble scan example code it is not display the devices.I want to know how to integrate node.js library with example in projects.Please anyone help me.Otherwise suggest me any other file handling method(which has to create file in local drive not in browser).

User avatar
micke
Posts: 256
Joined: 20:49, 18 Nov 2013

Re: Node.js Integration with Ble scan example

Postby micke » 14:45, 03 Nov 2015

Hi,

Which method do you use to store log data?

One way is to use some kind of server and send RSSI values there. For example a web server and send data using XHR requests.

For development and debugging, you can send log data to the Evothings Workbench Tools window. Just use hyper.log(), like this:

Code: Select all

hyper.log('RSSI: ' + rssi)


Where the variable rssi holds the value.

Note that for use with hyper,log, you need to be running the app from Evothings Workbench, so this will only work during development.

Best regards, Mikael


Return to “Questions and answers”

Who is online

Users browsing this forum: No registered users and 13 guests