summaryrefslogtreecommitdiffstats
path: root/bin/4a-api
blob: 4a26121ac9de92ba3f5791f8a108517ddfec320d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

WS4A=unix:/run/user/0/apis/ws/ahl-4a

afb-client-demo -H -d $WS4A get_roles ""

# commandes HAL manager:
# 4a-hal-manager loaded
# 4a-hal-manager loaded { "verbose": true } <= +metadata
# 4a-hal-manager loaded { "all": true } <= hals avec un json
# 4a-hal-manager loaded { "all": true, "verbose":true }

# open/close  multimedia
#afb-client-demo -H -d $WS4A << EOF
#multimedia { "action":"open" }
#multimedia { "action":"close" }
#EOF

# volume  multimedia
#afb-client-demo -H -d $WS4A << EOF
#multimedia { "action":"open" }
#multimedia { "action":"close" }
#EOF