Muutke küpsiste eelistusi

Expert .NET Micro Framework [Kõva köide]

  • Formaat: Hardback, 400 pages
  • Sari: Expert
  • Ilmumisaeg: 01-Apr-2008
  • Kirjastus: APress
  • ISBN-10: 159059973X
  • ISBN-13: 9781590599730
Teised raamatud teemal:
  • Kõva köide
  • Hind: 79,51 €*
  • * saadame teile pakkumise kasutatud raamatule, mille hind võib erineda kodulehel olevast hinnast
  • See raamat on trükist otsas, kuid me saadame teile pakkumise kasutatud raamatule.
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Lisa soovinimekirja
  • Formaat: Hardback, 400 pages
  • Sari: Expert
  • Ilmumisaeg: 01-Apr-2008
  • Kirjastus: APress
  • ISBN-10: 159059973X
  • ISBN-13: 9781590599730
Teised raamatud teemal:
The Microsoft .NET Micro Framework is a small and efficient .NET runtime environment used to run managed code on devices that are too small and resource constrained for Windows CE and the Compact Framework. Expert .NET Micro Framework will teach you everything you need to know in order to use the .NET Micro Framework to create effective embedded applications. It begins with the basics of accessing hardware and networking before delving deep into the less well--known areas such as cryptography and globalization, and how to use technologies such as wireless communication that are not directly supported by the .NET Micro Framework. This book is a must if you want to get as much as possible out of the .NET Micro Framework to write powerful embedded applications. Expert .NET Micro Framework also describes how to use resources, and write globalized and multilingual embedded applications. You will learn how to effectively use binary serialization to store data permanently in flash memory or exchange data with a PDA or PC. Topics like cryptography and encrypted data exchange with a .NET or Compact Framework application are covered. What you'll learn*Describes and compares wireless communication technologies and how to use them even if they are not directly supported by the .NET Micro Framework*Describes the whole class library and features of the .NET Micro Framework, illustrated by working examples*Demonstrates how to access hardware components with managed drivers and write applications with a graphical user interface*Includes a detailed description of how to effectively extend or write hardware emulators using undocumented features of the configuration engine and emulator componentsWho is this book for? This book is for anyone with an interest in creating embedded systems. Primarily, it is written for the benefit of .NET developers with a background in C#, but it will equally appeal to hardware developers with a background in Assembler, C, or C++ who will be impressed by the benefits that managed code can bring to their devices.
About the Author xv
About the Technical Reviewer xvii
Acknowledgments xix
Introduction xxi
Introducing the .Net Micro Framework
1(14)
What is the .Net Micro Framework?
1(1)
.Net Micro Framework History
1(2)
Motivation
3(6)
Embedded Development in the Past
3(1)
A Different Approach
4(1)
Benefits of Managed Code
4(1)
Where the .Net Micro Framework Fits
5(1)
What the Framework is Not
6(1)
Licensing
6(1)
Benefits of the .Net Micro Framework
6(1)
The .Net Micro Framework and Windows SideShow
7(2)
Technical Overview
9(4)
Introducing the Bootable Runtime Environment
9(1)
Architecture
10(1)
Compiling for the .Net Micro Framework
11(1)
Target Platforms
12(1)
Platform Porting
12(1)
Links for Further Information
13(1)
Summary
13(2)
Devices
15(20)
Freescale I.MXS Development Kit
15(2)
Device Solutions Meridian and Tahoe
17(2)
Meridian CPU
17(2)
Tahoe Development Kit
19(1)
Digi International's Embedded Development Products
19(4)
Digi Connect ME
19(3)
Digi ConnectCore 9P 9215
22(1)
SJJ Embedded Micro Solutions Embedded Development Kit
23(1)
Crossbow Imote2.Net Edition
24(3)
Module
25(1)
Multisensor Board
26(1)
Development Kit
26(1)
Adeneo Ports
27(3)
Phytic phycore-LPC3180
27(1)
Atmel AT91SAM9261
28(2)
Ghi Electronics Embedded Master
30(3)
The Embedded Master Module
30(2)
Development Kit
32(1)
Emtrion Hico.Arm9
33(1)
The Hico.Arm9-Core Module
33(1)
Development Kit
33(1)
Summary
34(1)
Getting Started
35(12)
Getting Your System Ready
35(1)
System Requirements
35(1)
Installing the .Net Micro Framework SDK
36(1)
Using Visual Studio and the .Net Micro Framework
36(4)
Creating a New Project
36(1)
Your First .Net Micro Framework Application
37(1)
The Visual Studio Workspace
38(1)
Setting Project Properties
39(1)
Building, Deploying, Executing, and Debugging
40(1)
The .Net Micro Framework SDK
40(6)
File Structure
40(1)
The Base Class Library Runtime Assemblies
41(1)
The MFDeploy Tool
41(4)
The TFConvert Tool
45(1)
Summary
46(1)
Introducing the .NET Micro Framework Base Class Library
47(26)
Text Output for Diagnostics
47(2)
Pausing Program Execution
49(1)
Setting and Getting the System Time and Time Zone
50(1)
Using Timers
51(3)
Using Strings
54(4)
The System.String Class
54(2)
Concatenating Strings
56(1)
Encoding Strings
57(1)
Using Arrays
58(3)
Multidimensional Arrays
58(1)
Combining Byte Arrays
58(1)
Extracting Ranges from Arrays
59(1)
Combining and Copying Nonbyte Arrays
59(1)
Integer and Byte Arrays
60(1)
Using Collections
61(2)
Understanding the ArrayList Class
61(1)
Using the ArrayList Class
62(1)
Working with Numbers
63(3)
Real Decimal Numbers
63(1)
Hexadecimal Number Output
63(1)
Parsing Numbers
64(2)
Mathematical Functions
66(1)
Exception Handling
67(5)
Throwing Exceptions
68(1)
Catching an Exception
69(1)
The finally Block
70(1)
Handling Multiple Exception Types
70(1)
Getting Information from an Exception
71(1)
Rethrowing Exceptions
71(1)
Summary
72(1)
Accessing Hardware
73(44)
What Are GPIO Ports?
73(10)
Output Ports
74(3)
Input Ports
77(2)
Interrupt Ports
79(1)
Triggering an Edge
80(1)
Triggering to a Level
81(1)
Tristate Ports
82(1)
The RS232 Serial Port
83(5)
The SerialPort Class
83(2)
Sending Data
85(1)
Receiving Data
86(1)
The Request-Response Approach
87(1)
Pin Usage and Reservation
88(3)
Why Reserve Pins?
88(1)
The HardwareProvider Class
88(1)
Custom Hardware Providers
89(2)
The I2C Bus
91(10)
Accessing I2C Devices with the .Net Micro Framework
93(2)
10-Bit Addressing
95(1)
A Managed Driver for the TI TMP100 Temperature Sensor
96(5)
Hardware Providers for I2C
101(1)
The SPI Bus
101(7)
Accessing SPI Devices with the .Net Micro Framework
102(2)
A Managed Driver for the AD124S101 AD Converter
104(4)
Hardware Providers for SPI
108(1)
Other Hardware
108(1)
PWM
108(1)
Mass Storage Devices with a File System
109(1)
USB
109(1)
Obtaining Power Supply and Charging State Information
109(4)
Obtaining Processor Speed Information
113(2)
System Identification
115(1)
Summary
116(1)
Networking
117(56)
Sockets
118(12)
The Socket Class
118(2)
TCP
120(5)
UDP
125(2)
Network Configuration
127(2)
Learning More About Sockets
129(1)
Web Services for Devices
130(40)
DPWS Architecture
130(1)
Discovery
131(1)
Discovery
131(22)
Control
153(14)
Events
167(3)
Learning More About DPWS
170(1)
Summary
170(3)
Wireless Communication
173(6)
Wireless LAN
173(1)
Bluetooth
174(1)
ZigBee
175(1)
Z-Wave
176(1)
Comparing Wireless Technologies
177(1)
Links to Bluetooth, ZigBee, and Z-Wave OEM Modules
178(1)
Summary
178(1)
Cryptography
179(10)
XTEA: A Symmetric Algorithm
179(2)
Using XTEA
180(1)
XTEA for the Full .Net and .Net Compact Frameworks
181(1)
RSA: An Asymmetric Algorithm
181(6)
Common Key Pair Scenarios
181(2)
Creating Private and Public Keys
183(3)
Encryption and Decryption with RSA
186(1)
Creating and Verifying Signatures
186(1)
Summary
187(2)
Advanced .Net Micro Framework Programming
189(24)
Multithreading and Synchronization
189(5)
Using Threads
190(1)
Synchronization
191(2)
Events
193(1)
Weak Delegates
194(1)
Execution Constraints
195(2)
Binary Serialization
197(10)
Usage
197(3)
Storage Format and Configuration
200(2)
Configuring Serialization with Attributes
202(4)
Notes, Hints, and Lessons Learned
206(1)
Exchanging Data With Other Devices
206(1)
Storing Data Permanently in Flash Memory
207(4)
Summary
211(2)
Globalization and Localization
213(22)
Resources
213(6)
Creating and Editing Resources
214(5)
Working with Resources
219(1)
Cultures
219(9)
Creating and Installing Custom Cultures
220(5)
Formatting Dates, Times, and Numbers
225(3)
Persisting the Current Culture
228(1)
Multilingual Applications
228(5)
Satellite Assemblies
228(1)
Creating Satellite Assemblies
229(2)
Changing the Language at Runtime
231(2)
Summary
233(2)
Graphics and Graphical User Interfaces
235(82)
Drawing on the Display Using the Bitmap Class
235(26)
Using Bitmaps
238(1)
Flushing Bitmaps onto the Display
239(1)
Using Colors
240(5)
Drawing Rectangles
245(5)
Drawing Ellipses
250(1)
Drawing Images
250(5)
Drawing Text
255(6)
Creating Complex User Interfaces with Interaction
261(53)
WPF
261(1)
Your First WPF Application
261(3)
The Application Class
264(1)
Display Element Hierarchy
265(3)
Laying Out Elements with a Panel Container
268(7)
Backgrounds for Controls Using Brushes
275(3)
Drawing Borders Around Elements
278(4)
Displaying Shapes
282(1)
The Text Element
283(1)
The TextFlow Element
284(3)
The ScrollViewer Element
287(4)
List Box Menus
291(16)
Handling User Input and Events
307(4)
Creating Custom UI Elements
311(3)
Summary
314(3)
Hardware Emulation
317(44)
Why Use Hardware Emulation?
317(1)
Which Hardware Can Be Emulated?
317(1)
User Interfaces for Emulators
317(1)
The Extensible Emulator
318(1)
Getting Started with the Emulator
318(4)
Emulator Project Templates
319(3)
Emulator Components
322(4)
The EmulatorComponent Class
323(1)
Sharing Reusable Emulator Components
324(1)
Creating a New Library Project for Emulator Components
325(1)
XML Configuration
326(22)
Programmatic vs. XML Configuration
326(2)
Registering Components
328(5)
Deleting or Updating Existing Components
333(2)
Component Properties with Simple Types
335(2)
Parsing Property Values
337(2)
The Format Specifier
339(1)
Complex Data Types
339(2)
The type Specifier
341(2)
Array Properties
343(3)
Component Collections
346(2)
More About the Emulator
348(11)
Members of the Emulator Class
348(2)
The Emulator Start-up Process
350(1)
Linked Components
350(1)
Addressing Registered Components
351(1)
Debugging Emulators
351(4)
Command-Line Options
355(1)
The Emulator and the Registry
356(3)
Summary
359(2)
Emulator Components
361(48)
GPIO Ports
361(7)
XML Configuration
361(1)
Input Ports
362(1)
Output Ports
363(2)
Synchronizing the Emulator and GUI Thread
365(1)
The MaxPorts Property of GpioCollection
366(2)
The Serial Port
368(15)
Communication Between Emulator and Application
369(3)
Routing Data to and from Another Windows Application
372(3)
Exchanging Serial Data With a Real Hardware Component
375(3)
Exchanging Serial Data With Hyper Terminal
378(3)
Exchanging Data With Sockets Acting As a Client
381(2)
The I2C bus
383(5)
The I2cDevice Component
383(2)
The I2cBus Component
385(1)
An Emulator Component for the TI TMP100 Temperature Sensor
385(3)
The SPI Bus
388(5)
The SpiDevice Component
389(1)
The SpiBus Class
390(1)
An Emulator Component for the ADC124S101 AD Converter
391(2)
Emulator Timing
393(15)
Simulating the Processor Speed
393(1)
Continuations
394(1)
Completions
394(1)
Timers
394(1)
An Oscillator Component
395(3)
Memory Management
398(5)
Emulating Persistent Flash Memory
403(2)
Simulating a Battery Cell
405(1)
LCD Display
406(2)
Summary
408(1)
Index 409