Home
last modified time | relevance | path

Searched full:url (Results 1 – 25 of 72) sorted by relevance

123

/openthread-latest/src/lib/url/
Durl.cpp29 #include "lib/url/url.hpp"
38 namespace Url { namespace
40 Url::Url(void) in Url() function in ot::Url::Url
48 otError Url::Init(char *aUrl) in Init()
51 char *url = aUrl; in Init() local
56 url = strstr(aUrl, "://"); in Init()
57 VerifyOrExit(url != nullptr, error = OT_ERROR_PARSE); in Init()
58 *url = '\0'; in Init()
59 url += sizeof("://") - 1; in Init()
60 mPath = url; in Init()
[all …]
Durl.hpp38 * Represents a URL.
42 const char *mProtocol; ///< The URL protocol.
44 const char *mQuery; ///< The start of the URL query string.
45 const char *mEnd; ///< The end of the URL buffer.
49 namespace Url { namespace
52 * Implements the URL processing.
54 class Url : public otUrl class
57 Url(void);
60 * Initializes the URL.
62 * @param[in] aUrl A buffer stores the null-terminated URL string.
[all …]
DCMakeLists.txt29 add_library(openthread-url EXCLUDE_FROM_ALL
30 url.cpp
33 target_link_libraries(openthread-url PRIVATE ot-config)
/openthread-latest/tests/unit/
Dtest_url.cpp32 #include "lib/url/url.hpp"
35 namespace Url { namespace
39 char url[] = "spinel:///dev/ttyUSB0?baudrate=115200"; in TestSimple() local
40 Url args; in TestSimple()
42 VerifyOrQuit(!args.Init(url)); in TestSimple()
47 VerifyOrQuit(args.GetValue("last-value-wrong-position", url) == nullptr); in TestSimple()
48 VerifyOrQuit(args.GetValue("last-value-before-url", url - 1) == nullptr); in TestSimple()
49 VerifyOrQuit(args.GetValue("last-value-after-url", url + sizeof(url)) == nullptr); in TestSimple()
56 char url[] = "spinel:///dev/ttyUSB0"; in TestSimpleNoQueryString() local
57 Url args; in TestSimpleNoQueryString()
[all …]
/openthread-latest/src/posix/platform/
Dradio_url.hpp37 #include "lib/url/url.hpp"
43 * Implements the radio URL processing.
45 class RadioUrl : public ot::Url::Url
51 * @param[in] aUrl The null-terminated URL string.
56 * Initializes the radio URL.
58 * @param[in] aUrl The null-terminated URL string.
Dvendor_interface_example.cpp52 explicit VendorInterfaceImpl(const Url::Url &aRadioUrl) in VendorInterfaceImpl()
60 const Url::Url &mRadioUrl;
69 VendorInterface::VendorInterface(const Url::Url &aRadioUrl) in VendorInterface()
Dhdlc_interface.hpp59 * @param[in] aRadioUrl RadioUrl parsed from radio url.
61 HdlcInterface(const Url::Url &aRadioUrl);
222 int OpenFile(const Url::Url &aRadioUrl);
230 static int ForkPty(const Url::Url &aRadioUrl);
249 const Url::Url &mRadioUrl;
Dspi_interface.hpp62 * @param[in] aRadioUrl RadioUrl parsed from radio url.
64 SpiInterface(const Url::Url &aRadioUrl);
215 const Url::Url &mRadioUrl;
Dvendor_interface.hpp56 * @param[in] aRadioUrl RadioUrl parsed from radio url.
58 VendorInterface(const Url::Url &aRadioUrl);
Dplatform-posix.h57 #include "lib/url/url.hpp"
137 * @param[in] aUrl A pointer to the null-terminated radio URL.
331 * @param[in] aTrelUrl The TREL URL (configuration for TREL platform).
391 * @param[in] aUrl A pointer to the null-terminated spinel URL.
Dradio_url.cpp41 "Radio Url format:" \ in otSysGetRadioUrlHelpString()
146 SuccessOrDie(Url::Url::Init(mUrl)); in Init()
Dhdlc_interface.cpp133 HdlcInterface::HdlcInterface(const Url::Url &aRadioUrl) in HdlcInterface()
450 int HdlcInterface::OpenFile(const Url::Url &aRadioUrl) in OpenFile()
661 int HdlcInterface::ForkPty(const Url::Url &aRadioUrl) in ForkPty()
Dsystem.cpp93 ot::Posix::RadioUrl url(aUrls.mUrls[i]); in get802154RadioUrl() local
95 if (strcmp(url.GetProtocol(), "trel") == 0) in get802154RadioUrl()
115 ot::Posix::RadioUrl url(aPlatformConfig->mCoprocessorUrls.mUrls[i]); in getTrelRadioUrl() local
117 if (strcmp(url.GetProtocol(), "trel") == 0) in getTrelRadioUrl()
/openthread-latest/third_party/mbedtls/repo/tests/git-scripts/
Dpre-push.sh16 # $2 -- URL to which the push is being done
27 URL="$2"
30 echo "URL is $URL"
/openthread-latest/src/cli/
DREADME_JOINER.md66 Usage: `joiner start <pskd> [provisioning-url]`
71 - provisioning-url: Provisioning URL for the Joiner (optional).
Dcli_joiner.cpp145 * @cparam joiner start @ca{joining-device-credential} [@ca{provisioning-url}]
149 * * `provisioning-url`: Provisioning URL for the %Joiner (optional).
/openthread-latest/third_party/mbedtls/repo/.github/ISSUE_TEMPLATE/
Dconfig.yml4 url: mailto:mbed-tls-security@lists.trustedfirmware.org
7 url: https://lists.trustedfirmware.org/mailman3/lists/mbed-tls.lists.trustedfirmware.org
/openthread-latest/include/openthread/
Dnetdiag.h79 #define OT_NETWORK_DIAGNOSTIC_TLV_VENDOR_APP_URL 35 ///< Vendor App URL TLV
85 …OT_NETWORK_DIAGNOSTIC_MAX_VENDOR_APP_URL_TLV_LENGTH 96 ///< Max length of Vendor App URL TLV.
337 * Get the vendor app URL string.
341 * @returns The vendor app URL string.
394 * Set the vendor app URL string.
402 * @param[in] aVendorAppUrl The vendor app URL string.
404 * @retval OT_ERROR_NONE Successfully set the vendor app URL string.
Dcommissioner.h82 #define OT_PROVISIONING_URL_MAX_SIZE 64 ///< Max size (number of chars) in Provisioning URL string …
299 * Gets the Provisioning URL.
303 * @returns A pointer to the URL string.
308 * Sets the Provisioning URL.
311 …* @param[in] aProvisioningUrl A pointer to the Provisioning URL (may be NULL to set as empty…
313 * @retval OT_ERROR_NONE Successfully set the Provisioning URL.
/openthread-latest/src/core/thread/
Dnetwork_diagnostic.hpp137 * Returns the vendor app URL string.
139 * @returns the vendor app URL string.
144 * Sets the vendor app URL string.
146 * @param[in] aVendorAppUrl The vendor app URL string
148 * @retval kErrorNone Successfully set the vendor app URL.
/openthread-latest/tests/scripts/thread-cert/
Dmesh_cop.py541 def __init__(self, url): argument
542 self._url = url
545 def url(self): member in ProvisioningUrl
549 return "ProvisioningUrl(url={})".format(self.url)
555 url = data.getvalue().decode('utf-8')
556 return ProvisioningUrl(url)
642 return "Vendor(url={})".format(self.vendor_data)
/openthread-latest/src/core/meshcop/
Dcommissioner.hpp249 * Gets the Provisioning URL.
251 * @returns A pointer to char buffer containing the URL string.
256 * Sets the Provisioning URL.
258 …* @param[in] aProvisioningUrl A pointer to the Provisioning URL (may be `nullptr` to set URL to …
260 * @retval kErrorNone Successfully set the Provisioning URL.
/openthread-latest/tools/harness-automation/doc/
Dconf.py241 # base URL from which the finished HTML is served.
311 # If true, show URL addresses after external links.
335 # If true, show URL addresses after external links.
362 # How to display URL addresses: 'footnote', 'no', or 'inline'.
/openthread-latest/third_party/mbedtls/repo/
D.gitmodules3 url = https://github.com/Mbed-TLS/mbedtls-framework
/openthread-latest/third_party/mbedtls/repo/pkgconfig/
Dmbedcrypto.pc.in7 URL: @PKGCONFIG_PROJECT_HOMEPAGE_URL@

123