Marco Zecchini
/
Example_RTOS
Rtos API example
Embed:
(wiki syntax)
Show/hide line numbers
WiFiAccessPoint.cpp
00001 #include "netsocket/WiFiAccessPoint.h" 00002 00003 WiFiAccessPoint::WiFiAccessPoint() 00004 { 00005 memset(&_ap, 0, sizeof(_ap)); 00006 } 00007 00008 WiFiAccessPoint::WiFiAccessPoint(nsapi_wifi_ap_t ap) 00009 { 00010 _ap = ap; 00011 } 00012 00013 const char *WiFiAccessPoint::get_ssid() const 00014 { 00015 return _ap.ssid; 00016 } 00017 00018 const uint8_t *WiFiAccessPoint::get_bssid() const 00019 { 00020 return _ap.bssid; 00021 } 00022 00023 nsapi_security_t WiFiAccessPoint::get_security() const 00024 { 00025 return _ap.security; 00026 } 00027 00028 int8_t WiFiAccessPoint::get_rssi() const 00029 { 00030 return _ap.rssi; 00031 } 00032 00033 uint8_t WiFiAccessPoint::get_channel() const 00034 { 00035 return _ap.channel; 00036 } 00037
Generated on Sun Jul 17 2022 08:25:33 by 1.7.2