Running a Model On Your Embedded Device

The SensiML TestApp is an Android application that uses Bluetooth-LE to connect to an embedded device that has been flashed with a model to get classification results from the model running at the edge. If your model uses a Serial or Wi-Fi (TCP/IP) connection you can use the Open Gateway. See the steps below for how to use the SensiML TestApp.

../_images/testapp-classifications-with-images.png

Connecting to Your Device

  1. Click Find a device to connect to your embedded device

../_images/testapp-find-device.png
  1. The SensiML TestApp will automatically connect to your device and start streaming classification IDs from your model

../_images/testapp-classifications.png

Adding Classification Names and Images

By default, the app will be displaying the Classification ID of the event you are classifying. You can instead show classification names and images by modifying the SensiML TestApp settings

  1. Open the SensiML TestApp settings page by clicking on the gear icon

../_images/testapp-settings.png
  1. (Optional) Enable the Show Pictures setting to display images with your classifications

../_images/testapp-show-pictures.png
  1. Click Setup Events

../_images/testapp-setup-events.png
  1. Click the Add button to add events or you can import a model.json file from the Knowledge Pack folder that you downloaded from the Analytics Studio

../_images/testapp-add-events.png
  1. You will now see the classification names and images instead of classification IDs

../_images/testapp-classifications-with-images.png