Category: Understanding Networks

Roxanne and I decided to specify a concept for the RESTful interfaces assignment.

I am still unsure about the concept of a RESTful interfact, and how it differs from how the internet usually works. It would help to get an example of a non-RESTful interface on the internet. But it seems like RESTful describes how we usually interact with the internet. For example, I go on YouTube, I type in “flock of seagulls” in the search bar, and the website returns a representation of their stock of resources corresponding to flock of seagulls. I then select the video I want, and YouTube provides me with that resource. To my knowledge, this is how all websites work. Is this is RESTful?

Our concept:

a website-controlled 50-pixel LED strip, where each user will be able to see what color the current strip is and what pattern is being run on it.

The user will be able to select their own color, and select one of three patterns on it (the patterns based on fastLED and Neopixel demo-reel default patterns).

The interface will be based on the last user’s commands, so if you change the color/pattern of light, it can be changed the moment after you submit it. (This will be one of the challenges to the interface, how to handle competing user commands).

I learned that HTTP traffic is found using TCP filter port 80. I did not find any packets were HTTP.

How many devices are active on your network?

If all the devices connected to my wifi network are 192.168.X.X then simply all devices are different devices using that wifi. I also learned these addresses are called IPv4 addresses.

192.168.0.9

192.168.0.6 that’s me

192.168.0.41

192.168.0.12

192.168.0.1

What are their relative levels of activities?

it was mostly my address and the router address that was active (out of the 192.168.X.X addresses) since I was the only on home at the time. Other roommate was home too, but not sure how active they were. I am unsure why my traffic show up as my IPv4 if everything to the internet went through the router anyway?

What sites are the most common sources and destinations for your traffic?

The most common destinations from my router are GQUIC to “Payload (Encrypted)” or TCP to “50XXX [ACK]”

Most difficult was figuring out how the link up the Arduino Sketch to the Processing Sketch and ITP Sandbox Server. To be honest, I’m still not sure how it all works. All I know is that I stuck the BallDropServer IP address from the Sandbox and stuck it into the Arduino sketch, the BallDropClient sketch and it started working! (See video above).

Instead of a joystick, I used two potentiometers for the X and Y axis respectively. It was a while since I used both a button and pots, so I had to test both separately on a isolated Arduino sketch.