Skip to content

Commit 8dd4731

Browse files
Damien Laidinjoextodd
authored andcommitted
updated changelog and release files
1 parent 45caf1d commit 8dd4731

File tree

5 files changed

+14
-2
lines changed

5 files changed

+14
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Recent changes to the [Chirp Arduino SDK](https://developers.chirp.io/docs).
44

5-
## v3.4.0 (beta)
5+
## v3.4.0 (18/09/2019)
66
- All functions have been renamed to `chirp_sdk*` from `chirp_connect*`
77
- `chirp_sdk_get_heap_usage` has been added. This gives you the current dynamic memory allocated and used at any time by the SDK.
88
- `chirp_connect_pause` has been removed.

src/chirp_sdk.h

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,19 @@ PUBLIC_SYM chirp_sdk_t *new_chirp_sdk(const char *key, const char *secret);
6868
PUBLIC_SYM chirp_sdk_error_code_t del_chirp_sdk(chirp_sdk_t **sdk);
6969

7070
/**
71-
* Free some memory previously allocated and returned by the SDK.
71+
* Free memory previously allocated and returned by the SDK.
72+
*
73+
* Note that this does not free the SDK itself. For this, use `del_chirp_sdk`
74+
* above.
75+
*
76+
* This function should be called to free the memory returned by the
77+
* following functions:
78+
*
79+
* `chirp_sdk_get_info`
80+
* `chirp_sdk_random_payload`
81+
*
82+
* As well as freeing the memory, this function tracks the ongoing heap
83+
* allocation which can be queried with `chirp_sdk_get_heap_usage`.
7284
*
7385
* @param ptr The pointer to the memory to be freed.
7486
*/

src/cortex-m0plus/libChirpSDK.a

0 Bytes
Binary file not shown.

src/cortex-m4/libChirpSDK.a

0 Bytes
Binary file not shown.

src/esp32/libChirpSDK.a

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)