maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SailfishX NFC support (https://talk.maemo.org/showthread.php?t=99983)

pexi 2017-10-18 06:25

SailfishX NFC support
 
Since the official SailfishX thread has grown gigantic I will throw this bone to it's own thread.

I am not sure whether NFC support is under work by Jolla team or is it something that the community is expected to do? From James Noori comments the latter seems to be more likely.

If it is community driven stuff is it something that is already done and needs porting, or maybe just packaging?

edit: added SailfishX

jakibaki 2017-10-18 06:36

Re: SailfishX NFC support
 
Quote:

Originally Posted by pexi (Post 1537167)
Since the official SailfishX thread has grown gigantic I will throw this bone to it's own thread.

I am not sure whether NFC support is under work by Jolla team or is it something that the community is expected to do? From James Noori comments the latter seems to be more likely.

If it is community driven stuff is it something that is already done and needs porting, or maybe just packaging?

edit: added SailfishX

I think nfc support is already here, there are simply no applications using it right now.

At least /dev/pn54x is already there, libnfc with qt bindings is availible and nfc is no longer listed in the unsupported list on the HADK page. (purely speculating here, might be that it's not functional at all yet)

gaelic 2017-10-18 07:12

Re: SailfishX NFC support
 
Quote:

Originally Posted by jakibaki (Post 1537169)
I think nfc support is alalready here, there are simply no applications using it right now.

At least /dev/pn54x is already there, libnfc with qt bindings is availible and nfc is no longer listed in the unsupported list on the HADK page. (purely speculating here, might be that it's not functional at all yet)

As of application, anyone tried to use an AndroidApp to utilize NFC?

r0kk3rz 2017-10-18 07:41

Re: SailfishX NFC support
 
I built Neard which should support the NXP chip on these sony devices as well as having QtNFC support, but I haven't yet managed to get it to actually do something useful

If anyone else wants to play around with it then be my guest

https://build.merproject.org/package...:r0kk3rz/neard

cvp 2017-10-18 10:03

Re: SailfishX NFC support
 
Quote:

Originally Posted by pexi (Post 1537167)
I am not sure whether NFC support is under work by Jolla team

at the latest when Jala ACCIONE P appears on the market :) Advertising with NFC support.

pexi 2017-10-18 12:55

Re: SailfishX NFC support
 
I tried pairing my Polar V800 with SailfishX with no luck. Here is what happens.

- I open bluetooth from settings
- I start pairing from my V800
- V800 tells me to touch the phone, which i do
- Phone sees Polar V800 and I select it
- Phone says it is now pairing and asks me to write PIN code 00000 on both devices and gives 2 options: cancel or pair - i select pair
- V800 does not present any prompt for pair code (nor it should)
- Phone says it is now paired
- V800 says pairing failed

Looks to me like SailfishX does not know NFC.

jenix 2017-10-20 07:46

Re: SailfishX NFC support
 
Quote:

Originally Posted by pexi (Post 1537196)
I tried pairing my Polar V800 with SailfishX with no luck. Here is what happens.

- I open bluetooth from settings
- I start pairing from my V800
- V800 tells me to touch the phone, which i do
- Phone sees Polar V800 and I select it
- Phone says it is now pairing and asks me to write PIN code 00000 on both devices and gives 2 options: cancel or pair - i select pair
- V800 does not present any prompt for pair code (nor it should)
- Phone says it is now paired
- V800 says pairing failed

Looks to me like SailfishX does not know NFC.

I think you are mistaking bluetooth and NFC here.

r0kk3rz 2017-10-20 08:36

Re: SailfishX NFC support
 
Quote:

Originally Posted by jenix (Post 1537328)
I think you are mistaking bluetooth and NFC here.

You can do bluetooth pairing over NFC, but *requiring* it sounds like a terrible idea.

r0kk3rz 2017-10-21 13:08

Re: SailfishX NFC support
 
Ok so I was investigating this a bit further and it looks like there is minimal kernel support for the NXP pn547 NFC Chip in these devices, basically just enough to get the thing initialised but not enough to present in the standard kernel HCI way.

Until that is fixed then Neard is not going to work, so it might be worth trying the android route and implementing libnfc middleware instead.

rfa 2017-10-22 10:19

Re: SailfishX NFC support
 
in Sydney we have NFC bus tickets ,and an Android app that reads them. I'll try and see if it works (on sailfish X)

and “for security reasons Opal travel does not support devices that have been rooted”


All times are GMT. The time now is 18:36.

vBulletin® Version 3.8.8