E-Book, Englisch, 504 Seiten
Khner Expert .NET Micro Framework
2. ed
ISBN: 978-1-4302-2388-7
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
E-Book, Englisch, 504 Seiten
ISBN: 978-1-4302-2388-7
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
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 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-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.
Jens Kuhner works for Vallon GmbH in Germany as a principal software developer developing metal detectors and ferrous locators. He creates software for data acquisition and evaluation using the .NET Framework and Compact Framework. Since this software must be incorporated closely with the detectors hardware, an interest in embedded systems was only natural. Jens has been involved with the .NET Micro Framework from the very start, when he saw it presented at MEDC Europe. Since then, he's been an active beta tester of the technology and a regular contributor to Micro Framework forums.
Autoren/Hrsg.
Weitere Infos & Material
1;Contents at a Glance;5
2;Contents;6
3;About the Author;20
4;About the Technical Reviewer;21
5;Acknowledgments;22
6;Introduction;23
7;Introducing the .NET Micro Framework;24
7.1;What Is the .NET Micro Framework?;24
7.2;.NET Micro Framework History;24
7.3;Motivation;27
7.4;Technical Overview;32
7.5;Links for Additional Information;36
7.6;Summary;37
8;Devices;38
8.1;Device Solutions Meridian and Tahoe;38
8.2;GHI Electronics Embedded Development Products;41
8.3;AUG Electronics GmbH AMI Devkit;48
8.4;Academus Software Engineering’s XSBase270-MF;50
8.5;Adeneo Ports;52
8.6;Digi International’s Embedded Development Products;54
8.7;SJJ Embedded Micro Solutions Embedded Development Kit;58
8.8;Crossbow Imote2.NET Edition;60
8.9;emtrion HiCO.ARM9;62
8.10;Freescale i.MXS Development Kit;63
8.11;Summary;65
9;Getting Started;66
9.1;Getting Your System Ready;66
9.2;Using Visual Studio and the .NET Micro Framework;66
9.3;The .NET Micro Framework SDK;72
9.4;Summary;78
10;Introducing the .NET Micro Framework Base Class Library;79
10.1;Text Output for Diagnostics;79
10.2;Pausing Program Execution;82
10.3;Setting and Getting the System Time and Time Zone;83
10.4;Using Timers;84
10.5;Using Strings;87
10.6;Using Arrays;91
10.7;Using Collections;94
10.8;Working with Numbers;96
10.9;Mathematical Functions;99
10.10;Exception Handling;101
10.11;Using the New C# 3.0 Language Features;105
10.12;Summary;109
11;Accessing Hardware;110
11.1;What Are GPIO Ports?;110
11.2;The RS232 Serial Port;120
11.3;Pin Usage and Reservation;126
11.4;The I²C Bus;129
11.5;The SPI Bus;142
11.6;Mass Storage Devices with a File System;149
11.7;USB;153
11.8;Other Hardware;154
11.9;Obtaining Power Supply and Charging State Information;154
11.10;Obtaining Processor Speed Information;158
11.11;System Information and Identification;159
11.12;Summary;161
12;Networking;162
12.1;Sockets;162
12.2;Web Services for Devices;178
12.3;Summary;221
13;Wireless Communication;223
13.1;Wireless LAN;223
13.2;Bluetooth;224
13.3;ZigBee;225
13.4;Z-Wave;226
13.5;Comparing Wireless Technologies;226
13.6;Links to Bluetooth, ZigBee, and Z- Wave OEM Modules;227
13.7;Summary;228
14;Cryptography;229
14.1;XTEA: A Symmetric Algorithm;229
14.2;RSA: An Asymmetric Algorithm;231
14.3;Summary;237
15;Advanced .NET Micro Framework Programming;238
15.1;Multithreading and Synchronization;238
15.2;Weak Delegates;244
15.3;Execution Constraints;246
15.4;Binary Serialization;247
15.5;Storing Data Permanently in Flash Memory;256
15.6;Reading XML data;260
15.7;Summary;263
16;Resources, Globalization, and Localization;264
16.1;Leveraging Resources;264
16.2;Introducing Cultures;272
16.3;Creating Multilingual Applications;281
16.4;Summary;286
17;Graphics and Graphical User Interfaces;287
17.1;Drawing on the Display Using the Bitmap class;287
17.2;Creating Complex User Interfaces with Interaction;315
17.3;Summary;382
18;Hardware Emulation;384
18.1;Why Use Hardware Emulation?;384
18.2;Getting Started with the Emulator;385
18.3;Emulator Components;389
18.4;XML Configuration;393
18.5;More About the Emulator;417
18.6;Summary;429
19;Emulator Components;430
19.1;GPIO Ports;430
19.2;The Serial Port;437
19.3;The I2C Bus;453
19.4;The SPI Bus;458
19.5;Emulator Timing;463
19.6;Memory Management;468
19.7;Storage Devices with a File System;472
19.8;Simulating a Battery Cell;474
19.9;LCD Displays;475
19.10;Touch Panel;477
19.11;Summary;479
20;Index;480




