4.8.0.0R6
Software Development Kit
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules

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_resultltrx_scan_get (unsigned int readoutIndex)
 Get scan result. More...
 

Detailed Description

Via the Scan API, an application can scan the wireless network and examine the scan responses.

Function Documentation

bool ltrx_scan_begin ( uint32_t  scanMutexWaitMsec)

Start network scan.

Prepare mutex to perfrom network scan

Return values
trueSuccess.
falseFailed.
Parameters
[in]scanMutexWaitMsecScan 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

Parameters
[in]optSsidOptional 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.

Returns
Scan results.
Parameters
[in]readoutIndexNetwork index