Main Page Namespace List Compound List File List Namespace Members Compound Members

# nFANTOM100 Namespace Reference

The namespace for Fantom 1.0. More...

## Compounds

class | nFANTOM100::iFile
| Interface to a file on a LEGO MINDSTORMS NXT. More...
class | nFANTOM100::iFileIterator
| Interface to an iterator for files on a LEGO MINDSTORMS NXT. More...
class | nFANTOM100::iModule
| Interface to a firmware module on a LEGO MINDSTORMS NXT. More...
class | nFANTOM100::iModuleIterator
| Interface to an iterator for firmware modules on a LEGO MINDSTORMS NXT. More...
class | nFANTOM100::iNXT
| Interface to a LEGO MINDSTORMS NXT. More...
class | nFANTOM100::iNXTIterator
| Interface to an iterator for LEGO MINDSTORMS NXTs. More...
class | nFANTOM100::tStatus
| Class that contains a status code and the file name and line number where that status code was generated. More...

## Enumerations

enum

tFANTOMStatus {
kStatusFirst = (kStatusOffset + 0),
kStatusPairingFailed = (kStatusOffset + -5),
kStatusBluetoothSearchFailed = (kStatusOffset + -6),
kStatusSystemLibraryNotFound = (kStatusOffset + -7),
kStatusUnpairingFailed = (kStatusOffset + -8),
kStatusInvalidFilename = (kStatusOffset + -9),
kStatusInvalidIteratorDereference = (kStatusOffset + -10),
kStatusLockOperationFailed = (kStatusOffset + -11),
kStatusSizeUnknown = (kStatusOffset + -12),
kStatusDuplicateOpen = (kStatusOffset + -13),
kStatusEmptyFile = (kStatusOffset + -14),
kStatusFirmwareDownloadFailed = (kStatusOffset + -15),
kStatusPortNotFound = (kStatusOffset + -16),
kStatusNoMoreItemsFound = (kStatusOffset + -17),
kStatusTooManyUnconfiguredDevices = (kStatusOffset + -18),
kStatusCommandMismatch = (kStatusOffset + -19),
kStatusIllegalOperation = (kStatusOffset + -20),
kStatusBluetoothCacheUpdateFailed = (kStatusOffset + -21),
kStatusNonNXTDeviceSelected = (kStatusOffset + -22),
kStatusRetryConnection = (kStatusOffset + -23),
kStatusPowerCycleNXT = (kStatusOffset + -24),
kStatusFeatureNotImplemented = (kStatusOffset + -99),
kStatusFWIllegalHandle = (kStatusOffset + -189),
kStatusFWIllegalFileName = (kStatusOffset + -190),
kStatusFWOutOfBounds = (kStatusOffset + -191),
kStatusFWModuleNotFound = (kStatusOffset + -192),
kStatusFWFileExists = (kStatusOffset + -193),
kStatusFWFileIsFull = (kStatusOffset + -194),
kStatusFWAppendNotPossible = (kStatusOffset + -195),
kStatusFWNoWriteBuffers = (kStatusOffset + -196),
kStatusFWFileIsBusy = (kStatusOffset + -197),
kStatusFWUndefinedError = (kStatusOffset + -198),
kStatusFWNoLinearSpace = (kStatusOffset + -199),
kStatusFWHandleAlreadyClosed = (kStatusOffset + -200),
kStatusFWFileNotFound = (kStatusOffset + -201),
kStatusFWNotLinearFile = (kStatusOffset + -202),
kStatusFWEndOfFile = (kStatusOffset + -203),
kStatusFWEndOfFileExpected = (kStatusOffset + -204),
kStatusFWNoMoreFiles = (kStatusOffset + -205),
kStatusFWNoSpace = (kStatusOffset + -206),
kStatusFWNoMoreHandles = (kStatusOffset + -207),
kStatusFWUnknownErrorCode = (kStatusOffset + -208),
kStatusLast = (kStatusOffset + -999)
}

| Enumeration of Fantom-specific status codes. NI-VISA status codes may also be returned. These are documented in the NI-VISA Programmer Reference Manual which is available from <http://ni.com/>. More...

## Functions

ViStatus | convertStatus (ViUInt8 firmwareStatus)

## Variables

const ViUInt8 | kProtocolFilenameLength = 19
const ViInt32 | kStatusOffset = -142000
const ViStatus | kStatusSuccess = VI_SUCCESS

## Detailed Description

The namespace for Fantom 1.0.

## Enumeration Type Documentation

enum nFANTOM100::tFANTOMStatus

Enumeration of Fantom-specific status codes. NI-VISA status codes may also be returned. These are documented in the NI-VISA Programmer Reference Manual which is available from <http://ni.com/>.

Enumeration values:

  kStatusPairingFailed | Error: Bluetooth pairing operation failed. Warning: You have already paired with that Bluetooth device.
  kStatusBluetoothSearchFailed | Error: Bluetooth search failed.
  kStatusSystemLibraryNotFound | Error: System library not found.
  kStatusUnpairingFailed | Error: Bluetooth unpairing operation failed.
  kStatusInvalidFilename | Error: Invalid filename specified.
  kStatusInvalidIteratorDereference | Error: Invalid iterator dereference. (No object to get.).
  kStatusLockOperationFailed | Error: Resource locking operation failed.
  kStatusSizeUnknown | Error: Could not determine the requested size.
  kStatusDuplicateOpen | Error: Cannot open two objects at once.
  kStatusEmptyFile | Error: File is empty. Warning: The requested file is empty.
  kStatusFirmwareDownloadFailed | Error: Firmware download failed.
  kStatusPortNotFound | Error: Could not locate virtual serial port.
  kStatusNoMoreItemsFound | Error: No more items found.
  kStatusTooManyUnconfiguredDevices | Error: Too many unconfigured devices.
  kStatusCommandMismatch | Error: Command mismatch in firmware response.
  kStatusIllegalOperation | Error: Illegal operation.
  kStatusBluetoothCacheUpdateFailed | Error: Could not update local Bluetooth cache with new name. Warning: Could not update local Bluetooth cache with new name.
  kStatusNonNXTDeviceSelected | Error: Selected device is not an NXT.
  kStatusRetryConnection | Error: Communication error. Retry the operation.
  kStatusPowerCycleNXT | Error: Could not connect to NXT. Turn the NXT off and then back on before continuing.
  kStatusFeatureNotImplemented | Error: This feature is not yet implemented.
  kStatusFWIllegalHandle | Error: Firmware reported an illegal handle.
  kStatusFWIllegalFileName | Error: Firmware reported an illegal file name.
  kStatusFWOutOfBounds | Error: Firmware reported an out of bounds reference.
  kStatusFWModuleNotFound | Error: Firmware could not find module.
  kStatusFWFileExists | Error: Firmware reported that the file already exists.
  kStatusFWFileIsFull | Error: Firmware reported that the file is full.
  kStatusFWAppendNotPossible | Error: Firmware reported the append operation is not possible.
  kStatusFWNoWriteBuffers | Error: Firmware has no write buffers available.
  kStatusFWFileIsBusy | Error: Firmware reported that file is busy.
  kStatusFWUndefinedError | Error: Firmware reported the undefined error.
  kStatusFWNoLinearSpace | Error: Firmware reported that no linear space is available.
  kStatusFWHandleAlreadyClosed | Error: Firmware reported that handle has already been closed.
  kStatusFWFileNotFound | Error: Firmware could not find file.
  kStatusFWNotLinearFile | Error: Firmware reported that the requested file is not linear.
  kStatusFWEndOfFile | Error: Firmware reached the end of the file.
  kStatusFWEndOfFileExpected | Error: Firmware expected an end of file.
  kStatusFWNoMoreFiles | Error: Firmware cannot handle more files.
  kStatusFWNoSpace | Error: Firmware reported the NXT is out of space.
  kStatusFWNoMoreHandles | Error: Firmware could not create a handle.
  kStatusFWUnknownErrorCode | Error: Firmware reported an unknown error code.

© Copyright 2005-2006, National Instruments Corporation. All rights reserved.