Programming Manual

i480e&i480e-MD2 Programming Manual
83 / 139
spp_connect_normal_disconnect, /*! The remote device terminated the
connection. */
spp_connect_abnormal_disconnect, /*! Unsuccessful due to an
abnormal disconnect while establishing
the RFCOMM connection. */
spp_connect_rfcomm_channel_already_open, /*! The connection attempt
failed because there is already a
connection to that remote device on the
requested RFCOMM channel. */
spp_connect_invalid_frame_size /*! Connect failed due to invalid frame
size request from app. */
} spp_connect_status
16.1.2 SPP Disconnect Status
typedef enum
{
spp_disconnect_success, /*! Successful disconnection. */
spp_disconnect_link_loss, /*! Disconnection ocurred due to link loss. */
spp_disconnect_no_slc, /*! Disconnect attempt failed, no service level
connection. */
spp_disconnect_timeout, /*! Disconnect time out. */
spp_disconnect_error, /*! Unsuccessful for some other reason. */
} spp_disconnect_status;
16.2
SPPCONN
The SPPCONN command is used to establish a SPP connection with a remote
device.
Command
AT+B SPPCONN [bd]
Response
AT-B SPPCONN [status], [bd]
Parameters
bd
Remote Bluetooth device address.
status
Values in the chapter 16.1.1.
Note
N/A
Barrot Confidential