NetBurner 3.5.6
PDF Version
wifiDriver.h File Reference

NetBurner Wifi API. More...

#include <buffers.h>
#include <nettypes.h>
#include <config_obj.h>
#include <netinterface.h>
#include <constants.h>
#include <utils.h>
#include <wifi/nbWifiConstants.h>
#include <wifi/nbwifi/nbWifiMsgStructs.h>
#include <wifi/wilc/microchip/driver/m2m_types.h>
#include <json_lexer.h>

Go to the source code of this file.

Classes

struct  NB::Wifi::driverStatusStruct
 
struct  wifi_init
 

Functions

void SetWifiSPISpeed (int busSpeed)
 Set SPI bus speed.
 
void NB::PrintScanResult (nbWifiScanResult *scanResult)
 Print the results of one scan result using iprintf.
 
ParsedJsonDataSet NB::ConvertScanResultsToJSON (nbWifiScanResult *scanResults)
 Convert the WiFi scan results into a JSON Object.
 

Detailed Description

NetBurner Wifi API.

Function Documentation

◆ ConvertScanResultsToJSON()

ParsedJsonDataSet NB::ConvertScanResultsToJSON ( nbWifiScanResult * scanResults)

Convert the WiFi scan results into a JSON Object.

Parameters
[in]scanResultsPointer to the scan result structure containing the scan result to be converted
Returns
ParsedJsonDataSet with the scan results if 'scanResults' is not empty. Otherwise, returns an empty ParsedJsonDataSet.

◆ PrintScanResult()

void NB::PrintScanResult ( nbWifiScanResult * scanResult)

Print the results of one scan result using iprintf.

Parameters
[in]scanResultPointer to the scan result structure containing the scan result to be printed