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:
Go to the Configure Gateway tab
Select Connection Type: BLE
Click Scan -> Select Nano33 DCL
Select Device Mode: Data Capture
Click the Configure Gateway Button
Go to Gateway Status to see the new configuration
Go to Test Mode -> Connect to validate data is Streaming
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:
Select Capture Method: Live Stream Capture and Connection Method: Wi-Fi.
Click Find Devices
Enter the address and port of your Device/Gateway.
Click Add Device.
Select your Device/Gateway and Click Connect
Verify the data is being streamed live into the DCL.
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.