![Bluegiga IWIP3G - IWRAP - IPHONE 3G Скачать руководство пользователя страница 195](http://html1.mh-extra.com/html/bluegiga/iwip3g-iwrap-iphone-3g/iwip3g-iwrap-iphone-3g_user-manual_2777547195.webp)
195
12.7
iWRAP to iWRAP Serial Port P SCO connection
iWRAP also supports SCO (audio) connections. This example shows how to open a
simultaneous Serial Port Profile and SCO audio connection between two iWRAP modules.
Host
iWRAP
iWRAP
Host
On
e t
ime
ini
tia
liza
ti
on
SET BT AUTH * {
pin
}
SCO ENABLE
CALL {
bd_addr
} 1101
RFCOMM
On
e t
im
e
in
it
ia
liza
ti
o
n
SET BT AUTH * {
pin
}
SCO ENABLE
Open Bluetooth connection
Connection successful
CALL {
link_id
}
CONNECT {
link_id
}
RFCOMM {
channel
}
RING {
link_id
} {
bd_addr
}
{
channel
} RFCOMM
Mode switch to data mode
Raise PIO7
Execute ”SCO OPEN 0"
SET CONTROL CD 80
SET CONTROL BIND 0 80
RISE SCO OPEN 0
Transparent data link
SCO audio link
Figure 15:
Simultaneous SPP and SCO connection between two iWRAP modules
SET CONTROL CD 80
This configuration enables Carrier Detect (CD) signal to PIO7. The purpose is to raise PIO7
when the Serial Port Profile connection becomes active.
SCO ENABLE
This command is needed to generally enable SCO connections. Alternatively one time
configuration
SET CONTROL INIT SCO ENABLE
could be use, which causes iWRAP to
execute
SCO ENABLE
in every restart. If HFP profile is enabled
SCO ENABLE
is not
needed
SET CONTROL BIND 0 80 RISE SCO OPEN 0
This setting binds
SCO OPEN 0
command to PIO7. The command gets priority 0 and is
executed on the rising edge. So when PIO7 is raised by
SET CONTROL CD
command
iWRAP executed
SCO OPEN 0
and opens and activates SCO connection between the
iWRAP modules. This setting assumes (0 used as link_id) that the Serial Port Profile
connection is the first and only connection iWRAP has. Alternatively the command could be
given manually to iWRAP using syntax
SCO OPEN {link_id}
.
Содержание IWIP3G - IWRAP - IPHONE 3G
Страница 1: ...iWRAP3 U s e r G u i d e V e r s i o n 1 3 F r i d a y S e p t e m b e r 2 6 2 0 0 8...
Страница 31: ...31 INQUIRY 3 INQUIRY 00 18 42 f1 a5 be 5a020c INQUIRY 00 17 e4 ef f9 01 50020c INQUIRY 00 07 80 87 68 ec 200428...
Страница 33: ...33 Note IC command cancels the inquiry only if issued before the INQUIRY num_of_devices message...
Страница 116: ...116 6 18 2 Examples How to disable default escape character and configure DTR to PIO5 SET CONTROL ESCAPE 20 1...
Страница 169: ...169 9 7 RS232 Connections Diagram Figure 7 RS232 connections...
Страница 187: ...187 Example trace of file reception via OPP Figure 12 Receiving a vCard over OPP...
Страница 197: ...197 Figure 17 MSC signal directions...