diff options
author | Ravikumar Veeramally <ravikumar.veeramally@linux.intel.com> | 2011-10-11 15:35:46 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-10-20 23:54:06 -0700 |
commit | 17ba4ad1ed7bb24458fe1a259f08f0a37a7e21db (patch) | |
tree | db1476e74c0530d6bc8f8c4a38b4b2a1355578cb /include | |
parent | 0623f0de2fdcbb672e1b466a8f2df60efbf6cad5 (diff) | |
download | neard-17ba4ad1ed7bb24458fe1a259f08f0a37a7e21db.tar.gz neard-17ba4ad1ed7bb24458fe1a259f08f0a37a7e21db.tar.bz2 neard-17ba4ad1ed7bb24458fe1a259f08f0a37a7e21db.zip |
ndef: API provided to prepare uri ndef record
API provided to prepare uri ndef record which is useful to
write ndef data on tags.
Diffstat (limited to 'include')
-rw-r--r-- | include/ndef.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ndef.h b/include/ndef.h index 559879d..0cbe47b 100644 --- a/include/ndef.h +++ b/include/ndef.h @@ -37,4 +37,7 @@ int near_ndef_parse(struct near_tag *tag, uint8_t *ndef_data, size_t ndef_length struct near_ndef_message *near_ndef_prepare_text_record(char *encoding, char *language_code, char *text); +struct near_ndef_message *near_ndef_prepare_uri_record(uint8_t identifier, + uint32_t field_length, uint8_t *field); + #endif |