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 Dejan Simonovic,

    1. Working means SIM registrations is working. but i am still getting following error "<err> main: error: accept: 23, -1" .

    2. Will you please provide me the APN of your SIM ? or just replace apn string (apn.static.bell) with your SIM apn in code. i have shared you, updated version v0.2 below. and then try, it might worked now !!


    CoAPAndTCPServer_v0.2.zip

    3. Please share log of AT+CGDCONT? FYI, I have added it, in v0.2 for debug purpose, it will now log every 1 second with network status read command. 

    Thanks,

    Dvl

Reply
  • Hi Dejan Simonovic,

    1. Working means SIM registrations is working. but i am still getting following error "<err> main: error: accept: 23, -1" .

    2. Will you please provide me the APN of your SIM ? or just replace apn string (apn.static.bell) with your SIM apn in code. i have shared you, updated version v0.2 below. and then try, it might worked now !!


    CoAPAndTCPServer_v0.2.zip

    3. Please share log of AT+CGDCONT? FYI, I have added it, in v0.2 for debug purpose, it will now log every 1 second with network status read command. 

    Thanks,

    Dvl

Children
No Data
Related