Step 4 - Running the web server

We are now ready to run the servers. Go to the terminal and navigate to the project folder called /BluetoothGateway/navible and get the dependencies:

sudo npm installsudo npm start

This should give you the URL where the web server is running. In our case, the server is running on https://192.168.1.111:8000. It will ask for the username and password to access it. The default username and password are both user1. After authenticating, you should be able to scan the device by pressing the Scan button:

This shows the list of all Bluetooth devices available in the vicinity. In the next section, we will study the ...

Get Building Bluetooth Low Energy Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.