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

# iNXT.h File Reference

Interface for a LEGO MINDSTORMS NXT and declaration of its factory. More...

`#include "platform.h"`
`#include "iFile.h"`
`#include "iFileIterator.h"`
`#include "iModule.h"`
`#include "iModuleIterator.h"`
`#include "iNXTIterator.h"`

Go to the source code of this file.

## Namespaces
namespace | nFANTOM100
## Compounds
class | nFANTOM100::iNXT
| Interface to a LEGO MINDSTORMS NXT. More...
## Typedefs
typedef ViObject | nFANTOM100_iNXT
## Functions
nFANTOM100_kExport nFANTOM100_iNXTIterator _VI_FUNCC | nFANTOM100_createNXTIterator (ViBoolean searchBluetooth, ViUInt32 bluetoothSearchTimeoutInSeconds, ViStatus *status)
nFANTOM100_kExport void _VI_FUNCC | nFANTOM100_destroyNXTIterator (nFANTOM100_iNXTIterator iterPtr, ViStatus *status)
nFANTOM100_kExport void _VI_FUNCC | nFANTOM100_pairBluetooth (ViConstString resourceName, ViConstString passkey, ViChar pairedResourceName[], ViStatus *status)
nFANTOM100_kExport void _VI_FUNCC | nFANTOM100_unpairBluetooth (ViConstString resourceName, ViStatus *status)
nFANTOM100_kExport ViBoolean _VI_FUNCC | nFANTOM100_isPaired (ViConstString resourceName, ViStatus *status)
nFANTOM100_kExport nFANTOM100_iNXT _VI_FUNCC | nFANTOM100_createNXT (ViConstString resourceString, ViStatus *status, ViBoolean checkFirmwareVersion)
nFANTOM100_kExport void _VI_FUNCC | nFANTOM100_destroyNXT (nFANTOM100_iNXT nxtPtr, ViStatus *status)
nFANTOM100_kExport nFANTOM100_iFile _VI_FUNCC | nFANTOM100_iNXT_createFile (nFANTOM100_iNXT nxtPtr, ViConstString fileName, ViStatus *status)
nFANTOM100_kExport void _VI_FUNCC | nFANTOM100_iNXT_destroyFile (nFANTOM100_iNXT nxtPtr, nFANTOM100_iFile filePtr, ViStatus *status)
nFANTOM100_kExport nFANTOM100_iFileIterator _VI_FUNCC | nFANTOM100_iNXT_createFileIterator (nFANTOM100_iNXT nxtPtr, ViConstString fileNamePattern, ViStatus *status)
nFANTOM100_kExport void _VI_FUNCC | nFANTOM100_iNXT_destroyFileIterator (nFANTOM100_iNXT nxtPtr, nFANTOM100_iFileIterator fileIteratorPtr, ViStatus *status)
nFANTOM100_kExport nFANTOM100_iModule _VI_FUNCC | nFANTOM100_iNXT_createModule (nFANTOM100_iNXT nxtPtr, ViConstString moduleName, ViUInt32 moduleID, ViUInt32 moduleSize, ViUInt32 ioMapSizeInBytes, ViStatus *status)
nFANTOM100_kExport void _VI_FUNCC | nFANTOM100_iNXT_destroyModule (nFANTOM100_iNXT nxtPtr, nFANTOM100_iModule modulePtr, ViStatus *status)
nFANTOM100_kExport nFANTOM100_iModuleIterator _VI_FUNCC | nFANTOM100_iNXT_createModuleIterator (nFANTOM100_iNXT nxtPtr, ViConstString moduleNamePattern, ViStatus *status)
nFANTOM100_kExport void _VI_FUNCC | nFANTOM100_iNXT_destroyModuleIterator (nFANTOM100_iNXT nxtPtr, nFANTOM100_iModuleIterator moduleIteratorPtr, ViStatus *status)
nFANTOM100_kExport void _VI_FUNCC | nFANTOM100_iNXT_getFirmwareVersion (nFANTOM100_iNXT nxtPtr, ViUInt8 *protocolVersionMajorPtr, ViUInt8 *protocolVersionMinorPtr, ViUInt8 *firmwareVersionMajorPtr, ViUInt8 *firmwareVersionMinorPtr, ViStatus *status)
nFANTOM100_kExport ViUInt32 _VI_FUNCC | nFANTOM100_iNXT_sendDirectCommand (nFANTOM100_iNXT nxtPtr, ViBoolean requireResponse, const ViByte commandBufferPtr[], ViUInt32 commandBufferSizeInBytes, ViPBuf responseBufferPtr, ViUInt32 responseBufferSizeInBytes, ViStatus *status)
nFANTOM100_kExport void _VI_FUNCC | nFANTOM100_iNXT_findDeviceInFirmwareDownloadMode (ViChar resourceString[], ViStatus *status)
nFANTOM100_kExport void _VI_FUNCC | nFANTOM100_iNXT_downloadFirmware (nFANTOM100_iNXT nxtPtr, const ViByte firmwareBufferPtr[], ViUInt32 firmwareBufferSize, ViStatus *status)
nFANTOM100_kExport ViUInt32 _VI_FUNCC | nFANTOM100_iNXT_write (nFANTOM100_iNXT nxtPtr, const ViByte bufferPtr[], ViUInt32 numberOfBytes, ViStatus *status)
nFANTOM100_kExport ViUInt32 _VI_FUNCC | nFANTOM100_iNXT_read (nFANTOM100_iNXT nxtPtr, ViPBuf bufferPtr, ViUInt32 numberOfBytes, ViStatus *status)
nFANTOM100_kExport void _VI_FUNCC | nFANTOM100_iNXT_bootIntoFirmwareDownloadMode (ViConstString resouceName, ViStatus *status)
nFANTOM100_kExport void _VI_FUNCC | nFANTOM100_iNXT_setName (nFANTOM100_iNXT nxtPtr, ViConstString newName, ViStatus *status)
nFANTOM100_kExport void _VI_FUNCC | nFANTOM100_iNXT_getDeviceInfo (nFANTOM100_iNXT nxtPtr, ViChar name[], ViByte bluetoothAddress[], ViUInt8 signalStrength[], ViUInt32 *availableFlash, ViStatus *status)
nFANTOM100_kExport void _VI_FUNCC | nFANTOM100_iNXT_eraseUserFlash (nFANTOM100_iNXT nxtPtr, ViStatus *status)
nFANTOM100_kExport ViUInt32 _VI_FUNCC | nFANTOM100_iNXT_pollAvailableLength (nFANTOM100_iNXT nxtPtr, ViUInt32 bufferIndex, ViStatus *status)
nFANTOM100_kExport ViUInt32 _VI_FUNCC | nFANTOM100_iNXT_readBufferData (nFANTOM100_iNXT nxtPtr, ViPBuf dataBuffer, ViUInt32 bufferIndex, ViUInt32 numberOfBytesToRead, ViStatus *status)
nFANTOM100_kExport void _VI_FUNCC | nFANTOM100_iNXT_getResourceString (nFANTOM100_iNXT nxtPtr, ViChar resourceString[], ViStatus *status)
nFANTOM100_kExport void _VI_FUNCC | nFANTOM100_iNXT_bluetoothFactoryReset (nFANTOM100_iNXT nxtPtr, ViStatus *status)

## Detailed Description

Interface for a LEGO MINDSTORMS NXT and declaration of its factory.

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