CARROLL TOUCH
Appendix A - Smart-Frame Protocol Command Reference
Touch System Programmer’s Guide
A-35
SwitchToSFP-II (65H)
Command Description
The SwitchToSFP-II (65H) command instructs a touch system that is
using the Smart-Frame Protocol to switch to Smart-Frame Protocol II.
If successful, the touch system returns the SFP-II Protocol Version
Report and subsequently accepts only SFP-II commands. If the touch
system does not support SFP-II or cannot switch to SFP-II, the touch
system returns an error code.
To return to the SFP from SFP-II, the host must send the
SwitchToClassicSFP (64H) SFP-II command. (Within the
Smart-Frame Protocol II, the original Smart-Frame Protocol is referred
to as the “classic” SFP.)
Report Format
If the touch system supports SFP-II and is able to switch to SFP-II, the
touch system returns the SFP-II Protocol Version Report. (Note that the
command number for the SFP-II GetProtocolVersion command is also
65H.) The version report is structured such that it is also a legal SFP
report - that is, none of the bytes between the header and the trailer are
larger than DFH. This means that an application that uses a layered
protocol for validating SFP reports can continue to use its SFP report
validation layer until after this report is received. Refer to the
GetProtocolVersion (65H) SFP-II command in Appendix B for
additional information on this report.
If the touch system does not support SFP-II or cannot switch to SFP-II,
it does not respond to the command. The host should timeout waiting
for the command, then assume that the touch system only supports SFP.
The error code for an invalid command (0AH) is returned in the error
report that is sent the next time the host sends the Get_Error_Report
(32H) SFP command.
If report transfer is disabled when the touch system is switched to
SFP-II, any SFP reports that are pending at that time are sent before the
SFP-II Protocol Version Report is sent. The state of the Report Transfer
parameter remains set to disabled.
Examples
While in the SFP, the host sends the SwitchToSFP-II command as
follows:
65
Содержание TouchSystems CarrollTouch Prog
Страница 1: ...CARROLL TOUCH TOUCH PRODUCTS an company AMP Touch System Programmer s Guide ...
Страница 11: ...Table of Contents CARROLL TOUCH viii ...
Страница 13: ...Table of Contents CARROLL TOUCH x ...
Страница 17: ...Welcome CARROLL TOUCH xiv Touch System Programmer s Guide ...
Страница 25: ...Chapter 1 Introduction to Infrared Touch Systems CARROLL TOUCH 1 8 Touch System Programmer s Guide ...
Страница 29: ...Chapter 2 Introduction to Guided Wave Touch Systems CARROLL TOUCH 2 4 Touch System Programmer s Guide ...
Страница 41: ...Chapter 3 General Programming Issues CARROLL TOUCH 3 12 Touch System Programmer s Guide ...
Страница 57: ...Chapter 4 Smart Frame Protocol CARROLL TOUCH 4 16 Touch System Programmer s Guide ...
Страница 87: ...Chapter 6 Touch Application Program Interface TAPI CARROLL TOUCH 6 10 Touch System Programmer s Guide ...
Страница 149: ...Appendix A Smart Frame Protocol Command Reference CARROLL TOUCH A 40 Touch System Programmer s Guide ...
Страница 179: ...Appendix B Smart Frame Protocol II Function Reference CARROLL TOUCH B 30 Touch System Programmer s Guide ...
Страница 237: ...Appendix D CTKERN Function Reference CARROLL TOUCH D 42 Touch System Programmer s Guide ...