Method private structure allocated failure
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- c
- 领域
- embedded-iot
调研方向
从链接的 user/user_main.c 示例开始,使用 ESP8266_NONOS_SDK_V2.0.0_16_08_10 复现 WPA2 Enterprise 连接,记录堆使用量以及“Method private structure allocated failure”输出。比较最小用户名/密码情形与 PEM 证书和私钥情形;完成标准是确定该分配失败的原因,并记录经验证的修正方案或限制。
由索引模型根据 Issue 内容生成。
描述
I added some of the enterprise functions to the basic_example and linked with wpa2, but I'm getting what sounds like an out of memory error even with this minimal program. This is with ESP8266_NONOS_SDK_V2.0.0_16_08_10, any ideas? I have the same error if I try a PEM client certificate and private key.
wifi_set_opmode(STATION_MODE);
wifi_station_set_wpa2_enterprise_auth(true);
wifi_station_set_reconnect_policy(false);
wifi_station_set_enterprise_username((u8*)EAP_USER, os_strlen(EAP_USER));
wifi_station_set_enterprise_password((u8*)EAP_PASSWORD, os_strlen(EAP_PASSWORD));
wifi_station_connect();
heap 46040 wifi status 1
state: 2 -> 0 (0)
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
cnt
Method private structure allocated failure
Full program here.
https://github.com/dfries/source-code-examples/blob/wpa2-eap/basic_example/user/user_main.c
- 主要语言
- Makefile
- 星标
- 278
- 派生
- 125
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
esp8266/source-code-examples 的其他 Issue
-
nnect未关闭
难度 5/5 一周以上 新手友好度 10/100
-
ji未关闭
难度 5/5 一周以上 新手友好度 1/100
-
ch未关闭
难度 5/5 一周以上 新手友好度 1/100
-
难度 4/5 3-5 天 新手友好度 38/100
-
难度 3/5 1-2 天 新手友好度 25/100
查看 esp8266/source-code-examples 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
zephyrproject-rtos/zephyr#121795 ·
维护者通常 2 天内回复
-
minstret adds an extra 0x4000 at every low-byte carry (regression from the XLEN parameter change)未关闭
难度 2/5 1-3 小时 新手友好度 78/100
chipsalliance/Cores-VeeR-EH2#56 · 2 条评论 ·
-
2P IPC yaw feedback is never updated (axisYawF_2P)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
NatLabRockies/ROSCO#510 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
-
new device support
难度 1/5 1 小时以内 新手友好度 74/100
Koenkk/zigbee2mqtt#33344 · 1 条评论 ·
维护者通常 1 天内回复