03-06-2012 07:28 AM
How do I set permission to access led_request_color?
Solved! Go to Solution.
03-06-2012 02:48 PM - edited 03-06-2012 02:50 PM
1. Open the bar-descriptor.xml source,
2. go to:
<!-- Request permission to execute native code. ... -->
3. add:
<action>access_led_control</action>
Worked for me after this modification.
Regards,
Tom
03-06-2012 03:13 PM
Thanks Tom that worked perfectly. Where and how did you find that?
Regards,
Roger
03-06-2012 03:25 PM
Hi Roger,
just tried it. I think it should be in the Momentics permission page of the bar-descriptor file as a check box, but it is not yet in. So I just wrote it into the source page and it worked.
Regards,
Tom
03-06-2012 03:50 PM
Hi Tom,
I saw the 'access_led_control' label in led.h and I read the errno indicating lack of permission but it never occured to me to just try it in bar-descriptor.xml.
You saved me lots of time.
Thanks again,
Roger
03-06-2012 04:04 PM
Thank you for the answer Tom, I was actually having the same problem.
Adding this line in Beta 3 wasn't working so I never tought about trying again.