sample emulators, 29
scaling, image, 129
Scf class, 172
SCF endpoints, 169
SCF helper class, 172–73
SCF messages, 161, 162
ScfAlign, 174
Scf.Content, 173
ScfImageFit, 174–75
ScfSideShowGadget, 170
SCI (Serial Command Interface), 216, 220, 221
ScreenColorDepth, 123
SDK (software development kit), .NET Micro Framework, 15, 103
configuration file, 192
Extensible Emulator, 188
installing, 26
SideShow and, 162, 242
Secure Socket Layer (SSL), 102
security
managed code and, 8
SelectMode.SelectError, 113
SelectMode.SelectWrite, 113
SendMessage method, 219–20
Roomba device, 225
SendTo, 116
SensorReading, 248–49
Serial Command Interface (SCI), 216
serial communications ports. See COM ports
serial connection, verifying, Roomba, 218–19
serial interfacing, 216–17
serial peripheral interface (SPI) devices, 212
serial ports, 78, 198, 211, 216–19. See also RS-232 serial port
SerialHardwareTest method, 218–19
serialization, 70
binary, 253
connected flashlight, 109
defined, 253–54
helper code, 110–11
reflection and, 253
XML, 253
Serialize method, 103, 109
SerialPort class, 60–61
SerialPort.Configuration class, 61
SerialPort.Write method, 219
service provider interface (SPI), 231
session layer, OSI model, 92
Set method, 82, 83
SetButtonState, 195, 197
SetDate, 250
SetLampState method, 195, 197
SetLeft method, 141
SetSocketOption, 103–04
SetTop method, 141
Setup methods, 203–04
SetupComponent method, 195
setupThread method, 226
SetX method, 82
Shape class, 149
shapes, drawing, 124
graduated filled rectangles, 124–25
opaque rectangles, 125–26
plain filled rectangles, 124
rounded corners, 126–27
ship mode, 236
ShowMessagePage, 133–34
ShowNotification, 177
SideShow. See Windows SideShow signature, 254
Simple Content Format (SCF) messages, 161, 162
Simple Mail Transfer Protocol (SMTP), 93
simulators, 29, 242
vs. emulators, 187
Sin method, 85
Single-Threaded Apartment model, 171
SJJ Embedded, 14
Sleep method, 45, 47, 49, 86, 251
small devices, 4–5
Smart Device development, 187
Smart Personal Objects Technology (SPOT), 4, 6, 27
Smart Watch with MSN Direct, 3
SMK, 15
SMPT. See Simple Mail Transfer Protocol (SMTP)
sn.exe, 202
snowflake example, 127, 128
socket API, 92
Socket class, 102, 103–05
socket options, 92, 103–04
SocketAddress, 102–03
SocketException, 104–05
SocketOptionLevel, 103
SocketOptionLevel.Udp, 103
SocketOptionName, 103, 104
sockets, TCP/IP programming with, 99–101
software components, device, building, 73
C# interfaces, 78–80
design with, 80
embedded, event-driven, 73–75
GPS, 75–77
message pump creation, 77–78
software development kit (SDK). See SDK (software development kit), .NET Micro Framework
Solution Explorer, 27, 28, 30, 190
Special Computing, 14
SPI (serial peripheral interface) devices, 212
SPI (service provider interface), 231
spoofing, MAC address, 94
SPOT. See Smart Personal Objects Technology (SPOT)
Sprite class, 82–83, 84, 86
square-wave signal generator, 199
GpioSquareWave project, 199–102
SquareWave pin, 203
SSL (Secure Socket Layer), 102
StackPanel, 137, 138–40, 154
StartForm method, 196
StartMessage, 133
state parameter, 153
State property, 75
stateValue, 75
static
classes, 46, 102, 141, 150, 152
defined, 254
members, 71
methods, 30, 94–96, 109, 165, 172
storeUseRecord method, 57
streams, 67
StretchImage method, 128, 129
string manipulation, 86
string resources, 30
string search method, 243
StringBuilder, 86
strings
buffering, 243
serialization, 109
trimmed, 133
strong names, 202
strong references, 67–68
structure, defined, 254
SubnetMask, 95
subscript, defined, 254
Swaney, Rick, 236–37
synchronization
issues, Roomba, 227
thread, 47–48
System, priority level, 72
system performance. See performance
System.Attribute, 245
SystemClockFrequency, 209
System.Collections namespace, 58
System.IO.Port.SerialPort, 78
SystemMetrics class, 120, 123
System.Net, 94, 99, 101–03
Dns class, 102–03
System.Net.Dns, 96
System.Net.Sockets namespace, 103
socket class, 103–05
System.Reflection, 253
System.Threading, 227–28
switchInterrupt, 48
switchPin, 42