Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
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 Tue Jul 12 2022 13:55:03 by
