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

Error while sending AT commands to modem on Thingy:91.

Hi, I am getting error from socket() function. I cant find definition for AF_LTE family. I am using simple socket() as:

socket(AF_LTE, 0, NPROTO_AT);

It will compile but will give run time error and return -1.

I am trying to program nrf9160 on Thingy:91 so to send AT commands to the modem. Is there any specific configuration that I should change under menuconfig?

Is there anything I am doing wrong? 

I am using nrf sdk 1.4.1 for developing the firmware.

Thanks in advance.

Parents
  • Thanks for your reply. I am trying to use at_cmd now and I have configured BSD library and AT command driver in menu config options. But its giving me compile time error. 

    Can you please refer me configuration for AT command interface library?

    What are the settings should I do to work with AT command library?

    One thing more after some configuration error I am nor able to reconfigure. I had to make a new project for that. Is it normal?

    Regards,

    Shivek

Reply
  • Thanks for your reply. I am trying to use at_cmd now and I have configured BSD library and AT command driver in menu config options. But its giving me compile time error. 

    Can you please refer me configuration for AT command interface library?

    What are the settings should I do to work with AT command library?

    One thing more after some configuration error I am nor able to reconfigure. I had to make a new project for that. Is it normal?

    Regards,

    Shivek

Children
Related