Table of Contents
BAPI Wireless Bluetooth Gateway User Manual
BAPI Wireless Bluetooth Gateway User Manual
Overview
- Gateway provides data via MQTT to the cloud
- Each gateway supports up to 32 sensors that can be configured remotely via the gateway and BAPI’s WAM user interface
BAPI’s gateway receives the data from one or more sensors and provides the data to the cloud via MQTT using your local Wi-Fi connection. Sensors can be configured remotely via the gateway and BAPI’s WAM user interface.
The gateway sends a confirmation signal to each sensor upon a successful reception. If the sensor doesn’t receive this confirmation, then the sensor retains the readings in its onboard memory and transmits them once communication is re-established.
Note: A WAM subscription is necessary to view sensor data and adjust sensor settings. See “WAM and the WAM Website” on pg 4.
Powering Up and Connecting the Gateway
Power Up of the Gateway
Attach the provided antennas. Power the unit by inserting the included Micro USB cable into the “Micro USB” power port or by connecting a PoE-enabled cable to the PoE Port. Note: The ethernet port does not have network capabilities at present but is only used for PoE.
Upon power-up, the green “Power” LED will be blinking rapidly (on and off about twice per second). This indicates that the gateway is in SoftAP mode waiting for you to complete the connection process. If the green “Power” LED is blinking slowly (on for a second and off for a second), then the gateway will need to be reset to SoftAP mode. See “Resetting the Gateway to SoftAP Mode” on pg 3.
Connecting the Gateway
Use your phone, tablet or computer to follow the steps below.
- With the gateway in SoftAP mode as described above, open up the Wi-Fi settings on your mobile device or computer and select “bapi_gateway” from the list of available networks (Fig 2). If your device asks for a password or network security key, enter “changebp”.
- Using the same device, open a web browser and enter “10.10.0.1” into the address bar, not the search bar. The gateway’s list of available Wi-Fi Networks will come up (Fig 3).
- Click on the desired Wi-Fi network from the “Scan List” and enter the password for that network (Fig 4). Click Connect.
- During the connection process, the various LEDs will blink for 15 to 20 seconds. The connection is complete when the green “Power” LED is blinking slowly (on for a second, off for a second) and is the only LED on. You can now close your web browser window. (Note: If the amber “Wi-Fi” LED doesn’t go out and continues to blink, the connection has failed. See “Resetting the Gateway” on pg 3.)
Note: the gateway communicates with 2.4 GHz Wi-Fi and will not work on 5.0 GHz networks. Users will need to change their wifi settings to accommodate this for the gateway to connect to the Internet.
5. Pair one of your sensors with the gateway as described in the next section “Pairing Sensors with the Gateway” and then return to Step 6. At least one sensor MUST be paired with the gateway before going to the next step.
6. Reconnect your phone, tablet or computer to your original Wi-Fi or ethernet network and open the BAP WAM website (https://wam.bapisensors.com) to register and set up your WAM account. Enter the Username and Password for your WAM subscription. (A WAM subscription is required to view your sensor data. If you do not have a subscription, contact your BAPI representative to subscribe and receive your login credentials.)
7. Click the “Enter Serial Number” link, or click on the green “+” icon across from theword “Gateway” in the left menu bar (Fig 6), to open the “Enter Gateway Serial Number” window (Fig 7).
8. Enter the gateway serial number from the label on the side of the unit and click “Add Gateway”. The gateway will not appear in the gateway menu on the left side of theWAM screen and the sensors will appear in the main window.
Note: If the gateway loses power or connection, it will attempt to rejoin the network on its own. If the automatic reconnection fails, follow the steps above to reconnect.
Pairing Sensors with the Gateway
1. Select the sensor that you wish to pair to the gateway. Apply power to the sensor. See its manual for detailed instructions.
2. Press and hold the “Service” button on the gateway until the blue “Bluetooth” LED begins to flash (about 3 seconds). Then release the “Service” button to enter pairing mode. NOTE: When in pairing mode, the blue “Bluetooth” LED will continue to flash providing the user a 20 second window to pair the sensor with the gateway.
3. Press and release the “Service” button on the sensor to pair it with the gateway. When the sensor is successfully paired, the sensor will flash its green “Service” LED 3 times and the blue “Bluetooth” LED on the gateway will go out. The blue “Bluetooth” LED will then flash each time a sensor communicates with the gateway. The sensor will now appear as one of the devices for that gateway on the WAM website.
The figures above are shown for reference. Refer to the instructions document for your specific sensor for the location of the “Service” button and “Service” LED.
Mounting
The gateway includes a removable keyhole type base plate that allows you to mount the gateway in a vertical or horizontal position. Remove the base plate from the gateway and use it to mark the mounting hole locations on your mounting surface. If mounting in a vertical position, ensure that the arrows in the base plate and gateway are pointing up. Mount the base plate to the surface. Then slide the gateway on to the base plate.
NOTE ON ANTENNA: The unit must use the supplied antennas. Do not replace the antennas with other antennas. Using antennas other than the ones provided by BAPI may violate FCC regulations.
LED Operation
GREEN “POWER” LED
- Slow Blink: (one second on, one second off) Normal Operation. Gateway is connected to the Wi-Fi network.
- Fast Blink: (on and off twice per second) Gateway is in SoftAP mode waiting for you to complete the connection process.
- Constant On: Gateway is locked up, requiring a physical reset by unplugging and then plugging back in the Micro USB power supply or PoE source.
BLUE “BLUETOOTH” LED
- Periodic Blink Data transmission received from a paired sensor.
- Fast Blink (on and off three times a second) Gateway is in pairing mode and waiting to be paired with a sensor.
AMBER “WI-FI” LED
- Slow Blink (one second on, one second off) Gateway is not connected to the Wi-Fi network.
- Fast Blink (on and off twice per second) Gateway is attempting to connect to the Wi-Fi network. (Green “Power” LED will be on solid during this time.)
BAPI Wireless Bluetooth Gateway User Manual
Note: The gateway shuts off the Bluetooth Low Energy radio when a Wi-Fi connection is lost, forcing the sensors into memory mode until the connection is re-established. (See “Sensor Memory Mode” below for more information.)
Resetting the Gateway to SoftAP Mode
Follow this procedure to reset the gateway to SoftAP mode. This will erase the Wi-Fi credentials and any previous sensor pairings. Press and hold the “Service” button on the gateway for at least 30 seconds. During the first 20 seconds, the green and blue LEDs will blink rapidly and then the green LED will blink rapidly by itself for about 5 seconds, and then all three LEDs will blink rapidly for about a second. When the green LED is blinking rapidly by itself (on and off about twice a second), the reset is complete and you can release the “Service” button. The gateway is now in SoftAP mode and ready for connecting to the WiFi network as described in the “Powering Up and Connecting the Gateway” instructions on pg 1.
Note: If the green LED is blinking slowly (on for a second and off for a second), rather than rapidly, then the reset did not complete. Repeat the reset procedure making sure to keep the “Service” button pressed throughout the entire process described above.
Resetting a Sensor
Sensors remain paired to the gateway when power is interrupted or the batteries are removed. To break the bonds between them, the sensors need to be reset. To do this, press and hold the “Service” button on the sensor for about 30 seconds. During those 30 seconds, the green LED will be off for about 5 seconds, then blink slowly for about 10 seconds and then blink rapidly for about 15 seconds. When the rapid blinking stops and the LED goes out completely, the reset is complete and you can release the “Service” button. The sensor can now be paired to a new gateway. To re-pair to the same gateway, you must reset the gateway as described in the section above.
Sensor Memory Mode
The gateway sends a confirmation signal to each sensor upon a successful reception. If communication is lost between the sensor and the gateway, the sensor will enter “Memory Mode” and begin storing its data in its onboard memory. Each sensor retains up to 16,000 readings. Once communication with the gateway is re-established, the sensor will begin sending its stored data to the gateway. The sensor will send 9 past values and 1 current value at each transmit interval until all the stored data is transmitted. Temporarily shortening the transmit interval will allow the sensor to more quickly clear any stored readings.
WAM and the WAM Website
A BAPI Wireless Asset Monitoring (WAM) subscription is necessary to view sensor data and adjust sensor settings. WAM is a cloud application that lets you monitor all of your sensor data and trends via an internet browser on your computer or smart device. WAM also lets you adjust settings for the sensors and receive alerts if the readings go above or below the user-defined thresholds.
Go to https://wam.bapisensors.com to register and set up your WAM account.
FOTA (Firmware Over The Air) Updating
Any firmware updates for the gateway or sensors are downloaded through the WAM Website and installed directly to the gateway or sensors. See the WAM instruction documents for more information on how FOTA works.
Diagnostics
The LED Operation section describes the various statuses and issues that the gateway may be experiencing. Follow the instructions in the appropriate section to fix the issue. The WAM Website contains additional tools to troubleshoot issues. See the WAM instruction documents for more information.
Specifications
Supply Power: 5 VDC @ 120mA via included USB cable or Power Over Ethernet (POE) via Ethernet Port. Ethernet port is for power only, TCP/IP is not enabled.
Capacity/Unit: Up to 32 sensors
Antenna: Thread-on Whip Antenna, 2.4 GHz**
Reception Distance: Varies by application* for both the Wi-Fi and Bluetooth signals.
Security: TLS 1.2 authentication and encryption of Wi-Fi data. 128 AES for Bluetooth data. Configuration settings and device readings are user/password protected.
Environmental Operation Range: Temp: -4 to 158°F (-20 to 70°C) Humidity: 10 to 90%RH, non-condensing
Frequency: 2.4 GHz™*
Receiver Sensitivity: -97 dBm
Mounting: Wall or surface mount
Enclosure Material: Powder coated steel
Agency: RoHS / FCC: T4AFSM211221 R¢ / IC: 9067A-SM211221
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions:
- This device may not cause harmful interference, and
- This device must accept any interference received, including interference that may cause undesirable operation.
Any changes or modifications not expressly approved by BAP! could void the user’s authority to operate the equipment.
This device complies with Industry Canada (IC) license-exempt RSS standard(s). Operation is subject to the following two conditions.
This device may not cause interference.
This device must accept any interference, including interference that may cause undesired operation of the device.
BAPI Wireless Bluetooth Gateway User Manual