summaryrefslogtreecommitdiffstats
path: root/lock/util.h
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2025-04-08 17:01:41 +0800
committerSadeep Madurange <sadeep@asciimx.com>2025-04-08 17:05:56 +0800
commit014040f33f914a82031e15940924bc9c92236fec (patch)
tree7eae117615a04ff03b1b687ca4ffac64d98a7f38 /lock/util.h
parentf36e0c51177979c57b3402676fe342c180f9cb5b (diff)
downloadsmart-home-014040f33f914a82031e15940924bc9c92236fec.tar.gz
Fix await_reply()
Diffstat (limited to 'lock/util.h')
-rw-r--r--lock/util.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/lock/util.h b/lock/util.h
index 8be238a..c3449c8 100644
--- a/lock/util.h
+++ b/lock/util.h
@@ -6,9 +6,13 @@
#define WDLEN 32
#define KEY "dM>}jdb,6gsnC$J^K 8(I5vyPemPs%;K"
-#define SYN "43iqr5$NB8SpN?Z/52{iVl>o|i!.'dsT"
-#define LOCK "R,I7l^E4j]KyLR9'*Q{Jd'zu.~!84}Ij"
-#define UNLOCK "R,I7l^E4j]KyLR9'*Q{Jd'zu.~!84}Ik"
+//#define SYN "43iqr5$NB8SpN?Z/52{iVl>o|i!.'dsT"
+//#define LOCK "R,I7l^E4j]KyLR9'*Q{Jd'zu.~!84}Ij"
+//#define UNLOCK "R,I7l^E4j]KyLR9'*Q{Jd'zu.~!84}Ik"
+
+#define SYN "SYNSYNSYNSYNSYNSYNSYNSYNSYNSYNSY"
+#define ACK "ACKACKACKACKACKACKACKACKACKACKAC"
+#define MSG "MSGMSGMSGMSGMSGMSGMSGMSGMSGMSGMS"
void xor(const char *k, const char *s, char *d, uint8_t n);