PIR sensor
Fork of WizFi310Interface_Legacy_newv2 by
Diff: WizFi310Interface.h
- Revision:
- 2:3194ebe06182
- Parent:
- 0:774ff1e8b26b
--- a/WizFi310Interface.h Tue May 02 00:31:36 2017 +0000 +++ b/WizFi310Interface.h Mon Sep 18 08:11:28 2017 +0000 @@ -27,8 +27,10 @@ #define WIZFI310INTERFACE_H_ #include "WizFi310.h" +#include "TCPSocketConnection.h" -class WizFi310Interface : public WizFi310{ + +class WizFi310Interface : public WizFi310,public TCPSocketConnection{ public: WizFi310Interface(PinName tx, PinName rx, PinName cts, PinName rts, PinName reset, PinName alarm = NC, int baud = 115200); @@ -37,6 +39,7 @@ int init(const char* ip, const char* mask, const char* gateway, const char* name = NULL); int connect(Security sec, const char* ssid, const char* phrase, WiFiMode mode = WM_STATION); int disconnect(); + int test_twitter(); char* getMACAddress(); char* getIPAddress(); char* getGateway(); @@ -44,7 +47,6 @@ int setAntMode(AntennaMode mode); - };