How to solve socket -23 error while creating multiple server in nRF9160

Hi Support team,

I am  using nRF9160 module and i want run two server on the module, one is modbus server and other is CoAP server. so is it possible to run both server simultaneously ?

Thanks,

Dvl

Parents
  • Hi Dvl,

    I have tested again with your latest code. Pressing Reset button on the nrf9160-dk board does not change the output for me. In other words, it is "+CEREG: 0,2, ...". However, when I power cycle the nrf9160-dk board I get ZEPHYR FATAL ERROR shown below.


    Using adddr2line on the faulting address

    ncs\toolchains\cf2149caf2\opt\zephyr-sdk\arm-zephyr-eabi\bin> arm-zephyr-eabi-addr2line.exe -e <path_to_your_project>\build\zephyr\zephyr.elf 0x0001de7e

    gives the following output
    C:/Users/desi/ncs/v2.6.0/zephyr/lib/libc/newlib/libc-hooks.c:469

    Can you replicate this on your nrf9160-dk when you power off/on the device?

    Dvls said:
    I have Just tested following latest code and its working

    Can you provide information how it works in your case? Is it working as expected or still gives "<err> main: error: accept: 23, -1"?

    Best regards,
    Dejan

Reply
  • Hi Dvl,

    I have tested again with your latest code. Pressing Reset button on the nrf9160-dk board does not change the output for me. In other words, it is "+CEREG: 0,2, ...". However, when I power cycle the nrf9160-dk board I get ZEPHYR FATAL ERROR shown below.


    Using adddr2line on the faulting address

    ncs\toolchains\cf2149caf2\opt\zephyr-sdk\arm-zephyr-eabi\bin> arm-zephyr-eabi-addr2line.exe -e <path_to_your_project>\build\zephyr\zephyr.elf 0x0001de7e

    gives the following output
    C:/Users/desi/ncs/v2.6.0/zephyr/lib/libc/newlib/libc-hooks.c:469

    Can you replicate this on your nrf9160-dk when you power off/on the device?

    Dvls said:
    I have Just tested following latest code and its working

    Can you provide information how it works in your case? Is it working as expected or still gives "<err> main: error: accept: 23, -1"?

    Best regards,
    Dejan

Children
No Data
Related