NNN50 WIFI_API library

Dependents:   NNN50_CE_Test_UDP NNN50_linux_firmware NNN50_SoftAP_HelloWorld NNN50_BLEWIFISensor ... more

This is mbed compatible EthernetInterface lib exclude for Delta DFCM-NNN50 platform.

Additional information and examples can be found in mbed Handbook

Revision:
31:f7c71d050c36
Parent:
29:86b2de427eab
--- a/WIFIDevice.h	Fri Jul 28 12:24:14 2017 +0000
+++ b/WIFIDevice.h	Mon Sep 04 05:39:59 2017 +0000
@@ -5,7 +5,14 @@
  *
  */
  
-#include "mbed.h"
+//#include "mbed.h"
+#include <stdio.h>
+#include "nrf_delay.h"
+
+#include "drivers/Ticker.h"
+#include "drivers/InterruptIn.h"
+using namespace mbed;
+
 #include "EthernetInterface.h"
  
 class WIFIDevice {
@@ -81,6 +88,11 @@
   */  
   int setPPAGain(uint8_t gain_dB);
 
+  /** get the current RSSI from the connected AP
+  * \return a negative RSSI value in dBm   
+  */
+  int getRSSI(void);
+  
   /** Erase a 4KB sector of embeeded flash.
   * Flash memory will be erased in groups of 4KB sector.
   * \param address range from 0x00 to 0x3F000 (must be a multiple of 0x1000).