質問編集履歴
2
gccコンパイラのバージョン追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -83,3 +83,29 @@
|
|
83
83
|
};
|
84
84
|
|
85
85
|
```
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
yohhoyさんよりご指摘いただきました,C++コンパイラのバージョンについて追記です.
|
90
|
+
|
91
|
+
以下,
|
92
|
+
|
93
|
+
```
|
94
|
+
|
95
|
+
$ gcc --version
|
96
|
+
|
97
|
+
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1
|
98
|
+
|
99
|
+
Apple LLVM version 9.0.0 (clang-900.0.38)
|
100
|
+
|
101
|
+
Target: x86_64-apple-darwin17.2.0
|
102
|
+
|
103
|
+
Thread model: posix
|
104
|
+
|
105
|
+
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
|
106
|
+
|
107
|
+
```
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
また,使用しているOSはOS X 10.13.1です.
|
1
コードの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -61,3 +61,25 @@
|
|
61
61
|
*(config.password) = WIFI_PASS;
|
62
62
|
|
63
63
|
```
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
失礼いたしました.ご指摘いただきました,sdk_station_config構造体の定義を記載いたします.
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
```C
|
72
|
+
|
73
|
+
struct sdk_station_config {
|
74
|
+
|
75
|
+
uint8_t ssid[32]; /* Null terminated string */
|
76
|
+
|
77
|
+
uint8_t password[64]; /* Null terminated string */
|
78
|
+
|
79
|
+
uint8_t bssid_set; /* One if bssid is used, otherwise zero. */
|
80
|
+
|
81
|
+
uint8_t bssid[6]; /* The BSSID bytes */
|
82
|
+
|
83
|
+
};
|
84
|
+
|
85
|
+
```
|