Connection Problems with Nx_TCP_Echo_Client
hello
We have some problems to run the "32L496GDISCOVERY\Nx_TCP_Echo_Client" from the "STM32CubeExpansion_CELLULAR_V7.0.0" package (with AZURE RTOS).
What we did so far: we changed the entries in "plf_cellular_config.h" to meet the requirements of our SIM card provider (APN, username, password).
Than we built and deployed this project (successfully) to our P_L496G-CELL02 board with Tera Term attached to the VCP of the eval board.
What we see here is the folowing log:
===== X-Cube-Cellular version : X-CUBE-CELLULAR-7.0.0 =====
BG96 UART config: BaudRate=115200 / HW flow ctrl=1
DNS Server address: 8.8.8.8
SNTP Time Sync...0.pool.ntp.org
SysCtrl_BG96:Waiting 5500 millisec for modem running...
SysCtrl_BG96:...done
Modem Boot OK, sim slot nb 0
SysCtrl_BG96:MODEM SIM SOCKET SELECTED
ATCore ERROR:AT_sendcmd error
ATCore ERROR:AT_sendcmd error: parse from rsp
LOG ERROR #1: channel=1 / errorId=11 / gravity=2
LOG ERROR #2: channel=1 / errorId=14 / gravity=2
LOG ERROR #3: channel=2 / errorId=1 / gravity=2
Modem Boot OK, sim slot nb 0
SysCtrl_BG96:MODEM SIM SOCKET SELECTED
ATCore ERROR:AT_sendcmd error
ATCore ERROR:AT_sendcmd error: parse from rsp
LOG ERROR #4: channel=1 / errorId=11 / gravity=2
LOG ERROR #5: channel=1 / errorId=14 / gravity=2
LOG ERROR #6: channel=2 / errorId=1 / gravity=2
If we enter the "cst state" comamnd into TeraTerm, we see, that APN, username and pasword have been set correctly.
What could cause this behaviour and these error messages? What are we doing wrong?
The documentation for the CELL and AZURE package
What is strange:
if we run the "32L496GDISCOVERY\Cloud\Azure\" project from the "STM32CubeExpansion_Cloud_AZURE_V1.2.1" package
with exactly the same provider settings (APN etc.), we can connect to our AZURE IoT Hub and exchange data and commands with the device without any problems!
regards
Michael
