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

Iot ncs main #1837

Draft
wants to merge 2,309 commits into
base: main
Choose a base branch
from
Draft

Iot ncs main #1837

wants to merge 2,309 commits into from

Conversation

ajayparida
Copy link
Contributor

This is branch is for iot testing on top of latest ncs codebase.

rlubos added 30 commits May 25, 2024 10:02
…ement API"

This reverts commit 955ca26.

Signed-off-by: Robert Lubos <[email protected]>
…gement"

This reverts commit 4fa036e.

Signed-off-by: Robert Lubos <[email protected]>
This reverts commit ffbf62c.

Signed-off-by: Robert Lubos <[email protected]>
…_posix"

This reverts commit 1552882.

Signed-off-by: Robert Lubos <[email protected]>
…ore samples"

This reverts commit cce7219.

Signed-off-by: Robert Lubos <[email protected]>
…n nRF54L"

This reverts commit b320a9e.

Signed-off-by: Robert Lubos <[email protected]>
… devices"

This reverts commit f50ad41.

Signed-off-by: Robert Lubos <[email protected]>
…dc_api test"

This reverts commit 2da6498.

Signed-off-by: Robert Lubos <[email protected]>
…54L15 device"

This reverts commit 57de7d1.

Signed-off-by: Robert Lubos <[email protected]>
…s output set high"

This reverts commit 3733e70.

Signed-off-by: Robert Lubos <[email protected]>
…54 TWIS"

This reverts commit 28e2f57.

Signed-off-by: Robert Lubos <[email protected]>
…n call"

This reverts commit 8e66a57.

Signed-off-by: Robert Lubos <[email protected]>
…in suspend"

This reverts commit 6e61c5e.

Signed-off-by: Robert Lubos <[email protected]>
…d nrf54h20"

This reverts commit 09df3e0.

Signed-off-by: Robert Lubos <[email protected]>
…futil."

This reverts commit ddca511.

Signed-off-by: Robert Lubos <[email protected]>
kl-cruz and others added 22 commits June 18, 2024 15:42
Adds support for first possible LED to be connected with HW PWM.

Signed-off-by: Karol Lasończyk <[email protected]>
(cherry picked from commit bb4c92a)
This adds temporary entropy driver simulation for
nRF54h20 device since final entropy source is not
available yet.

TODO: Remove this commit when proper solution will
be available.

Jira: NCSDK-25947

Signed-off-by: Kamil Gawor <[email protected]>
Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit c976657)
(cherry picked from commit e2b6a2d)
(cherry picked from commit eb71554)
(cherry picked from commit de7a6f8)
Sample must end to dump coverage data.

Signed-off-by: Piotr Kosycarz <[email protected]>
(cherry picked from commit e63c691)
…tion

Sample must end to dump coverage data.

Signed-off-by: Piotr Kosycarz <[email protected]>
(cherry picked from commit 1b3725e)
…utput on HW

Verify host console.

Signed-off-by: Piotr Kosycarz <[email protected]>
(cherry picked from commit 45aca35)
Verify host console.

Signed-off-by: Piotr Kosycarz <[email protected]>
(cherry picked from commit 3222f37)
…nsole

Extend automated testing on HW by veryfing console output.

Signed-off-by: Piotr Kosycarz <[email protected]>
(cherry picked from commit 83958eb)
Pins P0.06 and P0.07 are shorted on nRF5340 DKs prepared for on-target
tests because that is required for UART tests. That causes background
SPIM transfers in this sample to fail because SPIM is not able to drive
its SCK line configured as P0.06. Rearrange then the pins used in this
sample, so that SCK is not on a pin involved in a GPIO loopback.

Signed-off-by: Andrzej Głąbek <[email protected]>
(cherry picked from commit 9c874f0)
Allow for an additional buffer reference if callback is provided. This
can be used to extend lifetime of the net buffer until the data
transmission is confirmed by ACK of the remote.

Jira: NCSDK-27422

Signed-off-by: Marek Pieta <[email protected]>
By default, the BLE stack calls sent callback for ATT data when the data
is passed to BLE controller for transmission. Enabling this Kconfig
option delays calling the sent callback until data transmission is
finished by BLE controller (the callback is delayed until receiving the
num complete packets event).

Jira: NCSDK-27422

Signed-off-by: Marek Pieta <[email protected]>
Support to configure BSS max idle period at runtime.

Signed-off-by: Ajay Parida <[email protected]>
Support for Directed Multicast Service(DMS).

Signed-off-by: Ajay Parida <[email protected]>
Add support for IPv4 conflict detection, as specified in RFC 5227.
The new feature is optional and disabled by default.

Address conflict detection was implemented as a part of the IPv4
autoconf feature can be generalized to be available for all address
types.

Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit 0a95423)
Include new ACD events in the shell event monitor.

Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit a89dd1a)
Connection manager needs to monitor ACD events as well to determine
whether a preferred IPv4 address is available.

Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit c281db0)
In case IPv4 conflict detection is enabled, monitor network events to
determine whether IPv4 address is ready to use or not, so that the
library returns only after the network setup is fully complete.

Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit 7352aaa)
In case a conflict was detected on a DHCP-assigned address, send a
Decline message to the server and start over.

Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit 80339ac)
The autoconf module can now reuse generic address conflict detection,
which was added for all address types.

Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit cc53826)
In case of ACD Probe/Announcement, all we need is to generate ARP
packet, we don't really want any cache entries to be created or searched
for. There was a bug, that a cache entry was created for the
Announcement sent, resulting in skipped ARP packet generation and
malformed packet being sent by the ACD module.

Therefore, simplify all this, by simply returning early in case of
conflict detection packets.

Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit c0161c8)
Make sure ACD is enabled in the build-all configuration.

Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit f3d6324)
Print information in IPv4 shell whether address conflict detection is
enabled or not.

Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit 3501d6e)
make code in sync with ncs/main.

Signed-off-by: Ajay Parida <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.