Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Regular Contributor
senimii
Posts: 50
Registered: ‎04-27-2012
My Device: BlackBerry Q10
My Carrier: 447713279379

Permission denied on path /dev/nfc/ese

I get this message after I have finished building my app that runs on a BB10 Alpha device:

 

NFC[WARN ]: Unable to connect to server: Permission denied on path /dev/nfc/ese

 

What does it mean? And how do I trace this message?

 

Regards,

Olaseni Odebiyi

NFC on my mind!!
Please use plain text.
Developer
borceg
Posts: 670
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
My Carrier: Vip

Re: Permission denied on path /dev/nfc/ese

[ Edited ]

In bar-descriptor there is nfc permission as far as I know. Is it checked ? 

Please use plain text.
Regular Contributor
senimii
Posts: 50
Registered: ‎04-27-2012
My Device: BlackBerry Q10
My Carrier: 447713279379

Re: Permission denied on path /dev/nfc/ese

There is no permission set for NFC on the bar-description, I figured out that it is because I am using a handle to check for available reader, although I am able to run the application, just curious why NFC permission was not added in the bar-descr.
NFC on my mind!!
Please use plain text.
Regular Contributor
bemipefe
Posts: 75
Registered: ‎06-14-2013
My Device: Z10
My Carrier: PosteMobile

Re: Permission denied on path /dev/nfc/ese

 

I run into this problem running the NfcTool app on BlackBerry Z10. The app is free available here:

https://github.com/blackberry/Cascades-Community-Samples/tree/master/NfcTool

More precisely if i open the APDU test "ISO7816 APDU" the function nfc_se_session_open_logical_channel()
is called and i get the following error:


NFC_RESULT_SE_REQUEST_REJECTED = 0x67
 


I can see in the device log taken from QNX Momentics IDE  the error:

Unable to connect to server: Permission denied on path /dev/nfc/ese

I found no permission to add to the bar-descriptor.xml.

 

Any help is appreciated.


 

Please use plain text.
Regular Contributor
senimii
Posts: 50
Registered: ‎04-27-2012
My Device: BlackBerry Q10
My Carrier: 447713279379

Re: Permission denied on path /dev/nfc/ese

There is an update to the SE now, couple of stuffs were depreciated on the NfcTools.

NFC on my mind!!
Please use plain text.
Regular Contributor
senimii
Posts: 50
Registered: ‎04-27-2012
My Device: BlackBerry Q10
My Carrier: 447713279379

Re: Permission denied on path /dev/nfc/ese

Check the Error status....this should help you figure out why the status.

 

NFC on my mind!!
Please use plain text.
Regular Contributor
senimii
Posts: 50
Registered: ‎04-27-2012
My Device: BlackBerry Q10
My Carrier: 447713279379

Re: Permission denied on path /dev/nfc/ese

Please use plain text.
BlackBerry Development Advisor (Retired)
robbieDubya
Posts: 418
Registered: ‎07-18-2012
My Device: Q10
My Carrier: Bell Canada

Re: Permission denied on path /dev/nfc/ese

Hi,

 

Do you have any smart card applets installed? Do you have ACF configured to allow access to those Applets?

 

Thanks.

--
Rob is no longer associated with BlackBerry.
Please use plain text.
Regular Contributor
bemipefe
Posts: 75
Registered: ‎06-14-2013
My Device: Z10
My Carrier: PosteMobile

Re: Permission denied on path /dev/nfc/ese

[ Edited ]

Thank you for answering me.

 

For senimii:

 

I have already saw that table but the only thing it says is:

 

The request was rejected by the Access Control files (ACF), or some other security mechanism.

For robbieDubya:

Actually the APDU i tried to send to through NFC was gived to me as "working" but i don't have any idea of the action performed. It should be return some values, this is all I now. The Z10 is a developer version and the smart card have been unlocked so i should have no restriction to any operation to the smartcard or this what was said to me.

So is there something i missed from the phone/NFC side ?
Because for the smartcard side i have to talk with the guy who is working on it.

Please use plain text.
BlackBerry Development Advisor (Retired)
robbieDubya
Posts: 418
Registered: ‎07-18-2012
My Device: Q10
My Carrier: Bell Canada

Re: Permission denied on path /dev/nfc/ese

Perhaps that log message can be ignored...

 

If you're seeing succesful APDU exchange with a SIM SE - then not having permission to the embedded SE is probably irrelevant...

 

--
Rob is no longer associated with BlackBerry.
Please use plain text.