User Manual

Table Of Contents
Chapter 7. iWRAP - Bluetooth Interface
Code Textual Form Reason
906 BUSY Tried to issue SDPQUERY, but another
SDP request was in progress.
907 NOT_CONNECTED Tried to CLOSE a connection handle
that is not active.
908 BUSY Tried to issue SDPSEARCH, but
another SDP request was in progress.
909 INVALID_ADDRESS Tried to NAME a device with a friendly
name that cannot be found with the
inquiry.
90a BUSY Tried to issue NAME, but another
NAME was in progress.
Table 7-5. iWRAP Errors
Other error codes can be analyzed as follows. For example, NO CARRIER ERROR 465: The num-
ber 465 is hexadecimal, the sum of 0x400 and 0x65, where 0x400 is a mask, which means that this
is an RFCOMM level error. 0x65 (decimal 101) means that the RFCOMM error was a connection
timeout.
Mask Error level
0x100 HCI
0x200 L2CAP
0x300 SDP
0x400 RFCOMM
Table 7-6. Errors Masks
The error codes for each mask are listed in the following tables.
HCI Error Code
HCI_SUCCESS 0
HCI_ERR_UNKNOWN_COMMAND 1
HCI_ERR_NOCONNECTION 2
HCI_ERR_HARDWARE_FAIL 3
HCI_ERR_PAGE_TIMEOUT 4
HCI_ERR_AUTHENTICATION_FAILED 5
HCI_ERR_KEY_MISSING 6
HCI_ERR_MEMORY_FULL 7
HCI_ERR_CONNECTION_TIMEOUT 8
HCI_ERR_MAX_NUM_CONNECTIONS 9
HCI_ERR_MAX_NUM_SCO_CONNECTIONS 10
HCI_ERR_ACL_CONN_ALREADY_EXISTS 11
HCI_ERR_COMMAND_DISALLOWED 12
115