rigor789 / mirabox-streamdock-node

MiraBox StreamDock reverse-engineered communication protocol example
MIT License
4 stars 1 forks source link

Need Model N3 Image upload script #1

Open woodytang opened 2 weeks ago

woodytang commented 2 weeks ago

everything works fine except for the image uploading, both key Image and boot Image.

would you please take a look at the N3 image ~~

rigor789 commented 2 weeks ago

I don't own an N3, so I'm not sure how it's protocol differs from the MiraBox 293.

You may be able to find more information in the official cpp driver/sdk

Unfortunately the core protocol is a compiled library, however I was able to decompile it enough to get an idea how the protocol works in addition to analyzing the packets I captured between the 293 & the official windows app/driver via WireShark + usbpcap in a VM.

For decompiling, I've used https://dogbolt.org/ and tried a few different decompilers to get a fairly readable output - this is not perfect, but it helped me figure out the protocol.

image