Partial implementation of BlueGiga's BGAPI for use with the BLE112/3 modules over UART.

Hi there! I recently started using BLE112 modules with the mbed LPC1768 MCU, and I realized there was no implementation of BlueGiga's BGAPI available for mbed. This library implements only a few commands, but if you're looking to get started, this is a good place to look.

This was developed against BGAPI v1.3.2. I make no guarantees as to how well it will work with newer revisions of the software.

--- a/BGLib.h	Sun May 17 21:00:34 2015 +0000
+++ b/BGLib.h	Sun May 17 23:24:26 2015 +0000
@@ -1,1 +1,19 @@
-#include "mbed.h"
\ No newline at end of file
+#include "mbed.h"
+typedef void (*hello_callback_t)();
+class BGLib {
+    BGLib(PinName tx, PinName rx, PinName rts, PinName cts);
+    void send_hello();
+    void set_hello_callback(hello_callback_t pCallback); 
+    void parse();
+    void send_bytes(uint8_t bytes[], int length);
+    Serial mSerial;
+    hello_callback_t mHelloCallback;
\ No newline at end of file