-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More research done, notes added, vscode extension suggestion
- Loading branch information
Showing
4 changed files
with
230 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"recommendations": ["humao.rest-client"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Notes taken during the course of the project | ||
|
||
## Getting the protocol with Wireshark and tcpdump | ||
|
||
### tcpdump | ||
|
||
Using the KEF Connect app on a Mac with Apple Silicon, I was able to capture the traffic between the app and the speaker. I used the following command to capture the traffic: | ||
|
||
```bash | ||
sudo tcpdump -s 0 -B8096 -w KEF.pcap -vvv host 10.0.0.93 | ||
``` | ||
|
||
### Wireshark | ||
|
||
Opening the KEF.pcap file in Wireshark, filtering on `http` (Just typing http in the filter box) and then selecting the first packet, right click on it and select `Follow -> HTTP Stream` gives you a window with all HTTP requests and responses. This is a good way to get an overview of the protocol. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters