From 89b7dfda2f8d09001e0c9ad37ad139d2e69fcf00 Mon Sep 17 00:00:00 2001 From: ArenM Date: Mon, 4 Oct 2021 23:26:16 -0400 Subject: [PATCH] at: remove call to g_strstrip before sending commando This log statement called g_strstrip before sending the command, which caused it to fail because it doesn't send the newline required to run it. --- src/at.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/at.c b/src/at.c index b50ceea..a252923 100644 --- a/src/at.c +++ b/src/at.c @@ -83,8 +83,6 @@ 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);