![]() |
BltTofApi
|
This structure is used to configure the process of device discovery. More...
#include <bta_discovery.h>
Data Fields | |
| BTA_DeviceType | deviceType |
| A special device type to look for, 0: Any. | |
| uint8_t * | broadcastIpAddr |
| The UDP broadcast IP address, null: 255.255.255.255. | |
| uint8_t | broadcastIpAddrLen |
| The length in bytes of broadcastIpAddr. | |
| uint16_t | broadcastPort |
| The UDP port to send the broadcast to, 0: 11003. | |
| uint8_t * | callbackIpAddr |
| The UDP callback IP address, null: chosen automatically. | |
| uint8_t | callbackIpAddrLen |
| The length in bytes of callbackIpAddr. | |
| uint16_t | callbackPort |
| The UDP port to listen for responses, 0: chosen automatically. | |
| uint8_t * | uartPortName |
| The port name of the UART to use (ASCII coded) | |
| int32_t | uartBaudRate |
| The UART baud rate. | |
| uint8_t | uartDataBits |
| The number of UART data bits used. | |
| uint8_t | uartStopBits |
| 0: None, 1: One, 2: Two, 3: 1.5 stop bits | |
| uint8_t | uartParity |
| 0: None, 1: Odd, 2: Even, 3: Mark, 4: Space Parity | |
| uint8_t | uartTransmitterAddress |
| The source address for UART communications. | |
This structure is used to configure the process of device discovery.