When I connect on tera term and try sending AT commands, the device doesn't identify them,
My prj.conf file looks like this:
I don't want to use AT_SHELL, so can u please suggest:
When I connect on tera term and try sending AT commands, the device doesn't identify them,
My prj.conf file looks like this:
I don't want to use AT_SHELL, so can u please suggest:
Hello there,
Can you please provide more information on what version of nRF Connect SDK you are running? And what modem FW on your nRF9160?
I don't want to use AT_SHELL, so can u please suggest:
What sample are you working on? The following is from the Asset Tracker v2 application, which uses the AT Host library
# AT Host library - Used to send AT commands directy from an UART terminal and to allow # integration with nRF Connect for Desktop LTE Link monitor application. CONFIG_AT_HOST_LIBRARY=y
SDK-1.9.0
modem FW- 1.3.2
The actual problem that im facing is not being able to write aws certificates to the board. I tried using AT_SHELL, which wants me send the command in the format:
at at%%cmng=0,12345678,0,"\n
-----BEGIN CERTIFICATE-----\n
MIIDQT....................................\n
.................................................\n
.........................................QVVg5\n
-----END CERTIFICATE-----"\r\n
But for some reason, AT_SHELL is not allowing multiline commands. As you might know each line in the command needs to end with LF (\n), which is what I'm doing but AT_SHELL terminates the command at \n and begins a new command, so the next command line is where the rest of the certificate gets written. The shell output looks like this:
uart:~$ at at%%cmng=0,12345678,0,"
not terminated: "
uart:~$ -----BEGIN CERTIFICATE-----
-----BEGIN: command not found
Please specify a subcommand.
uart:~$ MIIDQTCCAimgAwIBAgITBmyfz5m/jAo54vB4ikPmljZbyjANBgkqhkiG
9w0BAQsF
MIIDQTCCAimgAwIBAgITBmyfz5m/jAo54vB4ikPmljZbyjANBgkqhkiG9w0BAQsF: command not found
Please specify a subcommand.
uart:~$ ADA5MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQD
ExBBbWF6
ADA5MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6: command not found
Please specify a subcommand.
NVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJv: command not found
Please specify a subcommand.
So I tried using AT_HOST and disabling AT_SHELL, it won't recognise AT commands
uart:~$ at at%%cmng=1
at: command not found
Please specify a subcommand.
uart:~$ AT%%CMNG=1
AT%%CMNG=1: command not found
Please specify a subcommand.
uart:~$ AT%CMNG=1
AT%CMNG=1: command not found
Please specify a subcommand.
uart:~$ help
Available commands:
adc
audio
distance
flash
help
i2c
log
mcuboot
nrf_clock_control
prod
stats
thunder
uart:~$
Can you please suggest?
Adding to the above reply:
I have a python script sending the command through the at.py module:
The command that the script is sending looks like below:
at at%%cmng=0,12345678,0,"
-----BEGIN CERTIFICATE-----
MIIDQTCCAimgAwIBAgITBmyfz5m/jAo54vB4ikPmljZbyjANBgkqhkiG9w0BAQsF
ADA5MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6
b24gUm9vdCBDQSAxMB4XDTE1MDUyNjAwMDAwMFoXDTM4MDExNzAwMDAwMFowOTEL
MAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJv
b3QgQ0EgMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALJ4gHHKeNXj
ca9HgFB0fW7Y14h29Jlo91ghYPl0hAEvrAIthtOgQ3pOsqTQNroBvo3bSMgHFzZM
9O6II8c+6zf1tRn4SWiw3te5djgdYZ6k/oI2peVKVuRF4fn9tBb6dNqcmzU5L/qw
IFAGbHrQgLKm+a/sRxmPUDgH3KKHOVj4utWp+UhnMJbulHheb4mjUcAwhmahRWa6
VOujw5H5SNz/0egwLX0tdHA114gk957EWW67c4cX8jJGKLhD+rcdqsq08p8kDi1L
93FcXmn/6pUCyziKrlA4b9v7LWIbxcceVOF34GfID5yHI9Y/QCB/IIDEgEw+OyQm
rqXRfboQnoZsG4q5WTP468SQvvG5
-----END CERTIFICATE-----"
Øyvind said:What sample are you working on?
Do you need to use AT_SHELL or can you use AT_HOST? In you application please add
Tried using both together and individually too. Doesn't work.
When i use just AT_HOST, it's not recognizing AT commands.
And also for one of my firmware builds, AT_HOST shows an error that it cant bind UART0.
I'm sorry I'm new to firmware. I'm not sure if something else is binding UART0 already. UART1 and UART2 on our device are being used for other purposes and can't be used for this.
Is there a way to send a multiline command in just AT_SHELL without "\n" being considered as command termination. It should be considered as just a new line feed.
Tried using both together and individually too. Doesn't work.
When i use just AT_HOST, it's not recognizing AT commands.
And also for one of my firmware builds, AT_HOST shows an error that it cant bind UART0.
I'm sorry I'm new to firmware. I'm not sure if something else is binding UART0 already. UART1 and UART2 on our device are being used for other purposes and can't be used for this.
Is there a way to send a multiline command in just AT_SHELL without "\n" being considered as command termination. It should be considered as just a new line feed.
I dont know what you mean by a sample. Can you explain?
I am very confused at the moment. What is the project you are working on? Where did you get that from and how did you start with the provided configuration in the OP?