You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for being to lazy to dig into the depths of the source.
I own a Cressi Leonardo and recently got Cressi Donatello for another family member.
The Cressi Leonardo uses serial IRDA @115200 baud for communication with it's vendor specific, very expensive RS232 cradle.
An ESP32 with a TFDU4101 can also do IRDA for a fraction of that price.
I tinkered around a bit, and after commenting out DTR/RTS toggles, which are required to initialize the vendor craddle, but which of course cause the USB-Serial interface of an ESP32 bord to reboot, I got import for the Leonardo working!
The newly purchased Donatello is advertised to communicate via Bluetooth-Serial! Yeah!
What a disappointment, when I realized you once more have to buy a very expensive additional bluetooth interface. But wait, the Donatello has some hole at the exact same location on which the Leonardo has it's IRDA interface. Is that Bluetooth vendor interface a simple IRDA to Bluetooth-Serial interface?
Let's comment out the DTR/RTS toggles in libdivecomputer for the goa/donatello model.
Success! I immediately can connect to the donatello and get's it's firmware version and modell information. (no dives yet).
And ESP32 has bluetooth too. So why not try to reconstruct that vendor bluetooth to IRDA interface with an ESP32 and then use Bluetooth-Serial to import the dives. In theory, that should also work from the subsurface anrdoid app.
Unfortunately I am stuck with the android app. I am able to pair Android to my ESP32 with the Bluetooth-Serial service. And I am able to select the bluetooth device in subsurface android.
But it looks like android is never properly opening the serial connection when I select 'import'. On the USB serial monitor on the ESP32 which I now can use to log some debugging information, I never get any data via bluetooth serial from the android app.
When I select the Bluetooth Device in subsurface andoid, vendor and type of the divecomputer also are being preset to something that is probably deducted from the BT MAC Address of my ESP32.
So that makes me wonder. Does the android app somehow check the MAC address of the BT device somehow defaults to only speak the BT protocol associated with that MAC address?
-Benoit-
The text was updated successfully, but these errors were encountered:
Hi Devs
Sorry for being to lazy to dig into the depths of the source.
I own a Cressi Leonardo and recently got Cressi Donatello for another family member.
The Cressi Leonardo uses serial IRDA @115200 baud for communication with it's vendor specific, very expensive RS232 cradle.
An ESP32 with a TFDU4101 can also do IRDA for a fraction of that price.
I tinkered around a bit, and after commenting out DTR/RTS toggles, which are required to initialize the vendor craddle, but which of course cause the USB-Serial interface of an ESP32 bord to reboot, I got import for the Leonardo working!
The newly purchased Donatello is advertised to communicate via Bluetooth-Serial! Yeah!
What a disappointment, when I realized you once more have to buy a very expensive additional bluetooth interface. But wait, the Donatello has some hole at the exact same location on which the Leonardo has it's IRDA interface. Is that Bluetooth vendor interface a simple IRDA to Bluetooth-Serial interface?
Let's comment out the DTR/RTS toggles in libdivecomputer for the goa/donatello model.
Success! I immediately can connect to the donatello and get's it's firmware version and modell information. (no dives yet).
And ESP32 has bluetooth too. So why not try to reconstruct that vendor bluetooth to IRDA interface with an ESP32 and then use Bluetooth-Serial to import the dives. In theory, that should also work from the subsurface anrdoid app.
Unfortunately I am stuck with the android app. I am able to pair Android to my ESP32 with the Bluetooth-Serial service. And I am able to select the bluetooth device in subsurface android.
But it looks like android is never properly opening the serial connection when I select 'import'. On the USB serial monitor on the ESP32 which I now can use to log some debugging information, I never get any data via bluetooth serial from the android app.
When I select the Bluetooth Device in subsurface andoid, vendor and type of the divecomputer also are being preset to something that is probably deducted from the BT MAC Address of my ESP32.
So that makes me wonder. Does the android app somehow check the MAC address of the BT device somehow defaults to only speak the BT protocol associated with that MAC address?
-Benoit-
The text was updated successfully, but these errors were encountered: