!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/gtk-doc/html/iio-sensor-proxy/   drwxr-xr-x
Free 13.33 GB of 57.97 GB (22.99%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     gdbus-net.hadess.SensorProxy.Compass.html (5.93 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
net.hadess.SensorProxy.Compass: Sensor Proxy Reference Manual

net.hadess.SensorProxy.Compass

net.hadess.SensorProxy.Compass — D-Bus proxy to access Compass sensors

Methods

ClaimCompass   ();
ReleaseCompass ();

Properties

HasCompass      readable   b
CompassHeading  readable   d

Description

After checking the availability of the sensor type you want to monitor, call the net.hadess.SensorProxy.ClaimCompass() method to start updating the properties from the hardware readings.

The object path will be "/net/hadess/SensorProxy/Compass".

Method Details

The ClaimCompass() method

ClaimCompass ();

To start receiving compass heading updates from the proxy, the application must call the net.hadess.SensorProxy.ClaimCompass() method. It can do so whether a compass is available or not, updates would then be sent when such a sensor appears.

Applications should call net.hadess.SensorProxy.ReleaseCompass() when readings are not required anymore. This prevents the sensor proxy from polling the device, thus increasing wake-ups and reducing battery life.

Note that Compass information is only available to Geoclue by default, which will proxy the magnetic heading information, and transform it to True North heading.


The ReleaseCompass() method

ReleaseCompass ();

This should be called as soon as readings are not required anymore. Note that resources are freed up if a monitoring application exits without calling net.hadess.SensorProxy.ReleaseCompass(), crashes or the sensor disappears.

Property Details

The "HasCompass" property

HasCompass  readable   b

Whether a supported compass is present on the system.


The "CompassHeading" property

CompassHeading  readable   d

The compass heading in degrees with respect to magnetic North direction, in clockwise order. That means North becomes 0 degree, East: 90 degrees, South: 180 degrees, West: 270 degrees and so on. When unknown, it's set to -1.0.


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0052 ]--