UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    [Testing] NFC for Halium 9 ports

    Scheduled Pinned Locked Moved Porting
    25 Posts 7 Posters 8.7k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • mateo_saltaM Offline
        mateo_salta
        last edited by

        I think we would also want to build in automatic uri/url handling -
        Many tags are written to launch a website/url, and we would want these to be sent to the url dispatcher automatically, would be simple to just call open url externally, url dispatcher takes care of the rest.

        I have received new tags, and once written on another device the app i compiled reads then perfectly, we may need to recompile something to enable writing, as the code comments that it was disabled.

        The tags I got are ntag 213 ( a watch style tag, and a ring style tag) I plan on writting a custom url (i think "clock://" to open the clock on the "watch band", then maybe we can see what it would take to make a password ring πŸ™‚

        fredldotmeF 1 Reply Last reply Reply Quote 0
        • fredldotmeF Offline
          fredldotme @mateo_salta
          last edited by

          @mateo_salta I've already taken a look into QtNfc not allowing writes, I know where to enable it. Might take some time though.

          For the URL handling: Yes, this has also been requested by Nymea devs, but at the current pace it might not make the cut for OTA-17.

          For a list of my contributions to Ubuntu Touch visit: https://fredl.me

          If you have enjoyed my work on Ubuntu Touch over the years, please donate to my causes:

          • PayPal: https://paypal.me/beidl
          • Liberapay: https://liberapay.com/fredldotme
          mateo_saltaM 1 Reply Last reply Reply Quote 0
          • mateo_saltaM Offline
            mateo_salta @fredldotme
            last edited by

            @fredldotme cool, will be great to have the app usability at first, thank you for all the wor.

            mateo_saltaM 1 Reply Last reply Reply Quote 0
            • mateo_saltaM Offline
              mateo_salta @mateo_salta
              last edited by

              @mateo_salta i could probally write a basic app that just passes on the url to urldispatcher as a stopgap, i think that will be my next thing to try

              fredldotmeF 1 Reply Last reply Reply Quote 0
              • fredldotmeF Offline
                fredldotme @mateo_salta
                last edited by

                @mateo_salta Could you possibly release a version of your demo QtNfc writer app with the nfc policy group enabled? I would like to test it in a confined environment. Or even better, could you release the source code for it?

                For a list of my contributions to Ubuntu Touch visit: https://fredl.me

                If you have enjoyed my work on Ubuntu Touch over the years, please donate to my causes:

                • PayPal: https://paypal.me/beidl
                • Liberapay: https://liberapay.com/fredldotme
                mateo_saltaM 1 Reply Last reply Reply Quote 0
                • D Offline
                  domubpkm
                  last edited by

                  NFC should be in next dev :
                  https://github.com/ubports/ubuntu-touch/issues/1697
                  But in concrete terms, what will this technology implemented on UT smartphones allow us to do in daily use?

                  fredldotmeF 1 Reply Last reply Reply Quote 1
                  • fredldotmeF Offline
                    fredldotme @domubpkm
                    last edited by

                    @domubpkm depends on what app developers can envision and implement with it. It could be used for home automation for example, triggering events via NFC tags.

                    For a list of my contributions to Ubuntu Touch visit: https://fredl.me

                    If you have enjoyed my work on Ubuntu Touch over the years, please donate to my causes:

                    • PayPal: https://paypal.me/beidl
                    • Liberapay: https://liberapay.com/fredldotme
                    K 1 Reply Last reply Reply Quote 0
                    • K Offline
                      kugiigi @fredldotme
                      last edited by

                      I almost never used NFC in my life. Maybe once or twice I used it to automatically pair bluetooth devices πŸ˜„
                      But that's why I'm really looking forward having it on UT because I'm pretty sure I will use it. I've used a lot things just because they are available on UT 😁

                      mateo_saltaM 1 Reply Last reply Reply Quote 0
                      • mateo_saltaM Offline
                        mateo_salta @fredldotme
                        last edited by mateo_salta

                        @fredldotme oh yeah, the source is in the example folders of qt-master, they have a handfull of demos, I will try the apparmor, didn't know that was going yet πŸ™‚

                        1 Reply Last reply Reply Quote 0
                        • mateo_saltaM Offline
                          mateo_salta @kugiigi
                          last edited by

                          @kugiigi I'm looking foward to trying this example, ( https://github.com/qt/qtconnectivity/blob/8618e25e01ca9c6c6b2221041f625ac69f6757b8/examples/nfc/corkboard/corkboards.qml) and sticking some of the stickers on my refrigerator as notes πŸ™‚

                          1 Reply Last reply Reply Quote 1
                          • flohackF Offline
                            flohack
                            last edited by

                            Is there already a test app? I have at least one device here where I would love to test it...

                            My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                            fredldotmeF 1 Reply Last reply Reply Quote 0
                            • fredldotmeF Offline
                              fredldotme @flohack
                              last edited by

                              @flohack https://github.com/fredldotme/ut-nfc-ndef-demo and https://github.com/fredldotme/ut-nfcd-p2p-demo respectively

                              For a list of my contributions to Ubuntu Touch visit: https://fredl.me

                              If you have enjoyed my work on Ubuntu Touch over the years, please donate to my causes:

                              • PayPal: https://paypal.me/beidl
                              • Liberapay: https://liberapay.com/fredldotme
                              LuksusL flohackF 2 Replies Last reply Reply Quote 1
                              • LuksusL Offline
                                Luksus @fredldotme
                                last edited by

                                @fredldotme I tried to build the p2p-demo with clickable, but get the error, that "nfc" is an unsupported policy-group... do I have to use some modified docker image for building this?

                                Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                                1 Reply Last reply Reply Quote 0
                                • flohackF Offline
                                  flohack @fredldotme
                                  last edited by

                                  @fredldotme I meant a click to be installed πŸ˜› for the lazy of us...

                                  My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                  1 Reply Last reply Reply Quote 0
                                  • fredldotmeF Offline
                                    fredldotme
                                    last edited by

                                    NFC support has been merged into Clickable just recently. Using Clickable from git will work.

                                    @Flohack "teach a man to fish" and all πŸ˜‰

                                    For a list of my contributions to Ubuntu Touch visit: https://fredl.me

                                    If you have enjoyed my work on Ubuntu Touch over the years, please donate to my causes:

                                    • PayPal: https://paypal.me/beidl
                                    • Liberapay: https://liberapay.com/fredldotme
                                    1 Reply Last reply Reply Quote 0
                                    • LuksusL Offline
                                      Luksus
                                      last edited by

                                      nfc_test.jpg

                                      Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                                      1 Reply Last reply Reply Quote 2

                                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                      With your input, this post could be even better πŸ’—

                                      Register Login
                                      • First post
                                        Last post