RING
Name
RING -- Another device is calling you
Synopsis
This is not a command.
Description
The RING reply
indicates an incoming call from a remote device. As with
CONNECT,
on RFCOMM/L2CAP calls there is an additional "port"
parameter. Open a socket to the port, if you want to serve
this call. PPP and PAN calls are handled internally, which
means that you do not have to do anything on them. The iWRAP
server closes the connection if nobody grabs the call within
30 seconds.
Special call type REJECTED is used for information only.
It is used if somebody tried to call you but was rejected,
usually because of failing authentication.
Reply
RING link_id bdaddr channel PPP
RING link_id bdaddr channel RFCOMM port
RING link_id bdaddr psm L2CAP port
RING link_id bdaddr PAN-PANU
RING link_id bdaddr PAN-GN
RING link_id bdaddr PAN-NAP
RING link_id bdaddr REJECTED
|
Example
READY.
RING 0 00:07:80:80:bf:01 4 PPP
RING 1 00:07:80:80:bf:01 1 RFCOMM 1042
<Client can open socket connection to port 1042>
RING 2 00:07:80:80:bf:01 PAN-GN
|