You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 22, 2023. It is now read-only.
Merge pull request #58 Release Version 1.0.1 from GoogleCloudPlatform/development
# Google Cloud IoT Core Device SDK for Embedded C version 1.0.1
#### April 8, 2019
- The TLS Board Support Package (BSP) reference implementation for mbedTLS has been updated to use deterministic ECDSA signatures.
- `iotc_get_state_string` may now be used to query error strings for application debugging. See `include/iotc_error.h` to enable this feature.
- Updated the gtest framework compilation standard to c++14. This does not affect the IoT Device SDK library sources.
- Documentation:
- Updates to the Device SDK [API](https://googlecloudplatform.github.io/iot-device-sdk-embedded-c/api/html/) and [BSP](https://googlecloudplatform.github.io/iot-device-sdk-embedded-c/bsp/html/) doxygen documentation.
- [`README.md`](README.md) formatting updates.
- [`CONTRIBUTING.md`](CONTRIBUTING.md) includes a new pull request processes and a link to the Google style guidelines.
- Networking BSP:
- Added UDP and IPv6 support.
- Removed the function `iotc_bsp_io_net_create_socket`. Sockets should now be created in BSP implementations of `iotc_bsp_iot_net_socket_connect`.
- See `include/bsp/iotc_bsp_io_net.h` for more information about these changes.
- Removed `src/bsp/platform/posix/iotc_bsp_hton.h` as it was no longer required.
- Time API:
- The `iotc_time_t` typedef is now defined as an `int64_t`.
- Added the function `iotc_bsp_time_getmonotonictime_milliseconds`.
- See `include/bsp/iotc_time.h` for more information about these changes.
for the recommended coding standards for this organization.
30
+
you are contributing.
31
+
1. If your code requires a tutorial, readme, or other documentation, please refer to the
32
+
[Google Cloud Platform Community Tutorial Style Guide](https://cloud.google.com/community/tutorials/styleguide)for the recommended coding standards for this organization.
33
33
1. Ensure that your code has an appropriate set of unit tests which all pass.
34
-
1. Submit a pull request.
35
-
34
+
1. Submit a pull request against the `development` branch. The master branch is for official releases only.
-**bin**: Executables and libraries produced by a build.
17
-
-**doc**: Documentation: Doxygen references, user guide, and porting guide.
18
-
-**examples**: Example source with makefiles. After you build with `make`, this directory will also contain the example executables.
19
-
-**include**: Header files of the Device SDK API. You must add this directory to the header include path when compiling your application against the source.
20
-
-**include/bsp**: Header files of the Board Support Package (BSP). Functions declared here must be defined in a device-specific BSP implementation. When compiling your BSP source, make sure this directory is on the include path.
21
-
-**make**: Build system configuration files.
22
-
-**obj**: Object files generated during a build.
23
-
-**res**: Resource files (for example, trusted root CA certificates.)
24
-
-**src**: The source files of the Device SDK. A BSP implementation is provided for POSIX.
-**tools**: Scripts used by the maintainers of the repository.
20
+
-`bin`: Executables and libraries produced by a build.
21
+
-[`doc`](doc): Documentation: Doxygen references, user guide, and porting guide.
22
+
-[`examples`](examples): Example source with makefiles. After you build with `make`, this directory will also contain the example executables.
23
+
-[`include`](include): Header files of the Device SDK API. You must add this directory to the header include path when compiling your application against the source.
24
+
-[`include/bsp`](include/bsp): Header files of the Board Support Package (BSP). Functions declared here must be defined in a device-specific BSP implementation. When compiling your BSP source, make sure this directory is on the include path.
25
+
-[`make`](make): Build system configuration files.
26
+
-`obj`: Object files generated during a build.
27
+
-[`res`](res): Resource files (for example, trusted root CA certificates.)
28
+
-[`src`](src): The source files of the Device SDK. A BSP implementation is provided for POSIX.
-[`tools`](tools): Scripts used by the maintainers of the repository.
27
31
28
32
## Building
29
33
30
-
The default build environment for the Device SDK is `make`. It invokes [GCC](https://www.gnu.org/software/gcc/) to produce a native build on a POSIX host. This serves as the default development environment on Ubuntu.
34
+
The default build tool for the Device SDK is `make`. It invokes [GCC](https://www.gnu.org/software/gcc/) to produce a native build on a POSIX host. This serves as the default development environment on Ubuntu.
31
35
32
36
Run the following command to build the Device SDK:
33
37
34
38
```
35
39
make
36
40
```
37
41
38
-
The source can be cross-compiled to other target platforms via custom toolchains and the makefile, or with a specific device SDK’s IDE. For more information, see the porting guide in `doc/porting_guide.md`.
42
+
The source can be cross-compiled to other target platforms via custom toolchains and the makefile, or with a specific device SDK’s IDE. For more information, see [the porting guide](doc/porting_guide.md).
39
43
40
44
### Building a TLS static library
41
45
@@ -50,9 +54,9 @@ make clean
50
54
make IOTC_BSP_TLS=wolfssl
51
55
```
52
56
53
-
The value of IOTC_BSP_TLS determines which script is run.
54
-
- mbedTLS: `res/tls/build_mbedtls.sh`
55
-
- wolfSSL: `res/tls/build_wolfssl.sh`
57
+
The value of `IOTC_BSP_TLS` determines which script is run.
The mbedTLS build script includes a git clone and branch checkout of the mbedTLS source (upon confirmation of the license agreement). However, the wolfSSL build script requires you to clone the repository yourself. When you run `make IOTC_BSP_TLS=wolfSSL`, instructions are provided for cloning the repository.
58
62
@@ -78,7 +82,7 @@ Before building the examples, build both the Device SDK static library and a TLS
78
82
1. Create a project, registry and device in Cloud IoT Core.
3. Follow the steps in the examples README.md files to provision the device credentials and build the client applications.
81
-
4. Run `make` in the examples home folders. The `make` process automatically downloads the Google Root CA PEM file to the example directories. The file enables TLS when communicating with Cloud IoT Core.
85
+
4. Run `make` in the [`examples`](examples) folder. The `make` process automatically downloads the Google Root CA PEM file to the example directories. The file enables TLS when communicating with Cloud IoT Core.
82
86
83
87
To securely connect to Cloud IoT Core, a root CA `.pem` file must be in the current working directory of the example executables. By default, the file is in `res/trusted_RootCA_certs/roots.pem` and contains two certificates that validate Cloud IoT Core credentials. The `make` process automatically moves this file from `res/trusted_RootCA_certs/roots.pem` to the correct location.
84
88
@@ -93,7 +97,7 @@ Follow the steps below to perform the cross-compilation process.
93
97
- Build a TLS BSP implementation to invoke the TLS SDK for your platform. Store these in a new directory `src/bsp/tls/TARGET_TLS_SOLUTION`.
94
98
- Build a Cryptography BSP implementation to handle key signatures of JWTs on your target platform in the directory `src/bsp/crypto/TARGET_CRYPTO_SOLUCTION`.
95
99
96
-
For more details on the cross-compilation process, see the porting guide in `doc/porting_guide.md`.
100
+
For more details on the cross-compilation process, see [the porting guide](doc/porting_guide.md).
97
101
98
102
## Security
99
103
@@ -109,27 +113,28 @@ The Device SDK supports other TLS libraries through the BSP TLS API. For informa
For information about contributing to this repository, see `CONTRIBUTING.MD`.
123
+
For information about contributing to this repository, see
124
+
[`CONTRIBUTING.md`](CONTRIBUTING.md).
120
125
121
126
## Learn more
122
127
123
-
Review the following documentation.
128
+
Review the following documentation:
124
129
125
-
-[doc/user_guide.md](https://github.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/blob/master/doc/user_guide.md): User guide that covers Device SDK features and usage.
126
-
-[doc/porting_guide.md](https://github.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/blob/master/doc/porting_guide.md): Porting guide that provides information about porting the Device SDK to target devices.
127
-
- Device SDK [API](https://googlecloudplatform.github.io/iot-device-sdk-embedded-c/api/html/index.html) and [BSP](https://googlecloudplatform.github.io/iot-device-sdk-embedded-c/bsp/html/index.html) references.
130
+
-[`doc/user_guide.md`](doc/user_guide.md): User guide that covers Device SDK features and usage.
131
+
-[`doc/porting_guide.md`](doc/porting_guide.md): Porting guide that provides information about porting the Device SDK to target devices.
132
+
- Device SDK [API](https://googlecloudplatform.github.io/iot-device-sdk-embedded-c/api/html/) and [BSP](https://googlecloudplatform.github.io/iot-device-sdk-embedded-c/bsp/html/) references.
128
133
129
134
## License
130
135
131
136
Copyright 2018-2019 Google LLC
132
137
133
138
Licensed under the BSD 3-Clause license.
134
139
135
-
For more information, see `LICENSE.md`.
140
+
For more information, see [`LICENSE.md`](LICENSE.md).
Copy file name to clipboardexpand all lines: RELEASE-NOTES.md
+25
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,28 @@
1
+
# Google Cloud IoT Core Device SDK for Embedded C version 1.0.1
2
+
#### April 8, 2019
3
+
4
+
- The TLS Board Support Package (BSP) reference implementation for mbedTLS has been updated to use deterministic ECDSA signatures.
5
+
6
+
-`iotc_get_state_string` may now be used to query error strings for application debugging. See `include/iotc_error.h` to enable this feature.
7
+
8
+
- Updated the gtest framework compilation standard to c++14. This does not affect the IoT Device SDK library sources.
9
+
10
+
- Documentation:
11
+
- Updates to the Device SDK [API](https://googlecloudplatform.github.io/iot-device-sdk-embedded-c/api/html/) and [BSP](https://googlecloudplatform.github.io/iot-device-sdk-embedded-c/bsp/html/) doxygen documentation.
12
+
-[`README.md`](README.md) formatting updates.
13
+
-[`CONTRIBUTING.md`](CONTRIBUTING.md) includes a new pull request processes and a link to the Google style guidelines.
14
+
15
+
- Networking BSP:
16
+
- Added UDP and IPv6 support.
17
+
- Removed the function `iotc_bsp_io_net_create_socket`. Sockets should now be created in BSP implementations of `iotc_bsp_iot_net_socket_connect`.
18
+
- See `include/bsp/iotc_bsp_io_net.h` for more information about these changes.
19
+
- Removed `src/bsp/platform/posix/iotc_bsp_hton.h` as it was no longer required.
20
+
21
+
- Time API:
22
+
- The `iotc_time_t` typedef is now defined as an `int64_t`.
23
+
- Added the function `iotc_bsp_time_getmonotonictime_milliseconds`.
24
+
- See `include/bsp/iotc_time.h` for more information about these changes.
25
+
1
26
# Google Cloud IoT Core Device SDK for Embedded C version 1.0
0 commit comments