🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    how to write key A and Key B onto WS1850S

    UiFlow 2.0
    3
    3
    244
    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.
    • H
      huanfai
      last edited by

      I recently get a M5 Dial V1.1 and I have card with mifare 1k card encrypted with known key A/B and read data from block 1.
      I used to work with Arduino and rc522 and it works fine.
      Now I tried to migrate my project to M5 Dial and a had some problems on writing authentication keys on WS1850S and get feedback of authentication status.
      in UIFlow 2's RFID instruction didn't mention about the encryption things.

      felmueF 1 Reply Last reply Reply Quote 0
      • felmueF
        felmue @huanfai
        last edited by

        Hello @huanfai

        looking at the soucre code for UIFlow2 device firmware I think authentication keys are fixed to default values. See here and here.

        In ohter words I don't think the RFID blocks in UIFlow2 can handle anything different than default authentication keys.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        1 Reply Last reply Reply Quote 0
        • P
          peolsolutions
          last edited by

          To write Key A and Key B onto a WS1850S, connect the device to your PC and use compatible software. Place the MIFARE card on the reader, authenticate the target sector using the default key, and access the sector trailer block. Input your new Key A, access bits, and Key B in the correct format. Write the data, verify authentication with new keys, and ensure access settings are not misconfigured.

          1 Reply Last reply Reply Quote -1
          • First post
            Last post