From 127f012b3faa37f4f016adcdc7268386ff421785 Mon Sep 17 00:00:00 2001 From: jacomi Date: Tue, 13 Apr 1999 09:03:39 +0000 Subject: doc updated --- doc/ivy-c-1.html | 6 +++--- doc/ivy-c-2.html | 6 ++++++ doc/ivy-c-3.html | 4 ++-- doc/ivy-c-6.html | 19 +++++++++++++++++-- 4 files changed, 28 insertions(+), 7 deletions(-) diff --git a/doc/ivy-c-1.html b/doc/ivy-c-1.html index 69e9dee..3e22fab 100644 --- a/doc/ivy-c-1.html +++ b/doc/ivy-c-1.html @@ -62,7 +62,7 @@ networks and listening on the specified port number connect to it. It then becomes part of the bus, and listens like the other ones.
The messages are exchanged in text format, and bindings are based on regular
expressions with captures. If an application subscribes to
-HELLO (.*)
an if another application emits the message HELLO WORLD
, a
+HELLO (.*)
and if another application emits the message HELLO WORLD
, a
callback will be called in the first application with WORLD
as an argument.
@@ -78,10 +78,10 @@ can use an Ivy connection kit, that is a library that implements Ivy.
Libraries that implement Ivy are available in the following environments:
If your system is Linux/Redhat, you have to use the command rpm -i package-name. +
If your system is Linux/Debian, you have to use the command dpkg -i package-name. +
If your system is not a Linux one, you have to get and compile the source of the ivy-c library. +In this case, you have to get the source from CENA at http://XXX or from one of the Fairway sites. +
diff --git a/doc/ivy-c-3.html b/doc/ivy-c-3.html index 8ff844c..fef73f8 100644 --- a/doc/ivy-c-3.html +++ b/doc/ivy-c-3.html @@ -17,7 +17,7 @@
Initializing an Ivy agent with the Ivy C library is a two step process. First of +
Initializing an Ivy agent with the Ivy C library is a two-step process. First of
all, you should initialize the library by calling function IvyInit
. Once
the library is initialized you can create timers and add subscriptions, but your
agent is still not connected to any bus. In order to connect, you should call
@@ -42,7 +42,7 @@ void IvyInit (const char* agentname,
-initializes the library. blahblah
+initializes the library.
diff --git a/doc/ivy-c-6.html b/doc/ivy-c-6.html
index 94b9e6e..c85da04 100644
--- a/doc/ivy-c-6.html
+++ b/doc/ivy-c-6.html
@@ -12,9 +12,24 @@ Next
Contents
6. Conventions for writing applications
-
-... the environment variable IVYBUS
..., ... the option -b
...
+
6.1 Default bus
+By default, the bus used is 127.255.255.255:2010 ie the application will be connected on the port 2010 of the local machine it runs on.
+You can set the bus to be used by setting the environment variable IVYBUS
or by implementing the option -b
in the application.
+
6.2 Connexion to ivy
+By convention, the message application-name READY is to be used when initializing the connexion to ivy.
+
Example:
+
IvyInit ("TOTO", "TOTO READY",...)
+
6.3 Syntax of messages
+The syntax of the messages exchanged is totally free. However, the following convention is recommended:
+
+Example:
+AIRCRAFT:LIB720 Moved lat=46.1697 lon=2.0844 vx=-36 vy=-463 afl=330 rate=0 heading=184 ground_speed=465
+mach_speed=0 tendance=0 time=24600 cfl=330
Next
Previous
--
cgit v1.1