-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0992be0
commit fe79e21
Showing
22 changed files
with
1,325 additions
and
780 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## [v3.1](https://github.com/sigfox-tech-radio/sigfox-ep-lib/releases/tag/v3.1) - 01 Mar 2023 | ||
|
||
### General | ||
|
||
* Add `CHANGELOG` file. | ||
|
||
### Added | ||
|
||
* Add `MCU_API_timer_status()` function to facilitate **timeout management in RF API** functions. | ||
* Add **logical names for timers** (`MCU_API_TIMER_INSTANCE_xxx` macros) in MCU API to define instances mapping. | ||
* Add `reason` field in timer structure. | ||
* Add `RF_API_get_latency()` function to compensate **radio delays** in MCU API timers duration. | ||
* Add new **bypass flags** in test API for RFP addon (`ul_enable`, `dl_enable`, `dl_decoding_enable`, `dl_conf_enable`, `ldc_check_enable` bits, `rx_frequency_hz`, `cs_max_duration_first_frame_ms`, and `dl_t_w_ms` / `dl_t_rx_ms` timing values). | ||
* Add **Low Duty Cycle (LDC) check** in TX control. | ||
* Add `MCU_API_print_dl_payload()` function to **print RFP addon downlink results**. | ||
|
||
### Changed | ||
|
||
* Rename fields of message status and split error flag into `execution_error` and `network_error` to **differentiate internal execution errors from external errors** such as TX control failure or downlink reception timeout. | ||
* Move `SIGFOX_UL_BITSTREAM_SIZE_BYTES` **macro** in `inc/sigfox_types.h` to avoid core files inclusion in manufacturer drivers. | ||
* Improve **manufacturer functions call sequence** (`Tw` timer and downlink ending). | ||
* **Random frequency generator**: optimize RAM footprint and increase allowed bandwidth of N=1 and N=2 modes. | ||
* Remove all **function pointers** in blocking mode for specific compilers compatibility. | ||
* Change default 32 bits type to `long`. | ||
* Rename `sigfox_ep_version.h` to `sigfox_ep_lib_version.h`. | ||
* Use `RETURN` macro in manufacturer functions **template**. | ||
|
||
### Fixed | ||
|
||
* **Buffer overflow** in downlink frame decoding functions (`src/core/sigfox_ep_bitstream.c`). | ||
* Wrong application message **pointer access** in blocking mode (`src/sigfox_ep_api.c`). | ||
* Wrong **LBT carrier sense timeout** computation for second and third frames (`src/core/sigfox_tx_control.c`). | ||
|
||
### Removed | ||
|
||
* Remove `dl_phy_content_size` field in **RX data structure**, as it is fixed to `SIGFOX_DL_PHY_CONTENT_SIZE_BYTES`. | ||
|
||
## [v3.0](https://github.com/sigfox-tech-radio/sigfox-ep-lib/releases/tag/v3.0) - 12 Dec 2022 | ||
|
||
### General | ||
|
||
* First version of the new Sigfox EP library. | ||
|
||
### Added | ||
|
||
* **Asynchronous** operation mode in addition to the legacy blocking mode. | ||
* **Memory footprint optimization** thanks to multiple **compilation flags** (`inc/sigfox_ep_flags.h`) | ||
* **Precompiled source** files and **library** generation with `cmake`. | ||
* Sigfox **empty frame** support. | ||
* **Message status** and **error stack**. | ||
* New **options in user API**: dynamic TX power, bit rate and inter-frame delay. | ||
* New **random frequency algorithm** with lower memory footprint and better distribution over device ID ranges. | ||
* Using **structures** as functions parameters to improve compatibility between compilation flags and versions. | ||
|
||
### Known limitations | ||
|
||
* **Payload encryption** not supported. | ||
* **Secure element** not supported. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
include(ExternalProject) | ||
include(FetchContent) | ||
Set(FETCHCONTENT_QUIET FALSE) | ||
FetchContent_Declare( | ||
manuf_rf_api | ||
GIT_REPOSITORY "https://github.com/sigfox-tech-radio/manuf-rf-api" | ||
GIT_TAG "v1.0" | ||
GIT_PROGRESS TRUE | ||
GIT_SHALLOW 1 | ||
#SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/addons/rfp | ||
UPDATE_DISCONNECTED TRUE | ||
STEP_TARGETS update | ||
) | ||
FetchContent_GetProperties(manuf_rf_api) | ||
if (NOT platform_POPULATED) | ||
FetchContent_Populate(manuf_rf_api) | ||
add_subdirectory(${manuf_rf_api_SOURCE_DIR} ${manuf_rf_api_BINARY_DIR}) | ||
endif() | ||
mark_as_advanced(FETCHCONTENT_QUIET FETCHCONTENT_BASE_DIR FETCHCONTENT_FULLY_DISCONNECTED FETCHCONTENT_UPDATES_DISCONNECTED) | ||
mark_as_advanced(FETCHCONTENT_SOURCE_DIR_MANUF_RF_API FETCHCONTENT_UPDATES_DISCONNECTED_MANUF_RF_API) | ||
#FetchContent_MakeAvailable(addon_rfp) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.