任天堂乐园: Difference between revisions
translate 10% |
No edit summary |
||
Line 11: | Line 11: | ||
=== Beacon payload format === | === Beacon payload format === | ||
除去未知部分,3DS Nzone应该是与DS(i) NZone格式相同的, (不支持WPA2)。3DS NZone不像DS(i)一样有锁区。 | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 29: | Line 29: | ||
| 0x2a | | 0x2a | ||
| 2 | | 2 | ||
| | | 这个u16在所有dump中相同,但是不清楚是什么.客户端没有使用它 | ||
|- | |- | ||
| 0x2c | | 0x2c | ||
| 24 | | 24 | ||
| | | 一些 UTF-16 编码的服务名.比如 "BestBuy" | ||
|- | |- | ||
| 0x44 | | 0x44 | ||
| 32 | | 32 | ||
| | | AP加密密钥(如果存在的话) | ||
|- | |- | ||
| 0x64 | | 0x64 | ||
| 1 | | 1 | ||
| | | 未知,DS(i)客户端未使用.3DS的值为0x1, DS(i)的值为0x0. | ||
|- | |- | ||
| 0x65 | | 0x65 | ||
| 1 | | 1 | ||
| | | AP密钥类型: 0) 开放 1) WEP-64 2) WEP-128 3) WEP-152 | ||
|- | |- | ||
| 0x66 | | 0x66 | ||
| 1 | | 1 | ||
| | | 未知 flags, 3DS的值为0x1e,DS(i)的值为0x3. 客户端似乎没有使用第0位和第1位的值. DS(i)客户端使用了第2位的值,但是仍然不明白是什么. ( 第0/1/2位是二进制的地位,bit0/bit1/bit2) | ||
|- | |- | ||
| 0x67 | | 0x67 | ||
| 5 | | 5 | ||
| | | 填充 | ||
|- | |- | ||
| 0x6c | | 0x6c | ||
| 2 | | 2 | ||
| | | 未知.3DS为0, DS(i)为0x428. | ||
|- | |- | ||
| 0x6e | | 0x6e | ||
| 2 | | 2 | ||
| | | CRC偏移以外的整个payload的CRC16, initval为0. | ||
|} | |} | ||
== | == 无线热点 == | ||
=== Hotspot.conf | === Hotspot.conf 格式 === | ||
AC系统applet从"conf:/hotspot.conf"加载NZone无线热点的列表,其中"conf:" 是 000400DB00010502 文档的内容. 这是一个使用 LF换行的CSV文件,每个NZone的全部beacon信息也存储在这个文件中. 这个文件列出多至100个热点.(title版本v1024的hotspot.conf列出了52个热点). 这个格式可以使用[https://github.com/yellows8/hotspotconf-tool hotspotconf-tool]解析. | |||
Beginning the CSV file is the Interval record and field. Following that is the hotspot records on one line, and the fields for each hotspot on individual lines. Some fields are Base64-encoded, for those the Base64 padding character '*' is used instead of '='. | Beginning the CSV file is the Interval record and field. Following that is the hotspot records on one line, and the fields for each hotspot on individual lines. Some fields are Base64-encoded, for those the Base64 padding character '*' is used instead of '='. |