Murata RF modules are designed to simplify wireless development and certification by minimizing the amount of RF expertise you need to wirelessly enable a wide range of applications.

Revision:
9:0ce800923eda
Parent:
0:8e83b9448758
--- a/Type/WIFINetworkDetail.cpp	Mon Feb 15 15:17:50 2016 +0000
+++ b/Type/WIFINetworkDetail.cpp	Wed Mar 16 15:04:46 2016 +0000
@@ -4,6 +4,8 @@
 
 WIFINetworkDetail::WIFINetworkDetail() { }
 
+WIFINetworkDetail::~WIFINetworkDetail() {}
+
 WIFINetworkDetail::WIFINetworkDetail(const char * SSID, const SecurityMode securityMode, const BSSType networkType, const int rssi, const int maxDataRate)
     : WIFINetwork(SSID, securityMode)
 {
@@ -12,7 +14,7 @@
     this->maxDataRate = maxDataRate;
 }
 
-int WIFINetworkDetail::GetRSSI()
+int8_t WIFINetworkDetail::GetRSSI()
 {
     return rssi;
 }
@@ -33,11 +35,7 @@
 
 WIFINetworkDetail * WIFINetworkDetail::SetRSSI(const int rssi)
 {
-
-    if (rssi >> 7 == 0x01)
-        this->rssi = (~(rssi - 1) & 0x7F) * -1;
-    else
-        this->rssi = rssi;
+    this->rssi = rssi;
     return this;
 }