Chromecast Wireless Protocols Part-II: Cast
In my previous post, I explored how the cast device find and configure the Chromecast dongle. In this post, I'll dig into the actual cast process.
more ...In my previous post, I explored how the cast device find and configure the Chromecast dongle. In this post, I'll dig into the actual cast process.
more ...There are plenty resources online that explains how Chromecast works. But most of them focus on up-layer protocols, such as mDNS, DIAL/HTTP. I am more interested in the 802.11 MAC layer. In particular, I was curious in questions such as:
Some of the questions were obvious, others are not. In this post, I will document the process about the Chromecast setup process. This will be the first of the series of posts on this topic.
more ...The HT-SIG field of 802.11n PLCP preamble contains a 8-bit CRC for the receiver to validate the sanity of the header. Here is how to calculate it.
more ...Now we have designed the simulator, add a new MAC protocol to NS2, and implement the Random Resend MAC protocol, the final part will be analyze the trace file to measure the performance of our new protocol.
more ...Now we have the simulation script, and also added our protocol to the NS2 simulator, which is still a placeholder. Now we're going the actually implement our own random MAC protocol.
more ...In previous post, we wrote an NS2 simulation program that fits the project specification, except that we're using the standard 802.11 MAC protocol. In this post, we'll discuss how to add our own MAC protocol to NS2.
more ...In this network project, we would need to:
Let's tackle them one by one. In this post, we'll mainly focus on the simulator part.
more ...In a few network projects, we're asked to write an interactive shell, to receive command from user input. Here is the general pattern I used. The example I used here is from the P2P network project, and you can find my earlier post about use select to monitor user input and socket at the same time.
more ...In the P2P network project, we were asked to simultaneously monitor user input
and also potential in-coming messages, yet we're not supposed to use multiple
threads or processes. That leaves us no choice but the select
function.
I encounter this problem while doing an network course project. Easy as it sounds, it's actually not a trivial task.
more ...