packages feed

NXT 0.1 → 0.1.1

raw patch · 3 files changed

+23/−4 lines, 3 filesdep ~NXT

Dependency ranges changed: NXT

Files

NXT.cabal view
@@ -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
+ ffi/blue.h view
@@ -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_ */
+ ffi/initserial.h view
@@ -0,0 +1,6 @@+#ifndef INITSERIAL_H_+#define INITSERIAL_H_++int initSerialPort(int fd);++#endif /* INITSERIAL_H_ */