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

nRF9160 at_client sample project

After much work I can build the nRF9160 at_client sample project and flash it into the development kit. Using nRF Connect, the at_client sample project  only prints the line "The AT host sample started" as per the source code (shouldn't this be "AT client sample started"?).  AT commands entered into nRF Connect timeout with no response.  Inspecting the file main.c of at_client and there is no code to read the UART and no code to parse AT commands.  I have flashed an at_client.hex file supplied by Nordic and that firmware does respond to AT commands.

Is something missing from the at_client sample project?  I would need to modify the firmware so that it can switch the UART to a data mode upon registration with the LTE data network. In order to do this I need access to the UART and AT command handlers. How do I get this and the source for the working at_client.hex file?

I'm evaluating the nRF9160 for a project and need confirmation that it can work.

Thanks

  • Not sure what you mean with broken. Can you please elaborate? If the board needs to be replaced, then I urge you to do this. Where did you get the board from? Your local RSM will be able to provide you with a new board if needed.


    The newest modem FW fixes known issues that we have seen and received from customers.

    If you have never updated the modem FW, you can download the latest modem FW from the nRF9160 download page:

    Once downloaded, please extract the file (current file is mfwnrf916007029alpha.zip) to a known location.

    1. Read the README.txt.
    2. Inside the mfwnrf916007029alpha folder, there is a new .zip file (nrf9160_mdm_dfu.zip) which includes the DFU tool to update the modem. Please unzip this as well, and follow the instructions found in  README.rst in the nrf9160_mdm_dfu.
    3. Once installed you should be able to run the command 
      nrf9160_mdm_dfu --update

    Please let me know how this works with your board!

    Kind regards,
    Øyvind

  • I had the exact same problem, renaming the folder did not work. The solution that worked for me was to uninstall west, delete the .west folder and install west again and running the commands suggested in the getting started guide. So if anyone have the same problem you can try this.

    /Samuel

  • Yes, this is correct  . The best thing is to make a completely new folder and follow the steps in our documentation

    -Øyvind

Related