質問編集履歴
2
gccコンパイラのバージョン追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -40,4 +40,17 @@
|
|
40
40
|
uint8_t bssid_set; /* One if bssid is used, otherwise zero. */
|
41
41
|
uint8_t bssid[6]; /* The BSSID bytes */
|
42
42
|
};
|
43
|
-
```
|
43
|
+
```
|
44
|
+
|
45
|
+
yohhoyさんよりご指摘いただきました,C++コンパイラのバージョンについて追記です.
|
46
|
+
以下,
|
47
|
+
```
|
48
|
+
$ gcc --version
|
49
|
+
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
|
50
|
+
Apple LLVM version 9.0.0 (clang-900.0.38)
|
51
|
+
Target: x86_64-apple-darwin17.2.0
|
52
|
+
Thread model: posix
|
53
|
+
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
|
54
|
+
```
|
55
|
+
|
56
|
+
また,使用しているOSはOS X 10.13.1です.
|
1
コードの追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -29,4 +29,15 @@
|
|
29
29
|
struct sdk_station_config config;
|
30
30
|
*(config.ssid) = WIFI_SSID;
|
31
31
|
*(config.password) = WIFI_PASS;
|
32
|
+
```
|
33
|
+
|
34
|
+
失礼いたしました.ご指摘いただきました,sdk_station_config構造体の定義を記載いたします.
|
35
|
+
|
36
|
+
```C
|
37
|
+
struct sdk_station_config {
|
38
|
+
uint8_t ssid[32]; /* Null terminated string */
|
39
|
+
uint8_t password[64]; /* Null terminated string */
|
40
|
+
uint8_t bssid_set; /* One if bssid is used, otherwise zero. */
|
41
|
+
uint8_t bssid[6]; /* The BSSID bytes */
|
42
|
+
};
|
32
43
|
```
|