iowfehu;gdbjwHJAOPIHO?L

Fork of X_NUCLEO_IDW01M1 by ST

Revision:
5:c83ffd44f40a
Parent:
1:bd9db471d47d
Child:
6:e7a3fca2df10
--- a/Spwf_API/SpwfSADevice.h	Tue Apr 19 07:42:22 2016 +0000
+++ b/Spwf_API/SpwfSADevice.h	Wed May 04 12:16:20 2016 +0000
@@ -52,17 +52,17 @@
     SpwfSADevice(PinName tx, PinName rx, PinName rst, PinName wkup, PinName rts);
     ~SpwfSADevice(void);
 
-    int32_t     init(void);
-    int32_t     connect(char * ssid, char * sec_key, WiFi_Priv_Mode priv_mode);
-    int32_t     disconnect(void);
+    int     init(void);
+    int     connect(char * ssid, char * sec_key, WiFi_Priv_Mode priv_mode);
+    int     disconnect(void);
     const       char  *getIPAddress();
     const       char  *getMACAddress();      
     void        network_scan(wifi_scan *scan_result, uint16_t max_scan_number);
 
-    int32_t     socket_client_open(uint8_t * hostname, uint32_t port_number, uint8_t * protocol, uint8_t * sock_id);
-    int32_t     socket_client_write(uint8_t sock_id, uint16_t DataLength,char * pData);
-    int32_t     socket_client_recv(uint8_t sock_id, uint16_t RecvLength,char * pData);
-    int32_t     socket_client_close(uint8_t sock_close_id);
+    int     socket_client_open(uint8_t * hostname, uint32_t port_number, uint8_t * protocol, uint8_t * sock_id);
+    int     socket_client_write(uint8_t sock_id, uint16_t DataLength,char * pData);
+    int     socket_client_recv(uint8_t sock_id, uint16_t RecvLength,char * pData);
+    int     socket_client_close(uint8_t sock_close_id);
     void        socket_client_security(uint8_t* tls_mode, uint8_t* root_ca_server, uint8_t* client_cert, uint8_t* client_key, uint8_t* client_domain, uint32_t tls_epoch_time);
 
     void        socket_server_open(uint32_t port_number, uint8_t * protocol);