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.
Fork of X_NUCLEO_IDW01M1 by
Diff: Spwf_API/utils/ItfTranslator.cpp
- Revision:
- 6:e7a3fca2df10
- Parent:
- 5:c83ffd44f40a
- Child:
- 8:0f302a13e21b
--- a/Spwf_API/utils/ItfTranslator.cpp Wed May 04 12:16:20 2016 +0000
+++ b/Spwf_API/utils/ItfTranslator.cpp Mon May 09 10:38:22 2016 +0000
@@ -134,8 +134,8 @@
void ind_wifi_http_data_available(uint8_t * data_ptr, uint32_t message_size)
{
- //spwf->debug("\r\nrx>>\r\n");
- //memcpy(user_buffer, data_ptr, 511);
+ //spwf->debug("\r\nrx>>\r\n");
+ //memcpy(user_buffer, data_ptr, 511);
}
void ind_wifi_socket_client_remote_server_closed(uint8_t * socket_closed_id)
@@ -144,6 +144,22 @@
//device->signal_synch_wait(WiFi_MODULE_SUCCESS);
}
+void ind_socket_server_client_joined(void)
+{
+ //device->debug_print("\r\nclient connected!\r\n");
+ device->set_wait_for_incoming_client(true);
+}
+
+void ind_socket_server_client_left(void)
+{
+
+}
+
+void ind_wifi_socket_server_data_lost(void)
+{
+
+}
+
#ifdef __cplusplus
}
#endif
