SensiML Streaming Gateway

In some cases, you may want to use a gateway device to retrieve sensor data from your device as an intermediary between the Data Capture Lab. We have created the SensiML Streaming Gateway that communicates with the Data Capture Lab over Wi-Fi and can read sensor data from BLE and Serial Connections. It is open-sourced and easily extensible.

Configuring the Gateway

These instructions use the Nano33 BLE Sense as an example device, but any edge node that implements the protocol can be used. Connections can be made over Serial, TCPIP, and BLE.

We assume you have already followed instructions for installing SensiML Streaming Gateway found in the README file. After starting the SensiML Streaming Gateway server you will need to configure it to connect to the Nano33 over BLE. To configure the gateway:

  1. Go to the Configure Gateway tab

  2. Select Connection Type: BLE

  3. Click Scan -> Select Nano33 DCL

  4. Select Device Mode: Data Capture

  5. Click the Configure Gateway Button

https://github.com/sensiml/simple-streaming-gateway/raw/main/img/configure.png
  1. Go to Gateway Status to see the new configuration

https://github.com/sensiml/simple-streaming-gateway/raw/main/img/status.png
  1. Go to Test Mode -> Connect to validate data is Streaming

https://github.com/sensiml/simple-streaming-gateway/raw/main/img/stream.png

Connecting the DCL to the Gateway

Now that we have configured the SensiML Gateway application, we can start streaming data into the SensiML Data Capture Lab.

To connect do the following:

  1. Select Capture Method: Live Stream Capture and Connection Method: Wi-Fi.

  2. Click Find Devices

../_images/dcl-find-device1.png
  1. Enter the address and port of your Device/Gateway.

  2. Click Add Device.

../_images/dcl-add-device1.png
  1. Select your Device/Gateway and Click Connect

../_images/dcl-connect-gateway1.png
  1. Verify the data is being streamed live into the DCL.

../_images/dcl-capture-data1.png

Now that the data is streaming to the Data Capture Lab, you can begin recording capture files. Files that are recorded will be saved locally and synced up to the SensiML Cloud.