You are reading a single comment by @MobiTech and its replies.
Click here to read the full conversation.
-
Great idea. It worked now using "AT+CBC\r" for comparison. Thank you. Then you get these values: [bcs, bcl, voltage]
The second one (bcl) returns the battery charge level in percent. So it is exactly what I wanted. By the way bcs shows if the battery is charging. I guess that this is the most elegant way to get the battery level.
If the result was
AT+CBC
, theif
should have returned and not printed that line?Can you try this:
so that we can see if there are any extra characters in there?