summaryrefslogtreecommitdiffstats
path: root/low-can-binding/binding
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-11-30 09:43:58 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-11-30 11:56:09 +0100
commita1b6574e5188c5ef113941b080bd20db93d738ba (patch)
tree35ea84274772281c00245e6d5fdfb99cba094984 /low-can-binding/binding
parente184a2a0ef5d0372fe3227a57a69d91740c499ba (diff)
Fix permission label
Change-Id: I1c7299bdf9ff024f676b88860c8d31076f6806e0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/binding')
-rw-r--r--low-can-binding/binding/low-can-apidef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/low-can-binding/binding/low-can-apidef.h b/low-can-binding/binding/low-can-apidef.h
index 1182b4f..d8edab6 100644
--- a/low-can-binding/binding/low-can-apidef.h
+++ b/low-can-binding/binding/low-can-apidef.h
@@ -57,10 +57,10 @@ static const char _afb_description_v2_low_can[] =
#include <afb/afb-binding>
#endif
/*static const struct afb_auth _afb_auths_v2_low_can[] = {
- { .type = afb_auth_Permission, .text = "urn:AGL:permission:*:*platform:can:write ", .next = NULL}
+ { .type = afb_auth_Permission, .text = "urn:AGL:permission::platform:can:write", .next = NULL}
};*/
-const struct afb_auth _afb_auths_v2_low_can[] = {afb::auth_permission("urn:AGL:permission:*:*platform:can:write ")};
+const struct afb_auth _afb_auths_v2_low_can[] = {afb::auth_permission("urn:AGL:permission::platform:can:write")};
void subscribe(struct afb_req req);
void unsubscribe(struct afb_req req);