atinout binaries for mobian/debian?
#4
There is a Makefile, so you don't need to compile with gcc command directly, you can just type "make" in the source folder.
I got this error:

Code:
gcc -o atinout -W -Wall -Wextra -Werror -DVERSION=\"0.9.1\" -g  atinout.c
atinout.c: In function ‘is_final_result’:
atinout.c:141:20: error: this statement may fall through [-Werror=implicit-fallthrough=]
  141 |                if (strcmp(&response[1], "K\r\n") == 0) {
      |                    ^
atinout.c:145:9: note: here
  145 |        default:
      |        ^~~~~~~
cc1: all warnings being treated as errors                                                                                                                                                                       
make: *** [Makefile:14: atinout] Error 1

So I removed -Werror from the Makefile and it compiled successfully.
If you want to use "atinout" instead of "./atinout" for the commands, you can install the binary with "sudo make install".

Executing AT commands works too:
https://wiki.pine64.org/index.php/PinePhone#AT_commands
  Reply


Messages In This Thread
RE: atinout binaries for mobian/debian? - by baptx - 08-07-2024, 04:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 65 24,691 07-12-2025, 07:46 AM
Last Post: anonymous
  cryptocurrency on mobian/pinephone biketool 33 50,847 06-30-2025, 02:57 PM
Last Post: biketool
  XLibre for Mobian Hiraghm 1 330 06-30-2025, 01:38 AM
Last Post: Haroldkent
  Axolotl on PinePhone / Mobian arno_nuehm 223 247,157 06-25-2025, 01:19 PM
Last Post: anonymous
  VoIP account on mobian dialer j_s 0 201 06-15-2025, 04:19 PM
Last Post: j_s
  Mobian Pinephone Notification LED biketool 2 420 06-07-2025, 03:19 PM
Last Post: KC9UDX
  Vivaldi Web browser nearly native for Mobian biketool 3 819 05-06-2025, 02:19 AM
Last Post: biketool
  mobian calamares fail merom 2 866 04-29-2025, 02:10 PM
Last Post: mdk
  mobian phosh on screen keyboard not popping up for Chromium/Electron apps grump_fiddle_reinstall 1 946 01-15-2025, 08:08 PM
Last Post: Kevin Kofler
  How to use QR codes on Mobian Sid(unstable) Pinephone Pro biketool 1 810 01-02-2025, 12:47 PM
Last Post: zetabeta

Forum Jump:


Users browsing this thread: 1 Guest(s)