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.
bool ltrx_scan_begin | ( | uint32_t | scanMutexWaitMsec | ) |
Start network scan.
Prepare mutex to perfrom network scan
true | Success. |
false | Failed. |
[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 |