Roy Law - PowerPoint PPT Presentation

1 / 27
About This Presentation
Title:

Roy Law

Description:

3rd Party Code Generators. ReWrite in .NET Best Choice ... Antares Decodes. Network. Port 6000. Includes TFTP transfers. Serial Port ... – PowerPoint PPT presentation

Number of Views:53
Avg rating:3.0/5.0
Slides: 28
Provided by: robyt
Category:

less

Transcript and Presenter's Notes

Title: Roy Law


1
(No Transcript)
2
Antares Migration
Roy Law Principal Engineer Software Tools
Intermec Technologies Corporation
3
Agenda
  • Introduction
  • Application Conversion
  • Converted App Characteristics
  • Antares Environment Support
  • Using CE Features

4
Agenda
  • Introduction
  • Application Conversion
  • Converted App Characteristics
  • Antares Environment Support
  • Using CE Features

5
  • Introduction
  • Antares Disappearing
  • Multiple Options for Moving Applications
  • ReWrite in C/C
  • ReWrite as Thin Client-WEB or TE
  • ReWrite in Java
  • 3rd Party Code Generators
  • ReWrite in .NET Best Choice
  • Rebuild to Psuedo Character Based Application in
    CE
  • Fastest Choice
  • Limited Device Choices
  • Build and Go for Antares
  • Also Helpful in Converting Janus 6400 Apps

6
Devices Supported
  • CK30 CK31 CV60-CE
  • Additional Devices in the Future

7
Agenda
  • Introduction
  • Application Conversion
  • Converted App Characteristics
  • Antares Environment Support
  • Using CE Features

8
Tools
  • EVC 4 SP 2-4 (SP 4 preferred)
  • Platform SDK-
  • iCE-Premium
  • CV60
  • CE PSK Libraries Include Files
  • www.Intermec.Com/IDL

9
Conversion Steps
  • Create Empty Windows Application Project
  • If any Antares Specific ifdefs turn them on
  • Add Old Antares Source Files
  • Build Debug
  • Remember to Rebuild any Private Libraries

10
Demo
Demo
  • Application Conversion
  • Application Conversion

11
Agenda
  • Introduction
  • Application Conversion
  • Converted App Characteristics
  • Antares Environment Support
  • Using CE Features

12
Application Characteristics
  • True Windows CE Application
  • Not Emulator or Interpreter
  • Built on CE and Intermec SDK
  • Supports Full Power Management Features
  • Communication Security etc. Applies

13
Some Antares Functions Not Supported
  • Double Byte
  • Viewporting
  • Some Standard Functions
  • Int86x
  • FP_OFF, FP_SEG
  • Assembly Language Functions
  • Antares Version of BSD
  • Use Winsocks
  • Do support im_get_IP_addr

14
Porting Issues
  • IMT24LIB.H
  • May Be Required In All Files
  • Different Than Old Version
  • IM_STDIO.H
  • EVC has Stricter Parser
  • char sOutexample
  • im_cputs((IM_UCHAR )sOut,0)
  • Reader Command Limits
  • Libraries
  • Many New Ones Added
  • Hidden in IMT24LIB.H

15
Hidden Option Control
  • Registry HKLM/Software/Intermec/PSK/
  • Networking
  • Ping-Detect Unreachable Host
  • Various Retry and Timeout Settings
  • Drive Letter Mapping
  • Ctmp.txt Vs \CK_FFS\PSK_Drive_C\tmp.txt
  • Renaming Automatic all File Functions
  • Either Convention Allowed
  • Scanner Selection
  • default

16
Network Characteristics
  • Antares Functions Reached Deep Into Stack
  • CE/Sockets Limit Control
  • Reachable Host Option
  • Network Adapter Not-ready
  • Network Event Logging is Available for Diagnostics

17
Reachable Host Option
  • Configurable
  • Registry
  • im_set_network_options
  • Turned Off by Default
  • Pings Before Each Transmission to Verify
    Connection
  • Lets im_transmit_buffer Return Failure Status if
    Out of Range etc.
  • Not Foolproof

18
NETWORK ADAPTER NOT-READY.
  • Configurable
  • Registry
  • im_set_network_adapter_options
  • Turned Off by Default
  • CK30/CK31 Only
  • Reaches into Radio Driver
  • Detects Out-of-range Condition
  • Detects Adapter-not-ready Condition
  • Insures Connected and Authenticated
  • If Enabled Im_transmit_buffer Returns
    IM_NET_NOT_READY if Radio Not Connected to AP

19
Agenda
  • Introduction
  • Application Conversion
  • Converted App Characteristics
  • Antares Environment Support
  • Using CE Features

20
Configuration-PSK Specific
  • Intermec Settings Supports
  • Host IP Port
  • Protocol
  • TCP/IP
  • UDP
  • Serial Port Parameters
  • Antares-
  • Immediate Effect
  • Applied to Entire Device
  • CE (Intermec Computers)
  • Read on Application Startup or First Use
  • Only Effects Application

21
Reader Command Support
  • Scanner
  • Antares Decodes
  • Network
  • Port 6000
  • Includes TFTP transfers
  • Serial Port
  • When PSK Application Running
  • When Port Opened
  • Includes Serial File Transfer Support

22
Agenda
  • Introduction
  • Application Conversion
  • Converted App Characteristics
  • Antares Environment Support
  • Using CE Features

23
Antares .VS. CE Devices
Antares CK 3x
Single Application Multi-Applications
Last App Runs on Boot Use Startup Folder
Limited File Space Large File Space
Flat File System Hierarchical DB Support
Single Network Connection Multiple Sockets Hosts
Reader Commands for Configuration Control Some Reader Commands SmartSystems
App Owns Assets Shared Assets-Serial Port, Scanner, Etc.
24
CE Functions That Can be Used
  • Any CE Functionality Except
  • Windows/Display Functions/Classes
  • Keyboard/Windows Messaging
  • Available
  • Registry
  • Threads
  • Networking/Winsocks
  • Lists
  • Events
  • Etc.

25
Considerations With Using CE Functions
  • Unicode-Wide Char Vs Multibyte
  • PSK Uses Multibyte/ASCII/ (1 Byte per Character)
  • Many CE functions use Wide (2 Byte per Character)
  • MBSTWCS(), WCSTMBS(), etc. to Convert
  • Asset Sharing
  • Serial Port im_close_com
  • Scanner
  • Common Code Base
  • ifdef UNDER_CE
  • // do CE functions
  • else
  • // do Antares Functions
  • endif

26
Considerations With Using CE Functions-cont
  • Synchronization Between Thread and Antares
    Program
  • IM_USER_DEFINED_SELECT
  • Check for Data Available on Pending Reads
  • im_receive_input(IM_KEYBOARD_SELECT
    IM_USER_DEFINED_SELECT,
  • IM_INFINITE_TIMEOUT,
    source, input)
  • if (source IM_USER_DEFINED_SELECT)
  • //handle getting input or action from user
    created CE thread
  • myFunctionGetData( data)
  • im_reset_user_event()
  • SetEvent(hMutex)
  • Set the Flag in Your Thread When the Data is
    Available
  • im_set_user_event()
  • WaitForSingleObject ( hMutex, INFINITE )

27
Summary
  • Intermec Computers Support Antares Migration
  • Tools Provided for Easy Application Migration
  • Full Feature Paths Available but Require More
    Investment
Write a Comment
User Comments (0)
About PowerShow.com