You must configure the
VirtualHub
so that it calls the PHP script on a regular basis. To do so:
1. Launch a
VirtualHub
2. Access its interface, usually 127.0.0.1:4444
3. Click on the
configure
button of the line corresponding to the
VirtualHub
itself
4. Click on the
edit
button of the
Outgoing callbacks
section
Click on the "configure" button on the first line
Click on the "edit" button of the "Outgoing callbacks" section
And select "Yocto-API callback".
You then only need to define the URL of the PHP script and, if need be, the user name and
password to access this URL. Supported authentication methods are
basic
and
digest
. The second
method is safer than the first one because it does not allow transfer of the password on the network.
10. Using Yocto-Display with PHP
54
www.yoctopuce.com
Содержание Yocto-Display
Страница 1: ...Yocto Display User Manual...
Страница 2: ......
Страница 40: ...34 www yoctopuce com...
Страница 52: ...46 www yoctopuce com...
Страница 84: ...78 www yoctopuce com...
Страница 92: ...86 www yoctopuce com...
Страница 130: ...124 www yoctopuce com...
Страница 158: ...22 High level API Reference 152 www yoctopuce com On failure throws an exception or returns a negative error code...
Страница 422: ...416 www yoctopuce com...
Страница 424: ...24 Characteristics 418 www yoctopuce com...