;------------------------------------------------------------------------
; Btlapmdm9x.INF
; IVT Bluetooth LAP Medem Installation Script
; For Windows98SE/ME
;
; Copyright (c) 2000-2004, IVT Corporation.
; http://www.ivtcorporation.com
;
;------------------------------------------------------------------------

[Version]
Signature="$CHICAGO$"
Class=Modem
ClassGUID={4D36E96D-E325-11CE-BFC1-08002BE10318}
Provider=%IVT%
LayoutFile=LAYOUT.INF
DriverVer=01/07/2002

[Manufacturer]
%STD% = STD

[STD]
%STDBTNULC% = STDBTNULC, MDMBTNULLC
%STDBTNULS% = STDBTNULS, MDMBTNULLS

[STDBTNULC]
AddReg=All, Common, STDBTNULRegC, 115200, EXTERNAL

[STDBTNULS]
AddReg=All, STDBTNULRegS, 115200, SERIAL

[All]
HKR,,FriendlyDriver,,Unimodem.vxd
HKR,,DevLoader,,*VCOMM
HKR,,PortSubClass,1,02
HKR,,ConfigDialog,,modemui.dll
HKR,,EnumPropPages,,"modemui.dll,EnumPropPages"

[EXTERNAL]
HKR,, DeviceType, 1, 01

[SERIAL]
HKR,, DeviceType, 1, 00

[Common]
HKR, Answer, 1,,""
HKR, Hangup, 1,, "Bye"
HKR, Hangup, 2,, "NoResponse"
HKR, Settings, DialSuffix,, ""

; DCB's - dwords and words are byte reversed
; ByteSize (Number of bits/byte, 4-8)
; Parity (0-4=None,Odd,Even,Mark,Space)
; StopBits (0,1,2 = 1, 1.5, 2)
; |DCBLength   |BaudRate    |Bit Mask    |Rsvd  |XonLim|XofLim|   |   |   |Xon|Xof|Err|Eof|Evt
[115200]
HKR,, DCB, 1, 1C,00,00,00, 00,c2,01,00, 15,20,00,00, 00,00, 0a,00, 0a,00, 08, 00, 00, 11, 13, 00, 00, 00

[STDBTNULRegC] ; Null-Modem - send carriage return first
HKR, Init, 1,, "CLIENT"
HKR, Init, 2,, "NoResponse"
HKR, Settings, Prefix,,""
HKR, Settings, DialPrefix,, "<cr>"
HKR, Settings, Terminator,, "<cr>"
HKR, Monitor, 1,, "None"
HKR, Answer, 1,, "<cr>"
HKR, Answer, 2,, "NoResponse"
; Properties - dwords and words are byte reversed
; |Dial Options             |InactivityTimeout        |Speaker Mode             |Max DTE Rate
; |CallSetupFailTimeout     |Speaker Volume           |Modem Options            |Max DCE Rate
HKR,, Properties, 1, 00,00,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00, 30,00,00,00, 00,c2,01,00, 00,c2,01,00
HKR, Responses, "CLIENTSERVER", 1, 0, 00, 00, 00, 00, 00, 00,00,00,00 ; Accept this string as CONNECTED.

[STDBTNULRegS] ; Null-Modem
HKR, Init, 1,, "None"
HKR, Init, 1,, "CLIENT"
HKR, Init, 2,, "NoResponse"
HKR, Monitor, 1,, "None"
HKR, Answer, 1,, "CLIENTSERVER"
HKR, Answer, 2,, "NoResponse"
HKR, Settings, DialPrefix,, "CLIENT"
HKR,, Properties, 1, 00,00,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00, 30,00,00,00, 00,c2,01,00, 00,c2,01,00
HKR, Responses, "CLIENT",       1, 08, 00, 00, 00, 00, 00, 00,00,00,00 ; Server side - the client is requesting a connection
HKR, Responses, "<h00>CLIENT",  1, 08, 00, 00, 00, 00, 00, 00,00,00,00 ; Server side - the client is requesting a connection
HKR, Responses, "CLIENTSERVER", 1, 02, 00, 00, 00, 00, 00, 00,00,00,00 ; Client side - the server has acknowledged and the connection is completed


[Strings]
IVT = "IVT Corporation"
STD = "IVT Corporation"
STDBTNULC = "Bluetooth LAP Modem(Client)"
STDBTNULS = "Bluetooth LAP Modem(Server)"