Through the Looking Glass
Fig 0. Capacitive touch. Image: Cathryn Virginia
Fig 1. Android’s code for detecting ‘touch slop’. Notice the developers had my wife’s gender in mind.
Character Limits & Legends
“o” =6C
and so on down the line.In all, her slim message becomes:6F
(10 bytes combined). Each two-character code, called a hex code, is one 8-bit chunk, and together it spells “I love you”.But this is actually not how the message is stored on her phone. It has to convert the 8-bit text to 7-bit hex codes, which it does by essentially borrowing the remaining bit at the end of every byte. The math is a bit more complicated than is worth getting into here, but the resulting message appears as49 20 6C 6F 76 65 20 79 6F 75
(9 bytes in all) in her phone.When my wife finally finishes her message (it takes only a few seconds), she presses ‘send’ and a host of tiny angels retrieve the encoded message, flutter their invisible wings the 40 feet up to the office, and place it gently into my phone. The process isn’t entirely frictionless, which is why my phone vibrates lightly upon delivery.The so-called “telecommunication engineers” will tell you a different story, and for the sake of completeness I’ll relay it to you, but I wouldn’t trust them if I were you.49 10 FB 6D 2F 83 F2 EF 3A
SIM-to-Send
Fig 3. Here, bytes are called octets (8 bits). Counting all possible bytes yields 174 (10+1+1+12+1+1+7+1+140). The other two bytes are reserved for some SIM card bookkeeping. Image: Cathryn Virginia
Fig 4. SMS cellular network. Image: Cathryn Virginia
The 1-3 is represented byThe 52 is represented byThe 53 is represented byThe 7-8 is represented byThe 37 is represented byAnd the 6 is represented by…3125358773f6
Where the fuck did the ‘f’ come from? It means it’s the end of the phone number, but for some awful reason (again, reverse nibble notation) it’s one character before the final digit.It’s like pig latin for numbers.f6
But I’m not bitter.(It turns out that reverse nibble notation is an inevitable artifact of representing 4-bit little-endian numbers in 8-bit chunks, which to engineers working on these technologies feels perfectly normal. To muggles like me, though, not so much…)The Protocol Identifier (PID) byte is honestly, at this point, mostly wasted space. It takes about 40 possible values, and it tells the service provider how to route the message. A value ofmeans my wife is sending “I love you” to a fax machine; a value ofmeans she’s sending it to a voice line, somehow. Since she’s sending it as an SMS to my phone, which receives texts, the PID is set to(Like every other text sent in the modern world.)tIs'l ki eip galit nof runbmre.s
but because each character is 7 bits rather than 8 bits (a full byte), we’re able to shave an extra byte off in the translation. That’s because 7 bits * 10 characters = 70 bits, divided by 8 (the number of bits in a byte) = 8.75 bytes, rounded up to 9 bytes.Which brings us to the end of every SMS: the message itself, or the UD (User Data). The message can take up to 140 bytes, though as I just mentioned, “I love you” will pack into a measly 9. Amazing how much is packed into those 9 bytes—not just the message (my wife’s presumed love for me, which is already difficult enough to compress into 0s and 1s), but also the message (I need to come downstairs and wish her goodnight). Those bytes are:I-spacebar-l-o-v-e-spacebar-y-o-u
In all, then, this is the text message stored on my wife’s SIM card:SCA[1-10]-PDUType[1]-MR[1]-DA[1-12]-DCS[1]-VP[0, 1, or 7]-UDL[1]-UD[0-140]49 10 FB 6D 2F 83 F2 EF 3A.
(Note: to get the full message, I would need to do some more digging. Alas, you only see most of the message here, hence the ??s.)00 - 11 - 00 - 07 31 25 35 87 73 F6 - ?? 00 ?? - ?? - 09 - 49 10 FB 6D 2F 83 F2 EF 3A
Waves in the Æther
Fig 6. Wavelength. Image: Cathryn Virginia
Switching
Fig 7. SMS routed through a GSM network. Image: Cathryn Virginia
Sent-to-SIM
Fig 8. Received message, as opposed to sent message (fig 3). Image: Cathryn Virginia
Through a Glass Brightly
on the screen in front of me as “I love you” in backlit black-and-white. It’s an interesting process, but as it’s not particularly unique to smartphones, you’ll have to look it up elsewhere. Let’s instead focus on how those instructions become points of light.The friendly marketers at Samsung call my screen a Super AMOLED (Active Matrix Organic Light-Emitting Diode) display, which is somehow both redundant and not particularly informative, so we’ll ignore unpacking the acronym as yet another distraction, and dive right into the technology.There are about 330,000 tiny sources of light, or pixels, crammed inside each of my phone screen’s 13 square inches. For that many pixels, each needs to be about 45µm (micrometers) wide: thinner than a human hair. There’s 4 million of ‘em in all packed into the palm of my hand.49 10 FB 6D 2F 83 F2 EF 3A
Fig 10. An electricity sandwich. Image: Cathryn Virginia
Fig 11. Negative space. Image: Cathryn Virginia
