Overview   Project   Class   Tree   Index 
NXT C++ Bluetooth Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

NXT C++ Bluetooth Library
Enum Nxt_errors

   in error.h

Error code enumeration (error code list)

See Also:

Field Summary
BT_ERROR_READING_COM_PORT = 0x0103
          Bluetooth error: Error receiving
BT_ERROR_WRITING_COM_PORT = 0x0102
          Bluetooth error: Error sending
BT_INVALID_COM_PORT = 0x0101
          Bluetooth error: Invalid COM port specified
BT_NO_REPLY = 0x0104
          Bluetooth error: No reply from the NXT
BT_NOT_ENOUGH_BYTES = 0x0105
          Bluetooth error: Didn't recieved enough bytes from the NXT
BT_UNABLE_TO_CONNECT = 0x0106
          Bluetooth error: Unsable to connect
NETWORK_COM_ERROR = 0x0160
          Network error: Network communication error
NXT_APPEND_NOT_POSSIBLE = 0x008D
          NXT error: Unable to append
NXT_BAD_ARGUMENTS = 0x00FF
          NXT error: Bad arguments
NXT_BAD_INPUT_OUTPUT = 0x00F0
          NXT error: Bad input or output specified
NXT_BUFFER_FULL = 0x00DE
          NXT error: No free memory in communication buffer
NXT_CHANNEL_BUSY = 0x00E0
          NXT error: Specified channel/connection not configured or busy
NXT_COMMUNICATION_BUS_ERROR = 0x00DD
          NXT error: Communication bus error
NXT_DATA_OUT_OF_RANGE = 0x00C0
          NXT error: Data contains out-of-range value
NXT_END_OF_FILE = 0x0085
          NXT error: EOF
NXT_END_OF_FILE_EXPECTED = 0x0084
          NXT error: EOF expected
NXT_FILE_BUSY = 0x008B
          NXT error: File is busy
NXT_FILE_EXISTS = 0x008F
          NXT error: File already exists
NXT_FILE_IS_FULL = 0x008E
          NXT error: File is full
NXT_FILE_NOT_FOUND = 0x0087
          NXT error: File not found
NXT_HANDLE_ALREADY_CLOSED = 0x0088
          NXT error: File is already closed
NXT_I2C_TIMEOUT = 0x0021
          NXT error: Bytes/answer from I2C sensor not ready which resulted in a timeout
NXT_ILLEGAL_FILE_NAME = 0x0092
          NXT error: Filename specified is illegal
NXT_ILLEGAL_HANDLE = 0x0093
          NXT error: Filehandle specified is illegal
NXT_ILLEGAL_SIZE = 0x00ED
          NXT error: Illegal size specified
NXT_INSANE_PACKET = 0x00BF
          NXT error: Insane packet
NXT_INVALID_CHANNEL = 0x00DF
          NXT error: Specified channel/connection is not valid
NXT_INVALID_FIELD = 0x00EF
          NXT error: Attempted to access invalid field of a structure
NXT_INVALID_MAILBOX_QUEUE = 0x00EE
          NXT error: Illegal mailbox queue ID specified
NXT_MAILBOX_QUEUE_EMPTY = 0x0040
          NXT error: Specified mailbox queue is empty
NXT_MODULE_NOT_FOUND = 0x0090
          NXT error: Module not found
NXT_NO_ACTIVE_PROGRAM = 0x00EC
          NXT error: No active program is running
NXT_NO_LINEAR_SPACE = 0x0089
          NXT error: No linear space
NXT_NO_MORE_FILES = 0x0083
          NXT error: No more files can be created
NXT_NO_MORE_HANDLES = 0x0081
          No more handles
NXT_NO_SPACE = 0x0082
          NXT error: No more space in flash
NXT_NO_WRITE_BUFFERS = 0x008C
          NXT error: No write buffers
NXT_NOT_A_LINEAR_FILE = 0x0086
          NXT error: File specified is not linear
NXT_OUT_OF_BOUNDARY = 0x0091
          NXT error: Out of boundary
NXT_OUT_OF_MEMORY = 0x00FB
          NXT error: Insufficient memory available
NXT_PENDING_COMMUNICATION = 0x0020
          NXT error: Pending communication transaction in progress
NXT_REQUEST_FAILED = 0x00BD
          NXT error: Request failed (i.e. specified file not found)
NXT_UNDEFINED_FILE_ERROR = 0x008A
          NXT error: Undefined file error occurred
NXT_UNKNOW_COMMAND = 0x00BE
          NXT error: Unknown command opcode
PC_FILE_IO_ERROR = 0x0150
          PC-file error: Unable to read or write to file PC
SERVER_BANNED = 0x0008
          Server error: Server rejected IP address
SERVER_BT_BUSSY = 0x0005
          Server error: Bluetooth link on server is bussy
SERVER_BT_ERROR = 0x0004
          Server error: Server encountered an Bluetooth communication error
SERVER_BT_NOT_ENOUGH_BYTES = 0x0006
          Server error: Server didn't recieved enough bytes from the NXT
SERVER_FULL = 0x0002
          Server error: Server is full - connection was rejected
SERVER_LOST_NXT = 0x0003
          Server error: Server lost connection with NXT
SERVER_PASSWORD_FAIL = 0x0007
          Server error: Server rejected password
 

Field Detail

BT_ERROR_READING_COM_PORT

public BT_ERROR_READING_COM_PORT = 0x0103
Bluetooth error: Error receiving

BT_ERROR_WRITING_COM_PORT

public BT_ERROR_WRITING_COM_PORT = 0x0102
Bluetooth error: Error sending

BT_INVALID_COM_PORT

public BT_INVALID_COM_PORT = 0x0101
Bluetooth error: Invalid COM port specified

BT_NO_REPLY

public BT_NO_REPLY = 0x0104
Bluetooth error: No reply from the NXT

BT_NOT_ENOUGH_BYTES

public BT_NOT_ENOUGH_BYTES = 0x0105
Bluetooth error: Didn't recieved enough bytes from the NXT

BT_UNABLE_TO_CONNECT

public BT_UNABLE_TO_CONNECT = 0x0106
Bluetooth error: Unsable to connect

NETWORK_COM_ERROR

public NETWORK_COM_ERROR = 0x0160
Network error: Network communication error

NXT_APPEND_NOT_POSSIBLE

public NXT_APPEND_NOT_POSSIBLE = 0x008D
NXT error: Unable to append

NXT_BAD_ARGUMENTS

public NXT_BAD_ARGUMENTS = 0x00FF
NXT error: Bad arguments

NXT_BAD_INPUT_OUTPUT

public NXT_BAD_INPUT_OUTPUT = 0x00F0
NXT error: Bad input or output specified

NXT_BUFFER_FULL

public NXT_BUFFER_FULL = 0x00DE
NXT error: No free memory in communication buffer

NXT_CHANNEL_BUSY

public NXT_CHANNEL_BUSY = 0x00E0
NXT error: Specified channel/connection not configured or busy

NXT_COMMUNICATION_BUS_ERROR

public NXT_COMMUNICATION_BUS_ERROR = 0x00DD
NXT error: Communication bus error

NXT_DATA_OUT_OF_RANGE

public NXT_DATA_OUT_OF_RANGE = 0x00C0
NXT error: Data contains out-of-range value

NXT_END_OF_FILE

public NXT_END_OF_FILE = 0x0085
NXT error: EOF

NXT_END_OF_FILE_EXPECTED

public NXT_END_OF_FILE_EXPECTED = 0x0084
NXT error: EOF expected

NXT_FILE_BUSY

public NXT_FILE_BUSY = 0x008B
NXT error: File is busy

NXT_FILE_EXISTS

public NXT_FILE_EXISTS = 0x008F
NXT error: File already exists

NXT_FILE_IS_FULL

public NXT_FILE_IS_FULL = 0x008E
NXT error: File is full

NXT_FILE_NOT_FOUND

public NXT_FILE_NOT_FOUND = 0x0087
NXT error: File not found

NXT_HANDLE_ALREADY_CLOSED

public NXT_HANDLE_ALREADY_CLOSED = 0x0088
NXT error: File is already closed

NXT_I2C_TIMEOUT

public NXT_I2C_TIMEOUT = 0x0021
NXT error: Bytes/answer from I2C sensor not ready which resulted in a timeout

NXT_ILLEGAL_FILE_NAME

public NXT_ILLEGAL_FILE_NAME = 0x0092
NXT error: Filename specified is illegal

NXT_ILLEGAL_HANDLE

public NXT_ILLEGAL_HANDLE = 0x0093
NXT error: Filehandle specified is illegal

NXT_ILLEGAL_SIZE

public NXT_ILLEGAL_SIZE = 0x00ED
NXT error: Illegal size specified

NXT_INSANE_PACKET

public NXT_INSANE_PACKET = 0x00BF
NXT error: Insane packet

NXT_INVALID_CHANNEL

public NXT_INVALID_CHANNEL = 0x00DF
NXT error: Specified channel/connection is not valid

NXT_INVALID_FIELD

public NXT_INVALID_FIELD = 0x00EF
NXT error: Attempted to access invalid field of a structure

NXT_INVALID_MAILBOX_QUEUE

public NXT_INVALID_MAILBOX_QUEUE = 0x00EE
NXT error: Illegal mailbox queue ID specified

NXT_MAILBOX_QUEUE_EMPTY

public NXT_MAILBOX_QUEUE_EMPTY = 0x0040
NXT error: Specified mailbox queue is empty

NXT_MODULE_NOT_FOUND

public NXT_MODULE_NOT_FOUND = 0x0090
NXT error: Module not found

NXT_NO_ACTIVE_PROGRAM

public NXT_NO_ACTIVE_PROGRAM = 0x00EC
NXT error: No active program is running

NXT_NO_LINEAR_SPACE

public NXT_NO_LINEAR_SPACE = 0x0089
NXT error: No linear space

NXT_NO_MORE_FILES

public NXT_NO_MORE_FILES = 0x0083
NXT error: No more files can be created

NXT_NO_MORE_HANDLES

public NXT_NO_MORE_HANDLES = 0x0081
No more handles

NXT_NO_SPACE

public NXT_NO_SPACE = 0x0082
NXT error: No more space in flash

NXT_NO_WRITE_BUFFERS

public NXT_NO_WRITE_BUFFERS = 0x008C
NXT error: No write buffers

NXT_NOT_A_LINEAR_FILE

public NXT_NOT_A_LINEAR_FILE = 0x0086
NXT error: File specified is not linear

NXT_OUT_OF_BOUNDARY

public NXT_OUT_OF_BOUNDARY = 0x0091
NXT error: Out of boundary

NXT_OUT_OF_MEMORY

public NXT_OUT_OF_MEMORY = 0x00FB
NXT error: Insufficient memory available

NXT_PENDING_COMMUNICATION

public NXT_PENDING_COMMUNICATION = 0x0020
NXT error: Pending communication transaction in progress

NXT_REQUEST_FAILED

public NXT_REQUEST_FAILED = 0x00BD
NXT error: Request failed (i.e. specified file not found)

NXT_UNDEFINED_FILE_ERROR

public NXT_UNDEFINED_FILE_ERROR = 0x008A
NXT error: Undefined file error occurred

NXT_UNKNOW_COMMAND

public NXT_UNKNOW_COMMAND = 0x00BE
NXT error: Unknown command opcode

PC_FILE_IO_ERROR

public PC_FILE_IO_ERROR = 0x0150
PC-file error: Unable to read or write to file PC

SERVER_BANNED

public SERVER_BANNED = 0x0008
Server error: Server rejected IP address

SERVER_BT_BUSSY

public SERVER_BT_BUSSY = 0x0005
Server error: Bluetooth link on server is bussy

SERVER_BT_ERROR

public SERVER_BT_ERROR = 0x0004
Server error: Server encountered an Bluetooth communication error

SERVER_BT_NOT_ENOUGH_BYTES

public SERVER_BT_NOT_ENOUGH_BYTES = 0x0006
Server error: Server didn't recieved enough bytes from the NXT

SERVER_FULL

public SERVER_FULL = 0x0002
Server error: Server is full - connection was rejected

SERVER_LOST_NXT

public SERVER_LOST_NXT = 0x0003
Server error: Server lost connection with NXT

SERVER_PASSWORD_FAIL

public SERVER_PASSWORD_FAIL = 0x0007
Server error: Server rejected password

 Overview   Project   Class   Tree   Index 
NXT C++ Bluetooth Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD