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
Diff: bt_network/BleUartRPC/UartRPC.h
- Revision:
- 33:4f6929e123f2
- Parent:
- 11:d601b867b297
- Child:
- 36:aa73681951ad
--- a/bt_network/BleUartRPC/UartRPC.h Sat Jul 25 06:10:42 2015 +0000
+++ b/bt_network/BleUartRPC/UartRPC.h Sat Jul 25 19:15:48 2015 +0000
@@ -27,6 +27,7 @@
#include <stdarg.h>
#include "BLEDevice.h"
#include "Dispatcher.h"
+ #include "BLELocation.h"
// callback function for dispatch callbacks (
typedef void (*ble_dispatch_callback_fn)(bool);
@@ -43,6 +44,7 @@
void dispatch();
bool localDispatchAvailable(void);
int retrieveLocalDispatch(uint8_t *buffer,int buffer_length);
+ void setLocationInstance(BLELocation *location);
private:
void resetLocalDispatch(void);
@@ -53,6 +55,7 @@
char *m_recv_raw_data;
int m_recv_raw_data_length;
void *m_cb;
+ BLELocation *m_location;
};
#endif // __UART_RPC_H__
\ No newline at end of file