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.
Dependencies: libnsdl_m0 BLE_API Base64 nRF51822 SplitterAssembler
Revision 1:faa02c5fd781, committed 2015-02-11
- Comitter:
- ansond
- Date:
- Wed Feb 11 23:01:05 2015 +0000
- Parent:
- 0:7809547930d9
- Child:
- 2:30f4a0dab604
- Commit message:
- updates
Changed in this revision
--- a/bt_network/Socket/Socket.h Wed Feb 11 22:13:25 2015 +0000 +++ b/bt_network/Socket/Socket.h Wed Feb 11 23:01:05 2015 +0000 @@ -18,7 +18,7 @@ #ifndef SOCKET_H_ #define SOCKET_H_ -#include "bt_socket_stubs.h" +#include "network_stubs.h" class TimeInterval;
--- a/bt_network/Socket/bt_socket_stubs.cpp Wed Feb 11 22:13:25 2015 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -#include "bt_socket_stubs.h" -
--- a/bt_network/Socket/bt_socket_stubs.h Wed Feb 11 22:13:25 2015 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-#ifndef __BT_SOCKET_STUBS_H__
-#define __BT_SOCKET_STUBS_H__
-
-#include "mbed.h"
-
-// timeval
-struct timeval {
- uint32_t tv_sec;
- uint32_t tv_usec;
-};
-
-
-// socket length is simply an unsigned int.
-typedef uint32_t socklen_t;
-
-#endif // __BT_SOCKET_STUBS_H__
\ No newline at end of file
--- a/network_stubs/network_stubs.h Wed Feb 11 22:13:25 2015 +0000
+++ b/network_stubs/network_stubs.h Wed Feb 11 23:01:05 2015 +0000
@@ -37,4 +37,16 @@
#endif
#define DBG printf
+#include "mbed.h"
+
+// timeval
+struct timeval {
+ uint32_t tv_sec;
+ uint32_t tv_usec;
+};
+
+
+// socket length is simply an unsigned int.
+typedef uint32_t socklen_t;
+
#endif // __BT_STUBS_H__
\ No newline at end of file