I always wanted a simple way to put the phone to silent mode when e.g. placing it on the table next to the . Since Biemster got NFC to work on the Oneplus 6/6T (https://github.com/biemster/pmos-openbox-conky/blob/main/nxp_nci_i2c.py) we can leverage that and have feedbackd's profile adjusted when certain RFIDs are seen (https://source.puri.sm/Librem5/feedbackd/-/merge_requests/154). For this to land we want to move the NFC support from a python script to s.th. like nfcd (https://github.com/biemster/pmos-openbox-conky/pull/18#issuecomment-2653920089). Help on this would be appreciated.
@agx waaaait a sec, someone got NFC working on the OP6?!
@craftyguy @agx sounds useful for me (if i ever get a op6), i want to do some stuff with hce but android dev seems like hell (but also from what i've seen nfc apis on linux are dire comparatively (it seems there is no concept of APDU routing/wakeup))
@craftyguy @agx I'm not even actually sure where any documentation is, the few bits i have found basically just say "use qt" which isn't super helpful
@robot @craftyguy I'm not very good at NFC yet so need to read up on some details to figure out how we want the app facing side to actually look. (But the above prototype gives some motivation to do so (albeit slow as there's so much other stuff that wants attention)
@agx @craftyguy would be willing to chat somewhere about the stuff I have found in my research, from what I've seen nfc is relatively simple but there's some really neat untapped potential for its use, especially on mobile and desktop linux.
@robot @craftyguy We're at https://matrix.to/#/#phosh-dev:sigxcpu.org in case you do matrix (idk if Biemster is in a room too, he did the OP6 work)
@agx @craftyguy is phosh going to be taking up work on nfc apis on mobile linux? I don't really have anything that can run phosh reasonably, but I do have a little homebuilt HDMI to pn532 adapter for my laptop. (and an asteroidos firefish but that doesn't have working nfc and I have no clue where to begin, I can't even find the part number)