[meshcop] move border agent into core (#2771)

This commit moves the border agent service into OpenThread core.

Border agent, commissioner, and joiner shares a single secure CoAP agent,
because they will not be active at the same time.

Other changes include:
- Replaced TMF proxy with UDP proxy, which is more generalized.
- Changed OT_ERROR_NONE string to "OK".
- Defined a special interface id -1 to differentiate packets received by
  host side.
This commit is contained in:
Yakun Xu
2018-07-09 15:25:23 -05:00
committed by Jonathan Hui
parent 8555513247
commit 96a7e2d5a5
41 changed files with 1133 additions and 685 deletions
+1 -1
View File
@@ -3440,7 +3440,7 @@ otThreadErrorToString(
switch (aError)
{
case OT_ERROR_NONE:
retval = "None";
retval = "OK";
break;
case OT_ERROR_FAILED: