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

nrf52 UART AT commands

Hello,

I have connected my PCA10040 to a SIMCOM SIM5320 WCDMA modem and I am trying to make my PCA10040 a gateway for other BLE devices to send data over a cellular network.

In order to do so, I have used the peripheral ble_app_uart example and so far I have managed to get to the BLE messages buffer, the outgoing UART messages buffer and to establish UART connection with the modem (via RS232).

All I am missing now is the ability to get the the modem's AT COMMANDS responses (OK, ERROR, CREG results, etc.) in order to perform an error handler. Is there any way I can get those responses into a buffer and handle them?

UART communication properties:

  • baud rate: 115200
  • modem connector type: RS232
  • PCA10040 connection: RX\TX pins (default 8\6)

Thanks in advance, Liran

Related