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

At commands in sara R410m

I need my sara sara-r410m-02b ublox module to connect to the cellular network using at commands. For this reason I require to send the commands by means of programming lines.

I have not been able to find any guide to send you commands from the module programming, but I think that some of these options may be useful.

// Enter main loop.
for (;;)
{
idle_state_handle();

option1
uart_puts("AT+CFUN=15\r\n");
nrf_delay_ms(10000);

option2
uart_puts((char *)"AT+CFUN=15\r\n");
nrf_delay_ms(10000);


how can I send the necessary commands. Also I need to include a respective delay, so that the module can respond to my commands correctly. As I can ensure that my module responds to me in the correct time, I was planning to put an if condition that contains two conditions, the first condition would be that the module responds OK and the second condition that a time limit has passed, but I have no idea how do this.
 
Parents Reply Children
No Data
Related