Skip to content

Commit

Permalink
Anjay-freertos-client 24.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Kucmasz committed Nov 13, 2024
1 parent c67435c commit 70ab5ca
Show file tree
Hide file tree
Showing 1,879 changed files with 429,523 additions and 104 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Projects/*/.cproject
Projects/*/.mxproject
Projects/*/.project
Projects/**/output.txt
Projects/**/*.o
Projects/**/STM32CubeIDE/crypto.txt
Projects/**/STM32CubeIDE/postbuild.sh
__pycache__/
Expand Down
8 changes: 8 additions & 0 deletions Application/Inc/anjay/anjay_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,14 @@
* composite type request.
*/
/* #undef ANJAY_WITHOUT_COMPOSITE_OPERATIONS */

/**
* Enable support for the experimental
* <c>anjay_get_server_connection_status()</c> API and related
* <c>anjay_server_connection_status_cb_t</c> callback.
*/
/* #undef ANJAY_WITH_CONN_STATUS_API */

/**@}*/

#endif // ANJAY_CONFIG_H
12 changes: 12 additions & 0 deletions Application/Inc/avsystem/coap/avs_coap_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,18 @@
*/
/* #undef WITH_AVS_COAP_OBSERVE_CANCEL_ON_TIMEOUT */

/**
* Force cancelling observation, even if a confirmable notification yielding
* an error response is not acknowledged or rejected with RST by the observer.
*
* This is a circumvention for some non-compliant servers that respond with an
* RST message to a confirmable notification yielding an error response. This
* setting makes the library cancel the observation in such cases, even though
* the notification is formally rejected. Additionally, it will also make the
* library cancel the observation if no response is received at all.
*/
#define WITH_AVS_COAP_OBSERVE_FORCE_CANCEL_ON_UNACKED_ERROR

/**
* Enable support for observation persistence (<c>avs_coap_observe_persist()</c>
* and <c>avs_coap_observe_restore()</c> calls).
Expand Down
2 changes: 1 addition & 1 deletion Application/Inc/default_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#else // USE_SIM_BOOTSTRAP
#define DEFAULT_USE_SIM_BOOTSTRAP "n"
#endif // USE_SIM_BOOTSTRAP
#define FIRMWARE_VERSION "24.05"
#define FIRMWARE_VERSION "24.11"
#define MD5_OF_ZERO_BYTES_INITIALIZER \
{ \
0xD4, 0x1D, 0x8C, 0xD9, 0x8F, 0x00, 0xB2, 0x04, 0xE9, 0x80, 0x09, \
Expand Down
1 change: 1 addition & 0 deletions Application/Src/sms_deliver_pdu_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ int sms_deliver_parse(const char *const pdu_str,
sms_deliver_message_t *out_sms_pdu) {
assert(pdu_str && out_sms_pdu);

avs_log(sms_trigger, TRACE, "Received SMS (CoAP PDU): %s", pdu_str);
size_t pdu_str_size = strlen(pdu_str);
if (pdu_str_size % 2 != 0 || pdu_str_size <= 2) {
return -1;
Expand Down
5 changes: 5 additions & 0 deletions Application/Src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,13 @@
#endif // defined(STM32L496xx) || defined(STM32L462xx)

#if defined(STM32U585xx)
#ifdef DEBUG
#include "stm32u5xx_ll_utils.h"
#define get_uid_word(word) LL_GetUID_Word##word()
#else // DEBUG
#include "non_secure_to_secure.h"
#define get_uid_word(word) Secure_GetUID_Word(word)
#endif // DEBUG
#endif // defined(STM32U585xx)

void get_uid(device_id_t *out_id) {
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 24.11 (Nov 13th, 2024)

### Features
- Added Firmware Update Object (/5) to B-U585I-IOT02 project

## 24.05 (May 28th, 2024)

### Features
Expand Down
Loading

0 comments on commit 70ab5ca

Please sign in to comment.