BltTofApi
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
bta_discovery.h File Reference

This header file contains enums and structs regarding discovery functions and device identification. More...

Go to the source code of this file.

Data Structures

struct  BTA_DiscoveryConfig
 This structure is used to configure the process of device discovery. More...
 
struct  BTA_DeviceInfo
 This structure holds information about the device. More...
 

Typedefs

typedef enum BTA_DeviceType BTA_DeviceType
 All device types currently known to the SDK (Blt projects not included)
 
typedef struct BTA_DiscoveryConfig BTA_DiscoveryConfig
 This structure is used to configure the process of device discovery.
 
typedef struct BTA_DeviceInfo BTA_DeviceInfo
 This structure holds information about the device.
 
typedef BTA_DeviceInfodeviceInfo
 

Enumerations

enum  BTA_DeviceType {
  BTA_DeviceTypeGenericEth = 0x0001, BTA_DeviceTypeArgos3dP310 = 0x9ba6, BTA_DeviceTypeArgos3dP320 = 0xb320, BTA_DeviceTypeArgos3dP321 = 0xb321,
  BTA_DeviceTypeSentis3dM100 = 0xa9c1, BTA_DeviceTypeSentis3dP509 = 0x4859, BTA_DeviceTypeSentis3dP510 = 0x5032, BTA_DeviceTypeSentis3dM520 = 0x5032,
  BTA_DeviceTypeSentis3dM530 = 0x5110, BTA_DeviceTypeTimUp19kS3Eth = 0x795c, BTA_DeviceTypeTimUp19kS3PEth = 0xb620, BTA_DeviceTypeGenericUsb = 0x0002,
  BTA_DeviceTypeArgos3dP100 = 0xa3c4, BTA_DeviceTypeTimUp19kS3Spartan6 = 0x13ab, BTA_DeviceTypeGenericUart = 0x0003, BTA_DeviceTypeEPC610TofModule = 0x7a3d,
  BTA_DeviceTypeBltstream = 0x000f
}
 All device types currently known to the SDK (Blt projects not included)
 

Functions

typedef void (1 *FN_BTA_DeviceFound)(BTA_Handle handle
 Callback function to report on a discovered device Do not call BTAfreeDeviceInfo on deviceInfo, because it is free'd in the lib. More...
 

Detailed Description

This header file contains enums and structs regarding discovery functions and device identification.

Version
2.1.0

Copyright Bluetechnix 2016

Author
Alex Falkensteiner

Function Documentation

typedef void ( 1 *  FN_BTA_DeviceFound)

Callback function to report on a discovered device Do not call BTAfreeDeviceInfo on deviceInfo, because it is free'd in the lib.

Parameters
handleThe handle created by BTAstartDiscovery for reference
deviceInfoA struct containing information about the discovered device