20. High-level API Reference
YGps
gps
→
describe()
Returns a short text that describes unambiguously the instance of the GPS in the form
TYPE(NAME)=SERIAL.FUNCTIONID
.
js
function describe( )
nodejs
function describe( )
cpp
string describe( )
m
-(NSString*) describe
pas
function describe( ): string
vb
function describe( ) As String
cs
string describe( )
java
String describe( )
py
def describe( )
php
function describe( )
es
function describe( )
More precisely,
TYPE
is the type of the function,
NAME
it the name used for the first access to the
function,
SERIAL
is the serial number of the module if the module is connected or
"unresolved"
,
and
FUNCTIONID
is the hardware identifier of the function if the module is connected. For example,
this method returns
Relay(MyCustomName.relay1)=RELAYLO1-123456.relay1
if the
module is already connected or
Relay(BadCustomeName.relay1)=unresolved
if the module
has not yet been connected. This method does not trigger any USB or TCP transaction and can
therefore be used in a debugger.
Returns :
a string that describes the GPS (ex:
Relay(MyCustomName.relay1)=RELAYLO1-
123456.relay1
)
www.yoctopuce.com
237
Содержание Yocto-GPS
Страница 1: ...Yocto GPS User s guide...
Страница 2: ......
Страница 6: ...22 Characteristics 557 Blueprint 559 Index 561...
Страница 10: ...4 www yoctopuce com...
Страница 14: ...8 www yoctopuce com...
Страница 18: ...12 www yoctopuce com...
Страница 22: ...16 www yoctopuce com...
Страница 38: ...32 www yoctopuce com...
Страница 42: ...36 www yoctopuce com...
Страница 54: ...48 www yoctopuce com...
Страница 72: ...66 www yoctopuce com...
Страница 92: ...86 www yoctopuce com...
Страница 122: ...116 www yoctopuce com...
Страница 132: ...126 www yoctopuce com...
Страница 159: ...20 High level API Reference On failure throws an exception or returns a negative error code www yoctopuce com 153...
Страница 564: ...22 Characteristics 558 www yoctopuce com...
Страница 565: ......
Страница 566: ......