![Yoctopuce Yocto-GPS User Manual Download Page 309](http://html1.mh-extra.com/html/yoctopuce/yocto-gps/yocto-gps_user-manual_3415557309.webp)
20. High-level API Reference
YLatitude
latitude
→
get_sensorState()
latitude
→
sensorState()
Returns the sensor health state code, which is zero when there is an up-to-date measure available
or a positive code if the sensor is not able to provide a measure right now.
js
function get_sensorState( )
nodejs
function get_sensorState( )
cpp
int get_sensorState( )
m
-(int) sensorState
pas
function get_sensorState( ): LongInt
vb
function get_sensorState( ) As Integer
cs
int get_sensorState( )
java
int get_sensorState( )
uwp
async Task<int> get_sensorState( )
py
def get_sensorState( )
php
function get_sensorState( )
es
function get_sensorState( )
cmd
YLatitude
target
get_sensorState
Returns :
an integer corresponding to the sensor health state code, which is zero when there is an up-to-date measure
available or a positive code if the sensor is not able to provide a measure right now
On failure, throws an exception or returns
Y_SENSORSTATE_INVALID
.
www.yoctopuce.com
303
Summary of Contents for Yocto-GPS
Page 1: ...Yocto GPS User s guide...
Page 2: ......
Page 6: ...22 Characteristics 557 Blueprint 559 Index 561...
Page 10: ...4 www yoctopuce com...
Page 14: ...8 www yoctopuce com...
Page 18: ...12 www yoctopuce com...
Page 22: ...16 www yoctopuce com...
Page 38: ...32 www yoctopuce com...
Page 42: ...36 www yoctopuce com...
Page 54: ...48 www yoctopuce com...
Page 72: ...66 www yoctopuce com...
Page 92: ...86 www yoctopuce com...
Page 122: ...116 www yoctopuce com...
Page 132: ...126 www yoctopuce com...
Page 564: ...22 Characteristics 558 www yoctopuce com...
Page 565: ......
Page 566: ......