This guide will show you some of the Bristlemouth features of the Dev Kit and Spotter + Smart Mooring system. By the end of this guide, you’ll be sending data to and from devices, writing and reading to the SD card, sending data remotely over cell/satellite, and updating the firmware.
Contents:
<aside> ⏳ Expect to take about 60 minutes.
</aside>
The Sofar Spotter exposes a variety of features over a Bristlemouth API. Using the steps in this guide you’ll be able to access advanced features and direct access to data from the Spotter.
<aside> 📖 For full details, see Spotter Bristlemouth API Doc [Coming Soon]
</aside>
In the last two guides you used the terminal program and the USB serial console to connect to both the Bristlemouth Dev Kit and the Spotter. Now you are going to do both at the same time to get familiar with how data is passed across the Bristlemouth network.
End any open USB serial console sessions and close all currently open terminal windows.
<aside> 📝 To exit a Python miniterm serial console session, press Ctrl-]
</aside>
Open a new terminal window and use Python’s miniterm to connect to the Dev Kit.
Then open a second terminal window and use Python’s miniterm to connect to the Spotter in that window.
It’s nice to keep things straight by keeping the window containing the Dev Kit console connection on the left, and the window with the Spotter console connection on the right (or whatever your preference is).
An example of two USB serial console sessions with the Dev Kit on the left and a with the Spotter on the right.
<aside> 📝 We will reserve the term “USB serial console” to refer to the USB serial connection into the Spotter or Bristlemouth Development Kit’s command line interfaces (CLI).
We will generally reserve the word terminal to refer to the terminal application (which is a Unix shell CLI running on your own computer). MacOS Terminal is pictured below.
</aside>
First, let’s try printing some data from the Dev Kit console to the Spotter console.
From the Dev Kit’s console, enter:
> **spotter printf Hello, Spotter!**
And on the Spotter console, you’ll see:
1688947525.394 4aec48a5888e39e7, Hello, Spotter!