完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
[WICED-SK-2.2.1]
我们试图通过WPS连接路由器,而不必修改DCT,因此使用的是低级WICDEDWiFiFig()。 我们的代码使用WICDEXWPSYEnROLLIEE()来查找APS和WICDEDWiFig Cube()来加入它们。 连接()返回WICEDID成功,WICEDDYNETWorksIsUpUP(WICEDIJSTAXFILL)在加入后立即返回true。 然而,尝试使用此接口的后续代码在链接检查阶段失败。 例如,WICDEDUDPYCREATEYSOCKET()返回-4(WICEDEXNOTUP)。 当我们不是硬编码这个接入点的凭据和使用wiced_network_up(),我们没有遇到任何问题。 我们需要采取什么步骤前/后wiced_wifi_join()造就我们的连接? 以上来自于百度翻译 以下为原文 [WICED-SDK-2.2.1] We are attempting to connect with a router through WPS without having to modify the DCT, and thus are using the low-level wiced_wifi_join(). Our code uses wiced_wps_enrollee() to find APs and wiced_wifi_join() to join them. join() returns WICED_SUCCESS, and wiced_network_is_up(WICED_STA_INTERFACE) returns TRUE immediately after joining. Subsequent code that attempts to use this interface, however, fails at the link check stage. For example, wiced_udp_create_socket() returns -4 (WICED_NOTUP). When we instead hardcode this access points credentials and use wiced_network_up(), we do not run into any issues. What steps do we need to take before/after wiced_wifi_join() to bring up our connection? |
|
相关推荐
6个回答
|
|
连接有两个部分,第一个是Wi-Fi链路,第二个是IP层。
如果您查看WiDDyNETWorksUp(),您将看到WICDEDWiFiFig()之后需要的步骤。 以上来自于百度翻译 以下为原文 There are two parts to bring up the connection, the first is the Wi-Fi link and the second is the IP layer. If you look at wiced_network_up() you will see the steps required after wiced_wifi_join(). |
|
|
|
谢谢。如何在没有更多的情况下执行这个IP层初始化
依赖于我的应用程序的网络堆栈依赖调用? 以上来自于百度翻译 以下为原文 Thanks. How can I perform this IP layer initialization without more networking stack-dependent calls from my application? |
|
|
|
IP网络协议栈的初始化都是独特的,为什么我们创造了wiced_network_up()。
以什么样的方式是wiced_network_up()不适合你的需要? 我们能否改进API或您有独特的要求吗? 以上来自于百度翻译 以下为原文 The IP initialization is unique to each network stack and is the reason why we have created wiced_network_up(). In what way is wiced_network_up() not suitable for your needs? Can we improve the API or do you have unique requirements? |
|
|
|
不幸的是,WiDeJETNETWorksUp()依赖于WICDEDIONJIONAPO(),它得到了它的
来自DCT的接入点信息。 我想先将加入WPS确定接入点 在DCT的接入点。我希望能有办法避免这种复杂性。 如果使用DCT是不可避免的与当前的API,我们将只使用 DCT。我不认为我们的用例是令一个API不够显著 除了。 以上来自于百度翻译 以下为原文 Unfortunately, wiced_network_up() relies on wiced_join_ap(), which gets its access point info from the DCT. Im trying to join a WPS-identified access point without first placing that access point in the DCT. I was hoping there would be a way to avoid this complexity. If using the DCT is unavoidable with the current API, we will just use the DCT. I dont think our use case is significant enough to warrant an API addition. |
|
|
|
你可以很容易地创建一个副本,然后wiced_network_up()
定制它提供你所需要的功能。 以上来自于百度翻译 以下为原文 You can easily create a copy of wiced_network_up() and then customize it to provide the functionality you need. |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
716个成员聚集在这个小组
加入小组1901 浏览 1 评论
1652 浏览 1 评论
3405 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1568 浏览 6 评论
1380 浏览 1 评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
188浏览 2评论
184浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
322浏览 2评论
350浏览 1评论
62浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-4-24 16:12 , Processed in 0.693941 second(s), Total 80, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号