Implementing the Bluetooth gateway explorer v2
Until now, we've looked at the Bluetooth gateway/server implementation written in Node.js. In this section, we will study the gateway explorer v2 implementation of Bluetooth SIG. You can find the code in ~/BluetoothGateway/navible
. A gateway explorer is a simple web application written in Node.js. Its true potential lies in developing your own client application and then calling the gateway URLs but, for the sake of simplicity, we will define the standard Bluetooth client made by the SIG. The interface of the gateway explorer looks like this:
It is a single-page application with three tabs on the top and two buttons to provide scanning and refreshing functionalities. I'll assume you have web development knowledge and will only focus on the Bluetooth connectivity. In case you do not have web development knowledge, you can develop a client on any platform (for example, Android and iOS) and link it to the gateway IP address. For this application...