zephyr/samples/net/dns_client/README_API
Flavio Santes 13a75b7e42 dns: Remove deprecated functionality
This commit removes deprecated APIs and replaces them with routines
that provide similar functionality without the flexibility originally
offered by the deprecated APIs.

Removing deprecated routines will help us to be prepared once the
new IP stack is ready (ZEP-793). Furthermore, this commit will also
help us to move our current DNS Client implementation to the lib/iot
directory, as specified by ZEP-847.

This commit removes the netz library from the DNS client sample
application. UDP functionality is replaced by primitive routines.
Specifically, the following changes are applied by this patch:

- Remove netz routines
- Remove app_buf data structure
- Introduce primitive data types in the DNS client code
- Introduce primitive network routines
- Add a header file containing configurable parameters

Jira: ZEP-793
Jira: ZEP-847

Change-Id: I0302133da77308f0cdd9ace2c0265e6b77673ff0
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-09-12 02:15:44 +00:00

23 lines
688 B
Plaintext

DNS Client API
-----------------------------------------------------------------------
THIS API IS STILL WORK IN PROGRESS
-----------------------------------------------------------------------
The DNS Client API for Zephyr is a collection of C files:
- dns_pack.h, dns_pack.c:
RFC 1035 serialization and deserialization functions
- dns_utils.h. dns_utils.c:
Helper functions
TODO
- Implement high-level functions to handle the server's response
- Remove:
* dns_query in src/main.c and handle the Transaction
Identifier internally.
* dns_response in src/main.c once high-level functions are
available.