diff options
author | Sebastian <sebasjm@gmail.com> | 2022-12-06 11:21:12 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-12-06 11:21:12 -0300 |
commit | d3a6544bc5fd7b3d2d65494ba1c3155b024a436e (patch) | |
tree | 8e66fcbd9f1ae79fa5d9288af70a827caedb2c91 /packages/anastasis-webui/watch/send2.sh | |
parent | e382b022030db96b8282337b304ec5e599a5f405 (diff) | |
download | wallet-core-d3a6544bc5fd7b3d2d65494ba1c3155b024a436e.tar.xz |
using web-utils in anastasis-webui
Diffstat (limited to 'packages/anastasis-webui/watch/send2.sh')
-rwxr-xr-x | packages/anastasis-webui/watch/send2.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/packages/anastasis-webui/watch/send2.sh b/packages/anastasis-webui/watch/send2.sh deleted file mode 100755 index 6a2881c19..000000000 --- a/packages/anastasis-webui/watch/send2.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -#https://datatracker.ietf.org/doc/html/rfc6455#page-65 - -CONTENT=$( cat $1 | base64 -w 0 ) -COMMAND='{"type":"UPDATE","'$CONTENT'"}' -LEN=$(printf '%0*x\n' 4 ${#COMMAND}) -echo $LEN -LEN=00000138 -#text command -OPCODE=81 - -cat <(echo -n $OPCODE$LEN | xxd -r -p) <(echo -n $COMMAND) >> /tmp/send_signal - |