Hello. I'm using the app_demo_dp_url as a baseline and updating it with a sensor reading. The sensor reading takes aprox 200ms (integration time). How can I update the NDEF message and "notify" the reader (smartphone) that an updated message is present?
With measurement time above 50ms my phone stop reading properly the tag and returns "empty tag". Thanks in advance
Hi,
The embedded firmware is responsible for creating a valid NDEF message and making it available through the NFC interface. These actions must be completed before the tag reader starts reading the NFC memory.
The duration between enabling the NFC field and reading the NFC memory varies between brands and models and can be as low as ~16ms. The NHS3100 IC cannot delay this reading to allow for more time to process data, as the NFC controller is a type 2 tag.
Regards,
Eduardo.
Hello Eduardo
Thanks for your message. I just updated my workspace to vesion 12.6 and I'm using the app_demo_label_signedurl example as a starting point.
Instead of the "TMeas_Measure" funtion I'm using a custom funtion that retrieves Lux from an Ambient light sensors. The integration time on this sensor should be 100ms. Plus some ms for a convertion time.... I get someting close to 130ms before I'm able to retireve the sensor data out.
After the data is available I'm updating the url with this retrieved data (similar to the Url_SetTemperature((unsigned int)sTemperature);)..
When I tap the device with my phone I get an "empty tag".
I believe that this is due to the amount of time that I spent reading the sensor
Could you suggest a workaround? Is it possible to prepare a dumy msg and than update it with valid content?
Thanks
Hello @martinsmarco
Hope you are doing well.
app_demo_dp_url is an old firmware and it is now obsolete; this application was removed from the latest NHS3100 releases.
app_demo_label_signedurl supersedes the app_demo_dp_ur application firmware.
Please consider upgrading the SDK version to the latest version available in the NHS3100 Product Page > Software section.
Regards,
Eduardo.