WebSampling 1.0.X : Différence entre versions

De wiki
Aller à : navigation, rechercher

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 861

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 862

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 436

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 439

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 447

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 447

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 447

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 447

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 447

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 439

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 498

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 439

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 439

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 498

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 455

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 587

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 587

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/sandre/domip/MediaWiki/includes/diff/DairikiDiff.php on line 954
(Client HTTP)
(Client HTTP)
Ligne 30 : Ligne 30 :
 
Fichier appcfg.c : ajout des valeurs par défaut pour les paramêtres EEPROM ci-dessus
 
Fichier appcfg.c : ajout des valeurs par défaut pour les paramêtres EEPROM ci-dessus
  
Fichier http.c : modification afin de parser les fichiers qui sont envoyés sur la connexion tcp
+
Fichier http.c : modification afin que la fonction sendfile soit appelée avec pour paramêtre un handle de liaison TCP et pas un index sur le tableau de handle interne au serveur http.
 +
Fichier httpclient.c : copie modifiée de tcputils.c afin de pouvoir envoyer des fichiers parsés à l'aide de la fonction sendfile de http.c.
  
 
=== Automate ===
 
=== Automate ===

Version du 2 novembre 2011 à 00:28

Attention cette page n'est pas terminée et est en travaux

Le but de cet article est de décrire la conception du logiciel WebSampling utilisé pour la Carte d'Acquisition Web.

V1.0.x

La version 1.0 est conçue à partir du logiciel Modtronix SBC68EC Webserver V3.06. Poremplir les fonction de la Carte d'Acquisition Web, il est nécessaire de lui ajouter les fonctionnalités suivantes :

  • Réception des trames de téléinformation EdF
  • Mise en place d'un client HTTP emettant des requêtes contenant ces trames de téléinformations ainsi que les valeurs de ports analogiques
  • Ajout d'un automate cadençant l'émission de ces requêtes toutes les minutes

Réception des trames de Téléinformation EdF

  • projdefs.h : modification des tailles de buffer UART Rx/Tx à 32 et 8 octets
  • appcfg.c : modif du diviseur de l'UART pour 1200 bauds ( = 1212 bauds), du Baudrate par defaut = 1200 Bauds
  • serint.c : on ne tient plus compte du Frame Error byte (à confirmer)
  • teleinfo.h et teleinfo.c : ajout de ces deux fichiers qui contionnent les définitions et le code nécessaire pour la réception des trames de téléinformation (taille max 170 octets)

Client HTTP

projdefs.h

//Define the port used for the HTTP client, default is 80

  1. define DEFAULT_HTTPCLIENT_PORT (80)

//Configured Server port for data upload

  1. define HOST_PORT ((((WORD)appcfgGetc(APPCFG_HOST_PORTH))<<8) | (WORD)appcfgGetc(APPCFG_HOST_PORTL))
  1. define STACK_CLIENT_MODE
  2. define STACK_USE_DNS

Fichier appcfg.h : Mise à jour du mapping EEPROM pour sauvegarder le host name, son IP et le port utilisé

Fichier appcfg.c : ajout des valeurs par défaut pour les paramêtres EEPROM ci-dessus

Fichier http.c : modification afin que la fonction sendfile soit appelée avec pour paramêtre un handle de liaison TCP et pas un index sur le tableau de handle interne au serveur http. Fichier httpclient.c : copie modifiée de tcputils.c afin de pouvoir envoyer des fichiers parsés à l'aide de la fonction sendfile de http.c.

Automate

  • mxwebsrvr.c : code del'automate

Interface Utilisateur

  • cmd.h : definion des commande de modification du host name ('h') et du path de l'URL d'upload ('r')
  • cmd.c : code de traitement pour la modification des paramêtres du serveur http cible :host name, IP, port,path de l'URL.
  • httpexec.h : définition des commande de lecture de des paramêtres du serveur http cible :host name,path de l'URL.
  • httpexec.c :code de lecture de des paramêtres du serveur http cible :host name,path de l'URL.