Add sound manager initial source code
[staging/soundmanager.git] / test / call-sm-binding-method_test.sh
1 #!/bin/sh
2
3 echo "please call method after launch afb-client-demo"
4 echo "  # ./sm-binding-test.sh"
5 echo "To get soundmanager api "
6 echo "example) monitor get {\"apis\":[\"monitor\"]}"
7 echo "example) soundmanager disconnect {\"mainConnectionID\":1}"
8 port=12345
9 token=123456
10 if test $1;then
11 port=$1
12 fi
13 if test $2; then
14 token=$2
15 fi
16 afb-client-demo ws://localhost:${port}/api?token=${token}
17