Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
maison2:configuration_open_wrt:developpement_appli [04/2012] – [debugage du SDK ar71] fred | maison2:configuration_open_wrt:developpement_appli [04/2012] (Version actuelle) – [temps execution] fred | ||
---|---|---|---|
Ligne 131: | Ligne 131: | ||
- | ====== modification owfs ====== | ||
- | apres avoir installé le package owfs-2.6p8 de facon [[maison2: | ||
- | * on place {{: | ||
- | * on place le {{: | ||
- | * sous ~/ | ||
- | {{: | ||
- | < | ||
- | on modifie ~/ | ||
- | on modifie ~/ | ||
- | ~/ | ||
- | wget http:// | ||
- | wget http:// | ||
- | ipkg install -force-overwrite libow_2.6p8-4FS2_mipsel.ipk | ||
- | </ | ||
====== compiling on OpenWRT router natively ====== | ====== compiling on OpenWRT router natively ====== | ||
Ligne 152: | Ligne 138: | ||
* http:// | * http:// | ||
+ | ====== dépendance de openhouse ====== | ||
+ | * [[maison2: | ||
+ | * [[maison2: | ||
- | ====== 1 Wire in C ====== | ||
- | ===== utilisation de OWCAPI ===== | ||
- | je n' | ||
- | * {{: | ||
- | * [[http:// | ||
- | * [[http:// | ||
- | ===== on passe par le system de fichier que crée OWFS ===== | ||
- | |||
- | * {{: | ||
- | |||
- | * [[http:// | ||
- | |||
- | |||
- | ====== interface web embarqué ====== | ||
- | en utilisant web if comment la page command ([[maison2: | ||
- | |||
- | doit' | ||
- | |||
- | ===== 1 wire error ===== | ||
- | on ajoute un menu sous webif grace a script suivant (/ | ||
- | <code bash> | ||
- | # | ||
- | <? | ||
- | . / | ||
- | header " | ||
- | cat <<EOF | ||
- | <h2>1 wire statistics</ | ||
- | / | ||
- | EOF | ||
- | cd / | ||
- | echo "< | ||
- | tmp=$(grep | ||
- | echo $tmp | ||
- | |||
- | cd / | ||
- | echo "< | ||
- | echo "< | ||
- | echo "< | ||
- | |||
- | cd / | ||
- | echo "< | ||
- | echo "< | ||
- | echo "< | ||
- | |||
- | cd / | ||
- | echo "< | ||
- | echo "< | ||
- | echo "< | ||
- | echo "< | ||
- | echo "< | ||
- | ?> | ||
- | <? footer ?> | ||
- | <!-- | ||
- | ## | ||
- | --> | ||
- | </ | ||
- | |||
- | < | ||
- | fred@Xubuntu: | ||
- | CRC8_errors: | ||
- | CRC8_tries: | ||
- | ne fonctionne pas avec 20 a la place de 2 .... | ||
- | |||
- | mieux : | ||
- | fred@Xubuntu: | ||
- | CRC8_errors: | ||
- | CRC8_tries: | ||
- | max_delay: | ||
- | |||
- | maintenant il faudrait substituer les retour chariot par des <BR> | ||
- | |||
- | </ | ||
====== misc ====== | ====== misc ====== | ||
Ligne 254: | Ligne 171: | ||
- | ===== tracking discontinuité graphique web ===== | + | ====== |
- | + | ||
- | + | ||
- | semble lié a ces erreur syslog | + | |
- | < | + | |
- | May 27 19:43:06 (none) user.err openhouse[502]: | + | |
- | May 27 20:12:19 (none) user.err openhouse[502]: | + | |
- | </ | + | |
- | + | ||
- | ===== temps execution | + | |
<code c> | <code c> |