1 / 38

Module 8: Connecting Network-Enabled Windows CE-Devices

Module 8: Connecting Network-Enabled Windows CE-Devices. Overview. Windows CE 3.0 Networking Windows CE Web Clients Windows CE Web Server Configuring COM and DCOM Networking API Support Support for MSMQ Support for SNMP. Windows CE 3.0 Networking. New Features Web Server Support

ninon
Télécharger la présentation

Module 8: Connecting Network-Enabled Windows CE-Devices

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Module 8: Connecting Network-Enabled Windows CE-Devices

  2. Overview • Windows CE 3.0 Networking • Windows CE Web Clients • Windows CE Web Server • Configuring COM and DCOM • Networking API Support • Support for MSMQ • Support for SNMP

  3. Windows CE 3.0 Networking • New Features • Web Server Support • Distributed Component Object Model (DCOM) • Microsoft Message Queue (MSMQ) • Enhancements • RAS • Simple Network Management Protocol (SNMP) • TCP/IP • Network Driver Interface Specification (NDIS) • DNS/ WINS Name Resolution • Dynamic Host Configuration Protocol (DHCP) • IP Helper APIs

  4. Windows CE Web Clients • Pocket Internet Explorer • IE for Windows CE • Web Browser Control • HTML Viewer Control • Comparing the Web Clients

  5. Pocket Internet Explorer • Supports HTML 3.2: • Tables • GIFs and JPEGs • JavaScript (in PIE 3.0) • Does Not Support: • CSS • DHTML • ActiveX Controls /Embedded Java • VBScript • Memory Footprint =1.3MB

  6. IE for Windows CE • Supports HTML 4.0: • CSS • DHTML • ActiveX Controls and Plug Ins • JavaScript and Java Applets • Tables • GIFs and JPEGs • JavaScript • Does Not Support: • VBScript • Footprint = 3.1MB

  7. Web Browser Control • ActiveX Control • Adds Browsing Capabilities • Requires IE for Windows CE • CoCreateInstance(… • CLSID_WebBrowser • IID_IWebBrowser2

  8. HTML Viewer Control • Supports HTML 3.2 • Used by: • PIE (ver 1.0 and 2.0) • Windows Windows CE Help (PEGHELP.EXE) • Uses the Files: htmlctrl.h, htmlview.lib and htmlview.dll • Uses the APIs InitHTMLControl and CreateWindow(…”DISPLAYCLASS”…) • Does not display images, run JavaScript, or perform any URL processing • Requires a Web browser Control to use it as a web browser

  9. Comparing the Web Clients IE for PIE HTML Viewer Control Windows CE

  10. Windows CE Web Server • CE Web Server Core Features • Web Server Support • Windows 2000 Web Server • Windows CE Web Server • MinComm Web Server • MaxAll Web Server

  11. Windows CE Web Server Core Features • Active Server Pages (ASP) • Scripting Support • Internet Server API (ISAPI)

  12. Web Server Support Windows 2000 Windows CE • HTML, ASP, • ISAPI • MTS, Certificate Server, Index Server, MSMQ, • Windows Media – Webcasting, Active Streaming • Database Connectivity • Active Directory • HTML, ASP • ISAPI

  13. Windows 2000 Web Server MMC.EXE INETINFO.EXE ASP.DLL ISAPI_Ext.DLL ISAPI_Filt.DLL

  14. DEVICE.EXE HTTPD.DLL ASP.DLL ISAPI_Ext.DLL ISAPI_Filt.DLL Windows CE Web Server HTTPDSVC.EXE

  15. MinComm Web Server

  16. MaxAll Web Server

  17. Configuring COM and DCOM • Configuring COM in Platform Builder • Configuring DCOM in Platform Builder

  18. Configuring Basic COM in Platform Builder • In-Process Server Only • Memory Footprint = 100K • Configuration File Changes • CESYSGEN.BAT • COMMON.BIB

  19. Configuring DCOM in Platform Builder • All three server types supported • Memory Size = 700K • Configuration Files • CESYSGEN.BAT • DCOM.BIB

  20. Networking API Support • Windows Sockets • WinInet Functions • Internet Protocol Helper API

  21. Supported Features • Streams and Datagrams • TCP/IP, IrDA • Synchronous Communication • Functions such as socket(), • send(), recv(), connect(), and • bind() • Unsupported Features • Asynchronous, message driven • APIs such as WSASend • WSARecv Windows Sockets Operating Systems: UNIX, LINUX, OS/2, Mac OS, VMS, MVS or Windows send() recv() recv() send() IP Address:123.45.6.7 Port: 1234 IP Address:123.45.6.8 Port: 567 Networks: Microsoft, Novell or Banyan

  22. WinInet Functions • Fairly Complete Support for: • Internet APIs (InternetOpen) • Http APIs (HttpOpenRequest) • Ftp – (Palm-size PC only) • Both Unicode and Ansi functions support: • InternetOpenA • InternetOpenW • No support for: • Gopher…(GopherOpenFIle) • Auto dial (InternetAutoDial)

  23. Internet Protocol Helper API • Mapping of IP Addresses to Adapters • AddIPAddress, DeleteIPAddress • GetIpAddrTable • Network Routing • CreateIpForwardEntry, GetBestRoute, SendARP • Statistics • GetIcmpStatistics, GetIpStatistics, GetTcpStatistics

  24. Support for MSMQ • MSMQ • MSMQ Architecture • MSMQ API • MSMQ and DCOM • MSMQ Scenario • Setting Up MSMQ

  25. MSMQ • Message-Oriented Middleware (“MOM”) • Supports Asynchronous Data Delivery • Options • Journaling • Guaranteed Delivery • Notification • Dead-Letter Queues • Time Limit on Message Lifetime

  26. AnApp.exe Device.exe (System Driver Process) MsMqAdm.exe MSMQRT.DLL MSMQD.DLL MSMQRT.DLL MSMQ Architecture

  27. MSMQ API Queue Functions Message Functions • MQCreateQueue • MQDeleteQueue • MQOpenQueue • MQCloseQueue • MQSendMessage • MQReceiveMessage

  28. MSMQ and DCOM DCOM PROXY Client STUB Server Network MSMQ Queue Client Server

  29. MSMQ Scenario Full-Time Networked Client Network Public Queue Client Server Mobile Client on the Road Private Queue Client Mobile Client on the Network Network Private Queue Public Queue Client Server

  30. Setting Up MSMQ • MinComm Setup • Set “Include MSMQ Components” • MaxAll Setup • Define MAXALL_MSMQ = 1 • CE Foot Print: 250K

  31. Support for SNMP • What is SNMP • SNMP Agents and Managers • Management Information Base (MIB) • Traffic – Messages and Traps • Setting Up SNMP

  32. What is SNMP? • TCP/IP Standard Protocol • Extensible • Manage network operation & routing • Manage security • Reads statistics from network devices

  33. SNMP Agents and Managers

  34. Management Information Base (MIB) • MIB-II (snmp_mibii.dll) • Host Resources MIB (snmp_hostmib.dll) • Custom MIB

  35. Traffic – Messages and Traps SNMP MANAGER Messages Trap SNMP AGENT SNMP AGENT SNMP AGENT

  36. Setting up SNMP • Starting Point MINCOMM & MAXALL • Memory Foot print = 220K • Files • CESYSGEN.BAT • COMMON.BIB • Dependent Modules: • PPP (Point-to-Point Protocol) • WINSOCK (Windows sockets)

  37. Lab A: Enabling Network Features

  38. Review • Windows CE 3.0 Networking • Windows CE Web Clients • Windows CE Web Server • Configuring COM and DCOM • Networking API Support • Support for MSMQ • Support for SNMP

More Related