This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf-sdk compatibility to POSIX API

Hi all

We're developing an application for nrf9160 with zephyr-sdk v2.4.99-ncs2 and nrf-sdk v1.5.1.

In our project we are required to use a Library which forces us to use POSIX_API. This is mutually exclusive to NET_SOCKETS_POSIX_NAMES.
docs.zephyrproject.org/.../CONFIG_NET_SOCKETS_POSIX_NAMES.html

I would like to integrate FOTA Download Library which fails to build because of CONFIG_NET_SOCKETS_POSIX_NAMES=n.

To reproduce the problem try to build "nrf/samples/nrf9160/http_update/application_update/" with either POSIX_API=y or explicitely NET_SOCKETS_POSIX_NAMES=n.

Are there any plans to make the FOTA Library (and maybe others) POSIX compatible?

best regards

Parents
  • Hello, 

     

    To reproduce the problem try to build "nrf/samples/nrf9160/http_update/application_update/" with either POSIX_API=y or explicitely NET_SOCKETS_POSIX_NAMES=n.

     The only issue was when I added CONFIG_POSIX_API=y. Then from the build log there seems to be some issues with misc socket names. Currently there is no samples built with POSIX in the nrf repository, however, there are some in the Zephyr repository. Have a look at the POSIX Support chapter

    Are there any plans to make the FOTA Library (and maybe others) POSIX compatible?

     I'm afraid I do not have that information. You will need to contact you local RSM for information about NCS road map.

    That said, you could have a look at the NCS v1.6.0 release tag 2 (released last week), which includes new samples using POSIX_API

    nRF9160:Modem Shell

    nRF9160:SMS

    Kind regards,
    Øyvind

Reply
  • Hello, 

     

    To reproduce the problem try to build "nrf/samples/nrf9160/http_update/application_update/" with either POSIX_API=y or explicitely NET_SOCKETS_POSIX_NAMES=n.

     The only issue was when I added CONFIG_POSIX_API=y. Then from the build log there seems to be some issues with misc socket names. Currently there is no samples built with POSIX in the nrf repository, however, there are some in the Zephyr repository. Have a look at the POSIX Support chapter

    Are there any plans to make the FOTA Library (and maybe others) POSIX compatible?

     I'm afraid I do not have that information. You will need to contact you local RSM for information about NCS road map.

    That said, you could have a look at the NCS v1.6.0 release tag 2 (released last week), which includes new samples using POSIX_API

    nRF9160:Modem Shell

    nRF9160:SMS

    Kind regards,
    Øyvind

Children
  • Hi Øyvind,

    Thank you for the information. It would be great if FOTA Download Library would be compatible with POSIX_API=y some day.

    My current workaround is to have a fork of nrf-sdk which contains a hot fix to make it build&run.

    Do you know when nrf-sdk v1.6.0 leaves "RC" status?



    best regards

  • Hi, 

     

    n.marty said:
    Do you know when nrf-sdk v1.6.0 leaves "RC" status?

     I do not have those details, please contact your local RSM for release date.  Your RSM will also be able to tell more about roadmap plans i.e. if FOTA Download Library would be compatible with POSIX_API=y some day. 

    If you do not have the contact information for your local RSM, please send a PM with your location and I will forward this to you.

    Kind regards,
    Øyvind

Related