Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nrf_modem: v2.5.0 release #1079

Merged
merged 1 commit into from
Oct 6, 2023
Merged

Conversation

eivindj-nordic
Copy link
Contributor

See CHANGELOG file for details.

Comment on lines 9 to 12
nrfxlib_calculate_lib_path(NRF_MODEM_LIB_DIR SOC_MODE BASE_DIR ${CMAKE_CURRENT_SOURCE_DIR}
SOFT_FLOAT_FALLBACK
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
nrfxlib_calculate_lib_path(NRF_MODEM_LIB_DIR SOC_MODE BASE_DIR ${CMAKE_CURRENT_SOURCE_DIR}
SOFT_FLOAT_FALLBACK
)
nrfxlib_calculate_lib_path(NRF_MODEM_LIB_DIR SOC_MODE
BASE_DIR ${CMAKE_CURRENT_SOURCE_DIR}
SOFT_FLOAT_FALLBACK
)


* Added the option to set a timeout for AT commands by calling the :c:func:`nrf_modem_at_sem_timeout_set` function.

:ref:`AT interface <nrf_modem_gnss>`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AT interface -> GNSS


* Added a DFU callback that will be called after a DFU with the result of the update.

:ref:`Delta DFU <nrf_modem_delta_dfu>`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should point to the bootloader API

@@ -96,7 +96,7 @@ void nrf_modem_os_busywait(int32_t usec);
*
* @param context Library context.
* @param[in, out] timeout Timeout in milliseconds, or @c NRF_MODEM_OS_FOREVER for no timeout.
* Specifies the timeout value on input and the remaining
* Specifies the timeout value on input and the remainig
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is misspelled now

:ref:`AT interface <nrf_modem_at>`
==================================

* Added the option to set a timeout for AT commands by calling the :c:func:`nrf_modem_at_sem_timeout_set` function.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should rephrase this so that it is clearer that it's not a timeout for AT commands, but rather a timeout for how long AT commands shall wait for ongoing AT commands to complete.

@eivindj-nordic eivindj-nordic force-pushed the libmodem_v2.5.0 branch 2 times, most recently from 06412ad to 99f9f4a Compare September 26, 2023 12:20
@lemrey
Copy link
Contributor

lemrey commented Sep 26, 2023

We should include the SoftSIM documentation page, @MirkoCovizzi could you give that to Eivind?

:ref:`Core library <architecture>`
==================================

* The DFU result is now returned by the :c:param:`dfu_callback` callback in :c:struct:`nrf_modem_init_params` struct.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* The DFU result is now returned by the :c:param:`dfu_callback` callback in :c:struct:`nrf_modem_init_params` struct.
* The DFU result is now returned by the :c:param:`dfu_callback` callback in the :c:struct:`nrf_modem_init_params` struct.


* Replaced the :c:macro:`NRF_SO_BINDTODEVICE` socket option with :c:macro:`NRF_SO_BINDTOPDN`. The new option takes an integer for the PDN ID.


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra line?

Copy link
Contributor

@divipillai divipillai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some questions on docs.

nrf_modem/doc/CHANGELOG.rst Show resolved Hide resolved
nrf_modem/doc/CHANGELOG.rst Outdated Show resolved Hide resolved
nrf_modem/doc/CHANGELOG.rst Outdated Show resolved Hide resolved
@eivindj-nordic eivindj-nordic force-pushed the libmodem_v2.5.0 branch 6 times, most recently from c000bcc to 4e3a240 Compare September 27, 2023 13:58
Comment on lines 37 to 47
:ref:`AT interface <nrf_modem_at>`
==================================

* Added the option to set a timeout for the time to wait for ongoing AT commands to complete by calling the :c:func:`nrf_modem_at_sem_timeout_set` function.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are missing one item here, the behavior of nrf_modem_at_cmd_async has changed slightly.

nrf_modem_at_cmd_async will now return immediately if there is another AT command pending.
Earlier, it only returned immediately if there was another AT command pending from an earlier nrf_modem_at_cmd_async call.

Perhaps we can phrase it like so:
nrf_modem_at_cmd_async will now return immediately if there is another AT command pending, regardless of whether it was sent with nrf_modem_at_cmd_async or other API calls.

@eivindj-nordic eivindj-nordic force-pushed the libmodem_v2.5.0 branch 2 times, most recently from 8c6796b to 1c1f020 Compare October 2, 2023 11:34
@eivindj-nordic eivindj-nordic force-pushed the libmodem_v2.5.0 branch 5 times, most recently from b7910c1 to da0ec09 Compare October 3, 2023 13:56
@lemrey
Copy link
Contributor

lemrey commented Oct 3, 2023

The flowcharts for the updated DFU process look wrong
image
image

@eivindj-nordic
Copy link
Contributor Author

The flowcharts for the updated DFU process look wrong image image

This is when the DFU result is DFU_RES_OK, but the modem fails to initialize afterwards.

nrf_modem/doc/CHANGELOG.rst Outdated Show resolved Hide resolved
See CHANGELOG file for details.

Co-authored-by: Mirko Covizzi <[email protected]>
Co-authored-by: Tommi Kangas <[email protected]>
Co-authored-by: Emanuele Di Santo <[email protected]>
Co-authored-by: divya pillai <[email protected]>
Signed-off-by: Eivind Jølsgard <[email protected]>
Copy link
Contributor

@lemrey lemrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for your patience, Divya!

@rlubos rlubos merged commit 50e7265 into nrfconnect:main Oct 6, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-required PR must not be merged without tech writer approval.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants