Doug Anson / mbedEndpointNetwork_BLE

Dependencies:   libnsdl_m0 BLE_API Base64 nRF51822 SplitterAssembler

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Wed Feb 11 23:01:05 2015 +0000
Parent:
0:7809547930d9
Child:
2:30f4a0dab604
Commit message:
updates

Changed in this revision

bt_network/Socket/Socket.h Show annotated file Show diff for this revision Revisions of this file
bt_network/Socket/bt_socket_stubs.cpp Show diff for this revision Revisions of this file
bt_network/Socket/bt_socket_stubs.h Show diff for this revision Revisions of this file
network_stubs/network_stubs.h Show annotated file Show diff for this revision Revisions of this file
--- 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