NFCExample updated to use modern message functions.