ajchellew / zwiftplay

An attempt at decoding the Zwift Play controllers
22 stars 2 forks source link

Wireshark packet dump #4

Open tmszdmsk opened 4 months ago

tmszdmsk commented 4 months ago

Hi,

I am working on something similar but the other way around.

I'd like to create DIY Zwift Clicks. Would you mind sharing some BLE packet dumps that I could analyse in Wireshark?

Thanks!

cagnulein commented 4 months ago

@tmszdmsk Could I ask you which your target? Because I have already do the same on my QZ app with any Bluetooth remote

http://qzfitness.com https://github.com/cagnulein/qdomyos-zwift/

tmszdmsk commented 4 months ago

Hi @cagnulein, if you're asking what my goal is, I want to create DIY Zwift click/play (e.g. based on ESP32) that would work directly with Zwift

cagnulein commented 4 months ago

Ok got it.

You can have the log that you need from here (check the << and >> frames)

https://github.com/cagnulein/qdomyos-zwift/issues/1984#issuecomment-1932616435

cagnulein commented 4 months ago

the main issue is encryption if you are doing this @tmszdmsk

tmszdmsk commented 4 months ago

Yeah, I know about the encryption. Thanks for the files.

Would appreciate proper logs that I can put into Wireshark to analyse if someone else has access to them.

cagnulein commented 4 months ago

i will try to collect them from zwift click asap

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno lun 19 feb 2024 alle 14:07 Tomasz Adamski < @.***> ha scritto:

Yeah, I know about the encryption. Thanks for the files.

Would appreciate proper logs that I can put into Wireshark to analyse if someone else has access to them.

— Reply to this email directly, view it on GitHub https://github.com/ajchellew/zwiftplay/issues/4#issuecomment-1952414848, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWENHNMJ2JCUM4L4I63YUNFAHAVCNFSM6AAAAABDPKVDZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJSGQYTIOBUHA . You are receiving this because you were mentioned.Message ID: @.***>

ajchellew commented 4 months ago

@tmszdmsk I attempted to emulate the Play Controllers first on Android then Raspberry Pi Pico (MicroPython) with very little success.

The main issue was the built in BLE services that the platform provides, getting in the way of pretending to be the Zwift ones so that Zwift would scan and find the DIY device.

The actual data in the BLE characteristics is fairly simple once the encryption is working.

Hopefully you don't have the same issue with the ESP32.