git.ucc.asn.au
/
uccvend-snackrom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More motor work
[uccvend-snackrom.git]
/
ROM2
/
server.c
diff --git
a/ROM2/server.c
b/ROM2/server.c
index
d121168
..
554e070
100644
(file)
--- a/
ROM2/server.c
+++ b/
ROM2/server.c
@@
-6,3
+6,13
@@
u8 server_authenticate(u16 uid, u16 pin) {
/* send msgs to server and stuff */
return AUTH_GOOD; /* for now */
}
/* send msgs to server and stuff */
return AUTH_GOOD; /* for now */
}
+
+u8 server_credit_account(u16 uid, u16 pin, u16 amt) {
+ return CREDIT_OK;
+ /* alternatively credit fail? */
+}
+
+u8 server_request(u16 uid, u16 pin, u8 item) {
+ /* send a message to the server asking for item */
+ return REQUEST_OK;
+}
UCC
git Repository :: git.ucc.asn.au