Hi again,
I got a Rev F and gave it a quick test. Here’s what a normal interaction looks like (in detail):
PROGRAM THE TYMPAN: In the Arduino program, I opened up the Tympan example “Tympan_Test_BLE”. Like all examples, they’re available via the Arduino “File” menu, choose “Examples->Tympan_Library”. In this case, keep drilling down through “02-Utility->Bluetooth->Tympan_Test_BLE”. I compiled it and uploaded it to the Tympan.
CHECK BLE FIRMWARE: Once the Tympan finished booting, I went under the Arduino’s “Tools” menu, clicked on “Port”, and chose the port associated with the Teensy/Tympan (in my case “COM3 Serial (Teensy 4.1)”. I then opened up the Arduino Serial Monitor and sent an ‘h’ to get the Tympan’s help menu. Once I saw the text of the menu, I sent a ‘v’ to get the version of the firmware that’s running on the Tympan’s bluetooth module. The Tympan reported that its module’s firmware is 0.4.0. Yours may be older, which is (hopefully) fine.
STARTUP STATUS: Upon startup, the Tympan’s bluetooth LED slowly pulses blue. In the Serial Monitor, I send a ‘t’ to ask its advertising status and it responds “1”, meaning it is advertising. I send a ‘g’ to ask its connected status and it responds “0”, meaning it is not connected. I send a ‘n’ to ask its bluetooth name it it responds “TympanF-EDAT”. So far, so good. (On your unit, the last four digits of the name will be different).
PHONE PREP: In my phone’s bluetooth settings, I went under “previously paired devices” and removed “TympanF-EDAT” from the list. I turned off the phone’s bluetooth, waited 30 seconds, and turned it back on. I also cycled the power on the Tympan and re-connected via the Arduino Serial Monitor.
BLUETOOTH CONNECTION: With the Tympan’s light slowly pulsing blue, I open the Tympan Remote app on my phone. I press the button for “Scan for Devices”. It lists “TympanF-EDAT”, as would be expected. I tap on its name to connect. After a moment, the app says “connected”.
CHECKING STATUS: In the Arduino Serial Monitor, I see that it has sent a bunch of JSON text, which is what tells the phone what kind of interface to draw. The Tympan’s light is now slowly pulsing green. In the Serial Monitor, asking its connected status, it now says “1”, meaning that it is connected.
INTERACTING: In the App, if I press the “up/down” icon on the bottom-right, it switches to displaying “Tympan BLE Testing”, which is the graphical interface commanded by the “Tympan_Test_BLE” code running on the Tympan itself. From this page, I can ask for the BLE Firmware version and I can change the digital gain. Everything seems to work fine.
DISCONNECTING: In the App, if I press the “gear” icon in the bottom-left, it switches back to the Settings page. If I tap on the Tympan’s name, it disconnects. Via the Serial Monitor, I ask its advertising and connected status. It (correctly) reports that it is not connected and that it is advertising. Looking at the Tympan itself, I see that its light is now slowly pulsing blue again.
RECONNECTING: In the App, I can tap on the Tympan’s name again, and it reconnects just fine. The Tympan’s light turns green, like before. I can connect/reconnect repeatedly. Blue is clearly disconnected+advertising and Green is clearly connected.
So, just for the record, that’s what normal looks like.
(My phone is a Moto G Power 2022, Android 12)