pembem22 / connect-plus

An Android app to connect and configure JBL Bluetooth speakers with additional functionality like flashing custom firmware and stereo audio playback with different speaker models.
65 stars 7 forks source link

Question About Your Coding Strategy #73

Closed XboxOneSogie720 closed 1 year ago

XboxOneSogie720 commented 1 year ago

As I was preparing to write my port to iOS in Swift, I was browsing through your src folder, and was intrigued about the addresses that I've seen in your hardware identification files, specifically "HwModel.kt."

I've always known that for bigger speakers like the XTREME 2, you could just plug it into your computer via the service port and see the product ID which would show up, in my case, in System Information > USB > JBL XTREME 2 > Product ID on my MacBook Pro.

However, I was wondering how you managed to get the PIDs for the non-USB enabled devices, such as the FLIP 6!

Screenshot 2023-06-17 at 4 11 46 AM
pembem22 commented 1 year ago

You can find the list of PIDs and other info about models by looking inside the official app's APK. That's my main source of information and resources about speaker protocol and communication.

If you have any other questions, please use the discussions feature instead of issues.

XboxOneSogie720 commented 1 year ago

@pembem22 I see. I've always used iOS stuff, so I guess that's why I haven't see it there.

Sorry about that, I'll be sure to keep it in Discussions.