NFC. Subscription to the message doesn't work after its publication to a tag RRS feed

  • Question

  • Hi All,

    I have a very strange issue with the NFC support in my application. 

    When I publish a message to an NFC tag, subscription to that message stops working anymore,

    no matter how many times I tap the tag. And all that happens till I restart the program.

    I tried both the WinRT API, and IOCTLs sent to the driver directly, but behavior is always the same. 

    I used static tags, so I published the following message: Windows:WriteTag.MyMessage.

    And subscribed for the following: Windows.MyMessage. 

    Subscription and publication both work fine separately, but not in that order: Publication -> Subscription (of course, I tap the tag again after publication).

    I tried to publish the message with Windows.MyMessage, but it doesn't work for static tags, whilst reading works fine after that. 

    Even with IOCTLs, as soons as I send IOCTL_NFP_SET_PAYLOAD, the future IOCTL_NFP_GET_NEXT_SUBSCRIBED_MESSAGE for the same message got always pended.

    Thanks in advance for any suggestions!

    Thursday, December 5, 2013 6:48 AM

All replies