diff --git a/src/at.c b/src/at.c index 64ad466..b50ceea 100644 --- a/src/at.c +++ b/src/at.c @@ -83,6 +83,8 @@ gboolean at_send_command(struct EG25Manager *manager) manager->at_callback = at_cmd->callback; + g_message("Sending command: %s", g_strstrip(command)); + do { ret = write(manager->at_fd, &command[pos], len); @@ -105,7 +107,7 @@ gboolean at_send_command(struct EG25Manager *manager) } } while (len > 0); - g_message("Sending command: %s", g_strstrip(command)); + g_message("Successfully sent command: %s", g_strstrip(command)); } else { /* Allow the modem to enter soft sleep again when we sent the AT command*/ gpio_sequence_sleep(manager);