Findings through a tcpdump #85
ghost
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
|
This is the coarse structure of the answer to a request to full: <account id="xxx">
<accountStatus>CHANGE_PASSWORD</account_status>
<devices>
<device deviceid="{mac address}">
<attachedProduct product_code="SoundTouch 20 sm2">
<components />
<productlabel>soundtouch_20_series3</productlabel>
<serialnumber>069...</serialnumber>
</attachedProduct>
<createdOn>Timestamp</createdOn>
<firmwareVersion>Firmware version</firmwareVersion>
<ipaddress>local ip address</ipaddress>
<name>bla</name>
<presets>
<preset buttonNumber="x">
... the usual content for a preset, including source
</preset>
... the other presets
</presets>
<recents>
<recent id="xxx">
... the usual content for a recent, I guess
</recent>
... many other recents
</recents>
<serialNumber>Fxxxx</serialNumber>
<updatedOn>Timestamp</updatedOn>
</device>
</devices>
... more devices
<mode>global</mode>
<preferredLanguage>de</preferredLanguage>
<sources>
<source id="xxx" type="Audio">
... the usual content for sources, I guess
</source>
... all configured sources
</sources>
</account> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is supposed to be a loose list of findings to be amended at a later time.
As discussed in #49 I was seeing repeated calls for account/_/full when the settings (presets in this case) of my three devices differed. So I hooked one of the devices back to the Bose cloud to see what it would retrieve. Before doing so I changed the cloud addresses to
httpand hoped for the best./v1/scmudc/{device}receive an answer ofHTTP 302 Found. The Request-Body is basically spying on the user (station, song, preset, and the like), thus not really needed.Next I set up an old RPi as MitMProxy with a wifi AP. Reset one of the ST20 and paired it with the new wifi.
/etc/pki/tls/certs/ca-bundle.crtmakes the device trust our proxy. Server response from account/_/full is in the next post. It does seem thataccount_full_xmlalso reflects this content (as well asdocs/API_Spec.md, d'uh). Yet, I had to comment outrecents_xmlin the generator, otherwise I would get an HTTP 400 error.recents_xmland/orpresets_xmlwith an error message "invalid source". Somewhere there still is an inconsistency in the data ...Beta Was this translation helpful? Give feedback.
All reactions