If connection is failed to establish, the sample will get stuck
eventually and won't do anything while it could re-start advertiser to
try establish a connection again.
This commit makes the sample restart the advertuser if such issue
happens.
Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
When CONFIG_BT_PRIVACY is enabled, we cannot start an advertiser with an
RPA generated for a different identity than scanner role. Therefore, we
need to stop scanning.
Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit adds more logs to peripheral_identity sample improve clarity
of what the sample is currently doing.
Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit adds more logs to central_multilink sample improve clarity
of what the sample is currently doing.
Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
- "bt_tbs_set_uri_scheme_list()" function does not setting URI for
GTBS instance. Using "inst_lookup_index()" fixes issue to find
registered GTBS instance for provided bearer_index.
- "bt_tbs_set_uri_scheme_list()" function overrides URI scheme list
with latest provided list. But the expectation is that it should
keep previously added URI schemes and only update new scheme which
are not part existing list. Code is updated to fix this.
- The same function uses net-buf to combine all URI schems for all
TBS bearer if current request is not for GTBS instance. Currently,
the code only uses combined URI scheme list for logging purpose and
it is not used to send for URI Scheme notification to provide
updated GTBS URI scheme to remote. Code is now updated to add
dynamic buffer to add all TBS URI scheme list for GTBS instance
and notify it similar to other functions to optimise memory usage.
Signed-off-by: Nirav Agrawal <nirav.agrawal@nxp.com>
Improve reporting by introducing a configurable reporting interval
and make the report text more useful.
Change TX to always send the same size, as that is what is
expected/required by LE Audio.
Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Make the reporting interval configurable to make it easier
to actually follow. Improve what gets reported.
Add check for SDU size to ensure correctness when not
using LIBLC3.
Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
A pull-up should be described in hardware (device tree) instead of
software.
Also interrupt on edges instead of the level.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Remove the FW_READY reply config, as it's not required for
the M7 core on i.MX8M Plus.
This setting triggers an interrupt to the host, which is
unnecessary in the case of M7 (check host-side imx_rproc
driver in Linux).
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Update for both 8QM and 8QXP, the nxp_openamp_imx8-adsp board
configuration to enable vendor-specific resource table features
instead of FW_READY reply config.
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Update the imx8mp_evk_mimx8ml8_adsp board configuration to enable
vendor-specific resource table features instead of FW_READY reply
config.
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
The FUEL_GAUGE_BATTERY_CUTOFF enum property was never used and never tested
nor was it intended to be. This property unfortunately made it past review.
Remove it. This is unlikely to cause a breakage since no upstream driver
ever implemented it as a property.
Signed-off-by: Aaron Massey <aaronmassey@google.com>
Add a build error conditional for mimxrt700_evk/mimxrt798s/cm33_cpu0,
thus disabling build for the hifi4 domain. Remove that target from
platform_allow in sample.yaml.
Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
The ID of the sample is wrong, so it is not possible to link
to the sample documentation. I found this issue when working
on a shield for the VCNL4040 proximity sensor.
To my knowledge, there are no references to the invalid ID yet.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Error message HARNESS:Console:no regex patterns configured
is shown when sample.sensor.accel_trig sample is run.
The error occurs because harness configuration is changed
(a fixture is added) in the test case. When the configuration
is changed in a test case, common configuration is not
inherited and required properties need to be redefined.
Add console harness configuration for the test case.
Signed-off-by: Michal Smola <michal.smola@nxp.com>
The legacy USB device stack configuration used in the board
configuration overlay files has been deprecated. It is not causing CI
failures because the board lacks a test feature 'video' and is filtered
out in CI.
Besides the deprecated configuration, the sample code does not enable
the USB device stack, so it is not used anyway. Even if it were needed,
the correct way to enable logging via USB CDC ACM would be to use the
cdc-acm-console snippet.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This file is not referenced anywhere, and the operating systems that
would require it are EOL. Remove it from the tree.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
If LVGL uses a work queue thread, we can't call LVGL functions from the
main thread. Use a k_event variable to signal between threads.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Updated the LPADC instance numbers in the
device tree to line up with the indexing
done in the RM.
Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This update makes the cellular-modem sample usable out-of-the-box on
SIMs that require different APNs, without rebuilding the firmware.
* Automatic APN selection
* New Kconfig options
* `CONFIG_SAMPLE_CELLULAR_MODEM_AUTO_APN` - enable logic
* `CONFIG_SAMPLE_CELLULAR_APN_X` - APN for profile X
* `CONFIG_SAMPLE_CELLULAR_IMSI_LIST_X` - IMSI list for profile X
* The application now subscribes to the new
`CELLULAR_EVENT_MODEM_INFO_CHANGED` event, waits for the IMSI, looks
up the matching MCC+MNC and calls `cellular_set_apn()`.
* DNS-server detection
* `NET_EVENT_DNS_SERVER_ADD` may fire together with
`NET_EVENT_L4_CONNECTED`; the previous wait timed out.
* Replaced the two consecutive waits with a single call that waits for
both events (`DNS_SERVER_ADD | L4_CONNECTED`) in any order.
Signed-off-by: Van Petrosyan <van.petrosyan@sensirion.com>
Use CDC ACM serial backend from the new USB device stack.
It was surprising to find out that the porting layer does not only use
the UART API. The legacy USB device stack API used in the porting layer
has been deprecated and is causing CI failures.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
Add a sample that covers legacy CDC EEM/ECM and RNDIS functions.
Network functionality is limited to ICMP.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
Move the legacy code from the USB MSC sample to a separate sample in the
legacy directory. Make legacy sample very simple and drop all filesystem
dependencies.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
Move the legacy code from the HID mouse sample to a separate sample in
the legacy directory.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>