Skip to content
Permalink
Branch: master
Commits on Jul 12, 2019
  1. boards: holyiot_yj16019: Fix radio capabilities

    rlubos authored and ioannisg committed Jul 12, 2019
    holyiot_yj16019 board uses nRF52832 SoC, which does not have 802.15.4
    radio. Therefore, 802.15.4 should not be listed in it's capabilities.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  2. drivers: ieee802154_nrf: Fix SoC header inclusion

    rlubos authored and ioannisg committed Jul 12, 2019
    The nRF 802.15.4 radio driver should not include nRF52840 header
    directly, but rely on soc.h instead. Otherwise, it will not work with
    different SoCs supporting 802.15.4.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on Jul 8, 2019
  1. net: lwm2m: Ignore `close` return value

    rlubos authored and jukkar committed Jul 4, 2019
    Explicitly ignore return value from `close` call.
    
    Coverity-CID: 198870
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on Jul 3, 2019
  1. net: openthread: Verify iface in net_mgmt event handler

    rlubos authored and jukkar committed Jul 3, 2019
    OpenThread did not verify if the interface provided in the net_mgmt
    handler is actually an OpenThread interface. In result, when multiple
    network interfaces were used, different interfaces were processed by the
    OpenThread handler, ending up in a crash.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  2. ext: hal: nordic: Fix DT symbols in 802154 radio driver

    rlubos authored and ioannisg committed Jul 3, 2019
    nRF 802.15.4 radio driver used deprecated DT symbols, causing build
    warnings.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on Jun 27, 2019
  1. ext: hal: nordic: Update DT symbols in nrfx config file

    rlubos authored and nashif committed Jun 25, 2019
    Update deprecated DPPIC DT symbol in nrfx config file for nrf9160.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  2. drivers: sensor: Update DT symbols in qdec_nrfx driver

    rlubos authored and nashif committed Jun 25, 2019
    Currently used IRQ DT symbols became deprecated.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on May 30, 2019
  1. net: sockets: Remove TI conditional from offloaded fcntl implementation

    rlubos authored and nashif committed May 29, 2019
    Offloaded `fcntl` implementation should be available for all offloaded
    implementations, not specific for TI. `socket_offload.c` is already
    conditionally compiled based on `CONFIG_NET_SOCKETS_OFFLOAD` option, so
    there should not be conflicts for non-offloaded interfaces.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on May 10, 2019
  1. net: Avoid calling L2 functions on offloaded interface

    rlubos authored and jukkar committed May 9, 2019
    Calling functions like `net_if_start_dad`, `join_mcast_nodes` or
    `net_if_start_rs` lead to L2 API function calls, which is not correct
    for offloaded interfaces and leads to a crash. This is especially
    problematic, as they are called in the default configuration.
    
    Avoid calling these functions while an offloaded interface is brought up
    by adding extra jump label.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  2. net: Allow to disable native IP stack with socket offloading

    rlubos authored and jukkar committed May 9, 2019
    In case socket offloading is used, one might want to disable native IP
    stack, both IPv4 and IPv6, to save memory. Currently it is not possible
    due to preprocessor check. Prevent that by adding additional exception
    for socket offloading.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on May 8, 2019
  1. net: lib: mqtt: Enable blocking PUBLISH payload readout

    rlubos authored and nashif committed Feb 5, 2019
    It is convenient to have a blocking version of
    `mqtt_read_publish_payload` function, for cases when it is called from
    the event handler. Therefore, extend the 'mqtt_read_publish_payload'
    argument list with information whether the call should block or not.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on May 7, 2019
  1. net: openthread: Fix utilsFlashErasePage function

    rlubos authored and nashif committed Apr 25, 2019
    Zephyr implementation of OpenThreads utilsFlashErasePage platform
    function did not disable flash protection before calling `flash_erase`
    function. This resulted in an error instead of actual flash erase on
    platforms that properly implement flash write protection.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on May 6, 2019
  1. net: openthread: Implement frame pending API

    rlubos authored and nashif committed Apr 16, 2019
    Implement OpenThreads frame pending bit management on top of the Zephyrs
    radio driver API. This allows for proper Sleepy End Devices handling
    from the parent side.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  2. drivers: ieee802154_nrf5: Implement configure API

    rlubos authored and nashif committed Apr 16, 2019
    Implement newly introduced `configure` API for nRF 802154 radio driver.
    
    Increase maximum number of slots for Frame Pending bit information in
    the radio driver.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  3. drivers: ieee802154_nrf5: Rename nrf5_config to nrf5_irq_config

    rlubos authored and nashif committed Apr 25, 2019
    `nrf5_irq_config` better describes purpose of this function.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on May 1, 2019
  1. drivers: ieee802154: New API for ACK configuration

    rlubos authored and jukkar committed Apr 15, 2019
    Introduce new API function for ieee802154 driver configuration.
    Currently this function is used for ACK configuration.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on Apr 26, 2019
  1. ext: lib: crypto: Extend mbedTLS generic config

    rlubos authored and galak committed Feb 14, 2019
    Extend generic mbedTLS config with entries needed by OpenThread:
    * MBEDTLS_CMAC_C
    * MBEDTLS_ENTROPY_C
    * MBEDTLS_SSL_EXPORT_KEYS
    * MBEDTLS_SHA256_SMALLER
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on Apr 23, 2019
  1. net: openthread: Do not overwrite stored dataset with defaults

    rlubos authored and jukkar committed Apr 9, 2019
    This commit prevents a situation when stored and possibly modified
    commissioner dataset is overwritten with default configuration during
    OpenThread initialization.
    
    It introduces a new function, openthread_start, which verifies if the
    dataset is already stored, and if not, depending on configuration,
    preloads the default configuration or initiates the join procedure.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on Apr 12, 2019
  1. doc: relnotes: 1.14 nrf 802.15.4 radio driver update

    rlubos authored and nashif committed Apr 12, 2019
    nRF 802.15.4 radio driver was updated, hence mention it in release
    notes.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  2. shell: telnet: Fix coverity issues

    rlubos authored and nashif committed Apr 12, 2019
    Fix coverity issue 197618, reporting unhandled return values.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on Apr 1, 2019
  1. drivers: console: Remove TELNET driver

    rlubos authored and nashif committed Mar 29, 2019
    telnet_console is based on deprecated line_fifo module, and is no longer
    used in Zephyr.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  2. samples: net: Update TELNET sample to use shell TELNET backend

    rlubos authored and nashif committed Mar 28, 2019
    telnet_console driver is not compatible with new shell module, hence is
    not working. Switch the telnet sample to use new TELNET shell backend.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  3. shell: Add TELNET backend

    rlubos authored and nashif committed Mar 28, 2019
    Add TELNET backed for shell module. The TELNET implementation is based
    on the telnet_console driver.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on Mar 26, 2019
  1. net: tls: Add credential type documentation

    rlubos authored and galak committed Mar 26, 2019
    Add a brief description of available credential types.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on Mar 20, 2019
  1. samples: net: Update overlay-bt.conf in various samples

    rlubos authored and galak committed Mar 19, 2019
    `CONFIG_NET_L2_BT` no longer forces required BT configuration, but
    depends on a user to set a valid configuration instead. Hence, we
    need to select a proper configuration in the overlay config file.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on Feb 27, 2019
  1. doc: net: Add socket offload description

    rlubos authored and andrewboie committed Feb 26, 2019
    Add decription and API reference for socket offloading.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  2. net: socket: Add doxygen descriptions for socket offloading

    rlubos authored and andrewboie committed Feb 26, 2019
    Add brief doxygen documentation for socket offloading API.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on Feb 26, 2019
  1. net: sockets: tls: Add missing poll descriptor increment

    rlubos authored and nashif committed Feb 25, 2019
    Poll descriptor was not incremented in poll update function in case it
    was reported as not ready. In result, poll could end up processing the
    same poll descriptor for every fd requested to monitor.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  2. net: sockets: tls: Detect EOF in poll prepare

    rlubos authored and nashif committed Feb 25, 2019
    Rework detection of EOF on a socket, so that it can be detected in a
    poll prepare that socket is in in a EOF state and poll can return
    immediately.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  3. doc: net: Add Thread protocol description

    rlubos authored and nashif committed Feb 22, 2019
    Add a documentation page for Thread with a brief description.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on Feb 23, 2019
  1. net: sockets: tls: Block DTLS client in poll until handshake is complete

    rlubos authored and nashif committed Feb 15, 2019
    When DTLS client was added to `poll` before/during the handshake, it
    could throw errors and in some circumstances (when polling thread was
    cooperative and had higher or equal priority to the handshake thread)
    could lead to a deadlock in the application.
    
    Prevent that, by blocking on handshake semaphore instead of fifo. Poll
    will start using fifo for data poll only after handshake is complete.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  2. net: sockets: tls: Use semaphore to notify that handshake is complete

    rlubos authored and nashif committed Feb 18, 2019
    Instead of simple bool value, use a semaphore to notify that TLS
    handshake is complete. This way, we can monitor this value with k_poll.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  3. samples: net: lwm2m: Fix system workqueue stack size

    rlubos authored and nashif committed Feb 18, 2019
    System workqueue stack was not large enough to handle DTLS handshake,
    which lead to system crash.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  4. net: lwm2m: Remove misused errno check

    rlubos authored and nashif committed Feb 18, 2019
    Errno value is only significant when `recvfrom` function indicated an
    error (by returning -1). We should not depend on it's value if no error
    is notified.
    
    As the return value of `recvfrom` is already checked, misused errno
    verification can simply be removed.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commits on Feb 20, 2019
  1. net: ipv6: Do not pass ICMPv6 packets to net_conn_input

    rlubos authored and nashif committed Feb 20, 2019
    ICMPv6 network packets are processed and consumed (if not dropped)
    within `net_icmpv6_input` function. Therefore they shoud not be
    passed to the `net_conn_input` function.
    
    Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Older
You can’t perform that action at this time.