diff --git a/NXT.cabal b/NXT.cabal
--- a/NXT.cabal
+++ b/NXT.cabal
@@ -1,5 +1,5 @@
 Name:                NXT
-Version:             0.1
+Version:             0.1.1
 Synopsis:            A Haskell interface to Lego Mindstorms NXT
 Description:         A Haskell interface to Lego Mindstorms NXT over Bluetoooth. It supports direct commands, messages and
                      many sensors (also unofficial). It has also support for a simple message-based control of a NXT brick
@@ -23,7 +23,9 @@
 Stability:           experimental
 Homepage:            http://mitar.tnode.com
 Extra-source-files:  remote/remote.rxe,
-                     remote/remote.nxc
+                     remote/remote.nxc,
+                     ffi/blue.h,
+                     ffi/initserial.h
 
 Library
   Exposed-modules:     Robotics.NXT,
@@ -57,7 +59,7 @@
   HS-source-dirs:      src
   Build-depends:       base >= 4 && < 5,
                        mtl >= 1.1 && < 2,
-                       NXT == 0.1
+                       NXT == 0.1.1
   GHC-options:         -Wall
 
 Executable nxt-upload
@@ -67,7 +69,7 @@
                        mtl >= 1.1 && < 2,
                        bytestring >= 0.9 && < 1,
                        filepath >= 1.1 && < 2,
-                       NXT == 0.1
+                       NXT == 0.1.1
   GHC-options:         -Wall
   GHC-prof-options:    -Wall
   GHC-shared-options:  -Wall
diff --git a/ffi/blue.h b/ffi/blue.h
new file mode 100644
--- /dev/null
+++ b/ffi/blue.h
@@ -0,0 +1,11 @@
+#ifndef BLUE_H_
+#define BLUE_H_
+
+#define BLUE_ERROR 1000
+#define BLUE_NOT_CONNECTED 1001
+#define BLUE_NOT_SUPPORTED 1002
+
+int rssi(char *address);
+int lq(char *address);
+
+#endif /* BLUE_H_ */
diff --git a/ffi/initserial.h b/ffi/initserial.h
new file mode 100644
--- /dev/null
+++ b/ffi/initserial.h
@@ -0,0 +1,6 @@
+#ifndef INITSERIAL_H_
+#define INITSERIAL_H_
+
+int initSerialPort(int fd);
+
+#endif /* INITSERIAL_H_ */
