element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Single-Board Computers
  • Products
  • Dev Tools
  • Single-Board Computers
  • More
  • Cancel
Single-Board Computers
Forum Explore-NFC, neard, neardal incompatibilities
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Single-Board Computers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 3 replies
  • Subscribers 58 subscribers
  • Views 350 views
  • Users 0 members are here
Related

Explore-NFC, neard, neardal incompatibilities

Former Member
Former Member over 10 years ago

I have purchased two Explore-NFC boards and connected them to Raspberry Pi 2 B boards.  I downloaded SW282713, which contains three .deb files.  These all install nicely and allow explorenfc-basic to work just fine. 

QUESTION #1: However, the download SW282814 contains neard-explorenfc-0.8.  Within this is a file examples/basic.c.  It uses a structure, neardal_tag, which is incompatible with neardal_tag definition in neardal.h (from the only neardal available, neardal-0.14). Where is the version of neardal that you used to compile basic.c?  It is clearly not neardal-0.14!

I have also attempted to follow the README.md instructions.  Many of the apt-get commands do not work, for those versions are no longer available or the command is incomplete.  I was able to work around each of the inconsistencies in this readme.md file, and get to the point of compiling examples/basic.c by getting an older version from your web site. I can now create my own NFC card reading programs, but this leads to the following question:

QUESTION #2: I would like to use the neard and/or neardal libraries to develop an NFC peer-to-peer capability.  I cannot find any documentation on the API for either of these libraries.  (The only thing I can find is to read the actual C code for neard and neardal examples, which may be woefully incomplete.) Please provide me with documentation or links to documentation describing the API calls available for neard and neardal.

I am not a hobbyist. I am a commercial developer attempting to design a product that would incorporate an NXP NFC chip.

  • Sign in to reply
  • Cancel
  • clem57
    0 clem57 over 10 years ago

    The API's should be standard so maybe this can help  Web NFC API

    or a book Beginning NFC ‹ Wow! eBook

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • element14support
    0 element14support over 10 years ago

    Hello eddie24

    Welcome to the element14 Community, I will move this over to the Single-Board Computers area as it is a better fit.

     

    Thank you,

     

    Jamie

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to clem57

    I already have read "Beginning NFC" which I purchased directly from O'Reilly's web site.  (That "Wow eBook" site is saturated with hideous ads all over the site, including obscene ads.  I would advise anyone to scrupulously avoid it. NSFW!!)  I have written a fair amount of code using the Android PhoneGap-NFC library. However, I am now trying to use neard and neardal on a Raspberry Pi with the Element 14 NXP NFC board that nicely plugs directly onto the Pi.  All of the source code and examples are in C (not even C++).  Clearly, the API would be in the form of C function/subroutine/library calls.  I am looking for a "man page" style description of the C-language API calls that are made available by neard and neardal.  I have learned a few of the apparent calls simply by studying the example code.  But, the examples supplied only read tags; none of the examples write a tag or perform peer-to-peer functions.  Therefore, it's a bit difficult to discern the appropriate calls beyond reading a tag.  The link that you provided for the Web NFC API does not appear to resemble any sort of enumeration of C-language API or library calls. If you're saying that neard and neardal should have some sort of "standard" NFC calls, where might I be able to find such a list of such "standard" API calls in C?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube