projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reference specific dependent jars in the AltosUI launchers
[fw/altos]
/
altosui
/
libaltos
/
libaltos.h
diff --git
a/altosui/libaltos/libaltos.h
b/altosui/libaltos/libaltos.h
index a05bed4c2e6c9038873461e4c9f5c630f1770506..f90fbb879d3934a2cf1ba7251aa50dd3553cf878 100644
(file)
--- a/
altosui/libaltos/libaltos.h
+++ b/
altosui/libaltos/libaltos.h
@@
-51,6
+51,11
@@
struct altos_bt_device {
//%mutable;
};
//%mutable;
};
+struct altos_error {
+ int code;
+ char string[1024];
+};
+
#define LIBALTOS_SUCCESS 0
#define LIBALTOS_ERROR -1
#define LIBALTOS_TIMEOUT -2
#define LIBALTOS_SUCCESS 0
#define LIBALTOS_ERROR -1
#define LIBALTOS_TIMEOUT -2
@@
-62,6
+67,9
@@
altos_init(void);
PUBLIC void
altos_fini(void);
PUBLIC void
altos_fini(void);
+PUBLIC void
+altos_get_last_error(struct altos_error *error);
+
PUBLIC struct altos_list *
altos_list_start(void);
PUBLIC struct altos_list *
altos_list_start(void);