Macros | |
#define | LTRX_SCAN_ENCR_FLAGS__CCMP 0x02 |
CCMP encryption protocol. More... | |
#define | LTRX_SCAN_ENCR_FLAGS__TKIP 0x04 |
TKIP encryption protocol. More... | |
#define | LTRX_SCAN_ENCR_FLAGS__WEP 0x01 |
WEP security level. More... | |
#define | LTRX_SCAN_SECURITY_SUITE__OPEN 0x00 |
Open security protocol. More... | |
#define | LTRX_SCAN_SECURITY_SUITE__WEP 0x01 |
WEP security protocol. More... | |
#define | LTRX_SCAN_SECURITY_SUITE__WPA 0x02 |
WPA security protocol. More... | |
#define | LTRX_SCAN_SECURITY_SUITE__WPA2 0x04 |
WPA2 security protocol. More... | |
#define | LTRX_SCAN_SECURITY_SUITE__WPA_MIXED 0x08 |
WPA/WPA2 Mixed security protocol. More... | |
Functions | |
bool | ltrx_scan_begin (uint32_t scanMutexWaitMsec) |
Start network scan. More... | |
void | ltrx_scan_collect (const char *optSsid) |
Scan for specified network. More... | |
void | ltrx_scan_end (void) |
End network scan. More... | |
struct ltrx_scan_result * | ltrx_scan_get (unsigned int readoutIndex) |
Get scan result. More... | |
Via the Scan API, an application can scan the wireless network and examine the scan responses.
#define LTRX_SCAN_ENCR_FLAGS__CCMP 0x02 |
CCMP encryption protocol.
CCMP encryption protocol
#define LTRX_SCAN_ENCR_FLAGS__TKIP 0x04 |
TKIP encryption protocol.
TKIP encryption protocol
#define LTRX_SCAN_ENCR_FLAGS__WEP 0x01 |
WEP security level.
WEP security level
#define LTRX_SCAN_SECURITY_SUITE__OPEN 0x00 |
Open security protocol.
Open security protocol
#define LTRX_SCAN_SECURITY_SUITE__WEP 0x01 |
WEP security protocol.
WEP security protocol
#define LTRX_SCAN_SECURITY_SUITE__WPA 0x02 |
WPA security protocol.
WPA security protocol
#define LTRX_SCAN_SECURITY_SUITE__WPA2 0x04 |
WPA2 security protocol.
WPA2 security protocol
#define LTRX_SCAN_SECURITY_SUITE__WPA_MIXED 0x08 |
WPA/WPA2 Mixed security protocol.
WPA/WPA2 Mixed security protocol
bool ltrx_scan_begin | ( | uint32_t | scanMutexWaitMsec | ) |
Start network scan.
Prepare mutex to perfrom network scan
[in] | scanMutexWaitMsec | Scan timeout value. Use TIME_WAIT_FOREVER to wait indefinitely |
void ltrx_scan_collect | ( | const char * | optSsid | ) |
Scan for specified network.
Scan for the network ssid, if specified. Perform a broadcast scan if ssid is not specified
[in] | optSsid | Optional SSID, NULL = broadcast scan |
void ltrx_scan_end | ( | void | ) |
End network scan.
Signal scan mutex
struct ltrx_scan_result* ltrx_scan_get | ( | unsigned int | readoutIndex | ) |
Get scan result.
Loop thru scan results and get the network with specified index.
[in] | readoutIndex | Network index |