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
  Mobian Pinephone Notification LED biketool 0 75 05-30-2025, 03:40 AM
Last Post: biketool
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 62 18,075 05-14-2025, 03:28 AM
Last Post: anonymous
  Vivaldi Web browser nearly native for Mobian biketool 3 450 05-06-2025, 02:19 AM
Last Post: biketool
  mobian calamares fail merom 2 555 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 663 01-15-2025, 08:08 PM
Last Post: Kevin Kofler
  How to use QR codes on Mobian Sid(unstable) Pinephone Pro biketool 1 584 01-02-2025, 12:47 PM
Last Post: zetabeta
  Upgrade to Mobian (Trixie) Staging biketool 13 2,730 12-29-2024, 10:35 AM
Last Post: biketool
  Mobian Bulleyes aberrio 0 809 12-16-2024, 08:27 AM
Last Post: aberrio
  Mobian, Suspend, and Audio Playback biketool 0 746 12-11-2024, 12:56 AM
Last Post: biketool
  how to update mobian over tor vusra 14 11,871 12-04-2024, 07:01 PM
Last Post: vusra

Forum Jump:


Users browsing this thread: 1 Guest(s)