Commit graph

15 commits

Author SHA1 Message Date
William Goodspeed
bbde232a0c Add Android-specific flags to CXXFLAGS and LDFLAGS for correct linkage
Signed-off-by: William Goodspeed <goodspeed@anche.no>
2026-05-18 17:34:33 +08:00
Gong BI1XJT
c24f8fee1f Use regular C float instead of GLFloat to avoid portibility issues
In struct SensorData, GLFloat was used to store 3 floats. However, the
code doesn't perform any GLSL calculation on them. More, Termux doesn't
provide GLSL headers and fails to build. This commit refactos GLFloat
to float to avoid necessary header issues, etc.

Signed-off-by: Gong BI1XJT <bi1xjt@rad1o.cn>
2026-05-17 22:49:59 +08:00
Gong BI1XJT
60fb8e5fa0 Remove old-fashioned and buggy Android.mk build system
Signed-off-by: Gong BI1XJT <bi1xjt@rad1o.cn>
2026-05-17 22:49:59 +08:00
Gong BI1XJT
19e8287f38 Use an alternative version of now depreicated/removed ALooper_pollAll func
Signed-off-by: Gong BI1XJT <bi1xjt@rad1o.cn>
2026-05-17 20:55:36 +08:00
Gong BI1XJT
b182f72c4f Fix mis-included ndkimu header file
Signed-off-by: Gong BI1XJT <bi1xjt@rad1o.cn>
2026-05-17 20:46:08 +08:00
Gong BI1XJT
9a140c726e Add neccessary compiler flags for automake target
Signed-off-by: Gong BI1XJT <bi1xjt@rad1o.cn>
2026-05-17 20:42:16 +08:00
Daniele Forsi IU5HKX
54fa13d9f0 Add androidsensor to make dist 2026-05-06 23:30:45 +02:00
Daniele Forsi IU5HKX
39e155efe7 Fix include config.h
It should be included, with its path, before any hamlib include
and before any #ifdef that uses the symbols that it defines.
2025-08-30 11:18:51 +02:00
George Baltz N3GB
72bc62366d A few more cppcheck messages silenced 2025-07-28 19:31:20 -04:00
George Baltz N3GB
213e7751bf Add needed includes of new files to rotators/*/* 2025-07-10 09:54:03 -04:00
George Baltz N3GB
c28caa7a9c Use macros/pointers for rot->state references 2024-07-14 01:17:28 -04:00
Mike Black W9MDB
534fe449a2 Fix more cppcheck items 2023-10-13 17:36:29 -05:00
Mike Black W9MDB
68e121d82c Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
AuroraRAS
7f27917dbc AndroidSensor codes improvement
append rotctl CLI tool to android.mk file
save target az/el to priv pointor, make them accessible more.
remove some c++ warnings.
bug fixes.
codes optimization.

Signed-off-by: AuroraRAS <chplee@gmail.com>
2021-10-06 13:51:19 +08:00
AuroraRAS
1c3250f6f4 add androidsensor rotator
The androidsensor rotator is not a real rotator, it uses the accelerometer sensor and magnetic field sensor of the cell phone or tablet to perform attitude determination for your antenna and the phone tied to it.
Now you can wave your antenna to find radio signals.

Signed-off-by: AuroraRAS <chplee@gmail.com>
2021-09-25 09:51:11 +08:00