From 851f1f6e37ce260e072436a7298d8c2aeb0a68e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarno=20L=C3=A4ms=C3=A4?= Date: Thu, 6 Jul 2023 11:07:29 +0300 Subject: [PATCH] doc: lwm2m_location_assistance result callback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a paragraph about the result callback in the lwm2m location assistance documentation. Signed-off-by: Jarno Lämsä --- doc/nrf/libraries/networking/lwm2m_location_assistance.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/nrf/libraries/networking/lwm2m_location_assistance.rst b/doc/nrf/libraries/networking/lwm2m_location_assistance.rst index e4593220878a..7e71567c0343 100644 --- a/doc/nrf/libraries/networking/lwm2m_location_assistance.rst +++ b/doc/nrf/libraries/networking/lwm2m_location_assistance.rst @@ -132,7 +132,10 @@ It can have three different values: The library has a resend handler for the temporary error code. You can initialize it with the :c:func:`location_assistance_init_resend_handler` function. It uses an exponential backoff for scheduling the resends. -You can also set your own callbacks for the result code for better control of the application. + +The library has a callback handler for the result code. +You can set your own callback with the :c:func:`location_assistance_set_result_code_cb` function. +It is called whenever the request has been handled. Using A-GPS and P-GPS simultaneously ====================================