BltTofApi Manual
From BlueWiki
(Difference between revisions)
(→BTA P100 Library) |
|||
Line 11: | Line 11: | ||
! armel | ! armel | ||
|- | |- | ||
- | ! v1.0.0 | + | ! v1.0.0 |
+ | | X || X || X || X || X | ||
|} | |} | ||
Revision as of 09:21, 16 September 2014
1 Versions
1.1 BTA P100 Library
Win32 | Win64 | Lin64 | armhf | armel | |
---|---|---|---|---|---|
v1.0.0 | X | X | X | X | X |
1.2 BTA ETH Library
Win32 | Win64 | Lin64 | armhf | armel | |
---|---|---|---|---|---|
v1.0.0 | X | X | X | X | X |
2 Environment
2.1 Windows
Please take a look at the example project for a reference on how to compile an application using a BTA library. Things to consider are:
- Macro: #define PLAT_WINDOWS
- Macro: #define PLAT_32BIT or #define PLAT_64_BIT
2.2 Linux
2.3 ARM (Linux)
3 Reference Manual
3.1 BTAgetVersion
BTA_StatusOutOfMemory | -17 |
|
BTA_StatusRuntimeError | -16 |
|
3.2 BTAinitConfig
BTA_StatusInvalidParameter | -1 |
|
3.3 BTAopen
BTA_StatusOutOfMemory | -17 |
|
BTA_StatusRuntimeError | -16 |
|
BTA_StatusDeviceUnreachable | -6 |
|
BTA_StatusCommunicationError | -24 |
|
BTA_StatusInvalidParameter | -1 |
|
BTA_StatusNotSupported | -21 |
|
3.4 BTAclose
BTA_StatusInvalidParameter | -1 |
|
BTA_StatusRuntimeError | -16 |
|
3.5 BTAgetDeviceInfo
BTA_StatusInvalidParameter | -1 |
|
BTA_StatusOutOfMemory | -17 |
|
BTA_StatusCommunicationError | -24 |
|
3.6 BTAsetKeepAliveMsgInterval
BTA_StatusInvalidParameter | -1 |
|
BTA_StatusIllegalOperation | -2 |
|
BTA_StatusInvalidProtocolVersion | -14 |
|
3.7 BTAsetControlCrcEnabled
BTA_StatusInvalidParameter | -1 |
|
BTA_StatusIllegalOperation | -2 |
|
3.8 BTAsetFrameMode
BTA_StatusInvalidParameter | -1 |
|
BTA_StatusIllegalOperation | -2 |
|
BTA_StatusNotSupported | -21 |
|
BTA_StatusCommunicationError | -24 |
|
3.9 BTAsendReset
BTA_StatusInvalidParameter | -1 |
|
BTA_StatusIllegalOperation | -2 |
|
BTA_StatusNotConnected | -12 |
|
BTA_StatusDeviceUnreachable | -6 |
|
BTA_StatusProtocolViolation | -4 |
|
BTA_StatusInvalidAddress | -10 |
|
BTA_StatusIllegalOperation | -2 |
|
BTA_StatusInvalidProtocolVersion | -14 |
|
3.10 BTAgetFrame
BTA_StatusInvalidParameter | -1 |
|
BTA_StatusIllegalOperation | -2 |
|
BTA_StatusRuntimeError | -16 |
|
BTA_StatusNotSupported | -21 |
|
BTA_StatusTimeOut | -5 |
|
BTA_StatusOutOfMemory | -17 |
|
BTA_StatusCommunicationError | -24 |
|
BTA_StatusUnexpectedDataFormat | -26 |
|
3.11 BTAgetIntegrationTime
same as BTAreadRegister
3.12 BTAsetIntegrationTime
same as BTAwriteRegister
BTA_StatusInvalidParameter | -1 |
|
3.13 BTAgetFrameRate
same as BTAreadRegister
3.14 BTAsetFrameRate
same as BTAwriteRegister
BTA_StatusInvalidParameter | -1 |
|
3.15 BTAgetGlobalOffset
same as BTAreadRegister
BTA_StatusInvalidConfiguration | -23 |
|
3.16 BTAsetGlobalOffset
same as BTAreadRegister same as BTAwriteRegister
BTA_StatusInvalidParameter | -1 |
|
3.17 BTAreadRegister
BTA_StatusInvalidParameter | -1 |
|
BTA_StatusIllegalOperation | -2 |
|
BTA_StatusNotConnected | -12 |
|
BTA_StatusDeviceUnreachable | - 6 |
|
BTA_StatusProtocolViolation | -4 |
|
BTA_StatusInvalidAddress | -10 |
|
BTA_StatusIllegalOperation | -2 |
|
BTA_StatusOutOfMemory | -17 |
|
BTA_StatusInvalidProtocolVersion | -14 |
|
3.18 BTAwriteRegister
BTA_StatusInvalidParameter | -1 |
|
BTA_StatusIllegalOperation | -2 |
|
BTA_StatusNotConnected | -12 |
|
BTA_StatusDeviceUnreachable | -6 |
|
BTA_StatusProtocolViolation | -4 |
|
BTA_StatusInvalidAddress | -10 |
|
BTA_StatusIllegalOperation | -2 |
|
BTA_StatusInvalidProtocolVersion | -14 |
|
3.19 BTAflashUpdate
BTA_StatusInvalidParameter | -1 |
|
BTA_StatusIllegalOperation | -2 |
|
BTA_StatusNotConnected | -12 |
|
BTA_StatusDeviceUnreachable | -6 |
|
BTA_StatusProtocolViolation | -4 |
|
BTA_StatusInvalidAddress | -10 |
|
BTA_StatusIllegalOperation | -2 |
|
BTA_StatusRuntimeError | -16 |
|
BTA_StatusCommunicationError | -24 |
|
BTA_StatusOutOfMemory | -17 |
|
BTA_StatusFlashingFailed | -22 |
|
BTA_StatusInvalidProtocolVersion | -14 |
|
BTA_StatusInvalidFile | -25 |
|
3.20 BTAfirmwareUpdate
same as BTAflashUpdate
BTA_StatusInvalidParameter | -1 |
|
BTA_StatusOutOfMemory | -17 |
|
BTA_StatusRuntimeError | -16 |
|
3.21 BTAgetDistances
BTA_StatusInvalidParameter | -1 |
|
BTA_StatusInvalidDataFormat | -15 |
|
3.22 BTAgetAmplitudes
BTA_StatusInvalidParameter | -1 |
|
BTA_StatusInvalidDataFormat | -15 |
|
3.23 BTAgetFlags
BTA_StatusInvalidParameter | -1 |
|
BTA_StatusInvalidDataFormat | -15 |
|
3.24 BTAgetXYZcoordinates
BTA_StatusInvalidParameter | -1 |
|
BTA_StatusInvalidDataFormat | -15 |
|
3.25 BTAfreeFrame
BTA_StatusInvalidParameter | -1 |
|
3.26 BTAfreeDeviceInfo
BTA_StatusInvalidParameter | -1 |
|
3.27 BTAwriteCurrentConfigToNvm
same as BTAwriteRegister and BTAreadRegister
BTA_StatusRuntimeError | -16 |
|
3.28 BTArestoreDefaultConfig
same as BTAwriteRegister and BTAreadRegister
BTA_StatusRuntimeError | -16 |
|