divers:nabaztag:protocole_version_http
Différences
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 | ||
divers:nabaztag:protocole_version_http [20/08/2011 21:00] – [Les Messages] cyrille | divers:nabaztag:protocole_version_http [19/05/2012 00:18] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 4: | Ligne 4: | ||
Le Lapin étudié est un **Nabaztag: | Le Lapin étudié est un **Nabaztag: | ||
- | Le bytecode utilisé n'est pas la dernière version éditée par Violet puisqu' | + | **Le bytecode utilisé |
- | + | ||
- | Du coup les URLs contenues dans le bytecode | + | |
* /locate.php | * /locate.php | ||
* /vl/p4.php | * /vl/p4.php | ||
Ligne 67: | Ligne 65: | ||
* sd> | * sd> | ||
* | * | ||
- | * **tc**: | + | * **tc**: |
+ | |||
+ | Peut-être: | ||
+ | * The “tc” parameter in the GET request contains the ID of the currently-running program, and the “tn” parameter contains the ID of the previous program. Something funny seems to happen when switching from one to the other (http:// | ||
Ligne 87: | Ligne 88: | ||
"GET / | "GET / | ||
"GET / | "GET / | ||
+ | "GET / | ||
+ | |||
+ | "GET / | ||
+ | "POST / | ||
+ | "GET / | ||
+ | "GET / | ||
+ | "GET / | ||
"GET / | "GET / | ||
Ligne 94: | Ligne 102: | ||
==== Les Messages ==== | ==== Les Messages ==== | ||
- | === Delay Message | + | === Interval de communication |
[03,1]78 | [03,1]78 | ||
- | === Leds & Ears Message Position | + | === Ambience |
+ | |||
+ | Leds, Ears, Service | ||
[04, | [04, | ||
=== Download Message (type=0x05) === | === Download Message (type=0x05) === | ||
+ | |||
+ | === Reboot (type=0x09) === | ||
=== Message (type=0x0a) === | === Message (type=0x0a) === | ||
+ | |||
+ | ==== Exemples ==== | ||
+ | |||
+ | 1er Ping après allumage : | ||
+ | / | ||
+ | packetHead: 7f | ||
+ | block[1]: [MessageBlock, | ||
+ | block[2]: [AmbientBlock, | ||
+ | block[3]: [Block, | ||
+ | packetTail: ff0a | ||
+ | / | ||
+ | packetHead: 7f | ||
+ | block[1]: [AmbientBlock, | ||
+ | block[2]: [Block, | ||
+ | block[3]: [MessageBlock, | ||
+ | |||
+ | Weather (1) to Storm (5): | ||
+ | AbientBlock-> | ||
+ | block[1]: [AmbientBlock, | ||
+ | block[2]: [Block, | ||
+ | block[3]: [MessageBlock, | ||
+ | |||
+ | Weather (1) to Storm (5) and Market (2) to Neutral (3): | ||
+ | AbientBlock-> | ||
+ | AbientBlock-> | ||
+ | block[1]: [AmbientBlock, | ||
+ | block[2]: [Block, | ||
+ | block[3]: [MessageBlock, | ||
+ | |||
+ | Market (2) to Neutral (3): | ||
+ | AbientBlock-> | ||
+ | block[1]: [AmbientBlock, | ||
+ | block[2]: [Block, | ||
+ | block[3]: [MessageBlock, | ||
+ | | ||
+ | Taichi | ||
+ | AbientBlock-> | ||
+ | block[1]: [AmbientBlock, | ||
+ | block[2]: [Block, | ||
+ | block[3]: [MessageBlock, | ||
+ | |||
+ | Play Dice: | ||
+ | GET / | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | GET / | ||
+ | GET / | ||
+ | GET / | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Play a MP3 URL: | ||
+ | |||
+ | simpleplay: ping type=0 | ||
+ | simpleplay: ping CurrentID=2147483647 | ||
+ | simpleplay: media reference=4792979 | ||
+ | simpleplay: now playing http:// | ||
+ | / | ||
+ | block[1]: [AmbientBlock, | ||
+ | block[2]: [Block, | ||
+ | block[3]: [MessageBlock, | ||
+ | | ||
+ | simpleplay: ping type=2 | ||
+ | simpleplay: ping CurrentID=4792979 | ||
+ | simpleplay: media reference=4792979 | ||
+ | simpleplay: http:// | ||
+ | / | ||
+ | block[1]: [AmbientBlock, | ||
+ | block[2]: [Block, | ||
+ | block[3]: [MessageBlock, | ||
+ | |||
divers/nabaztag/protocole_version_http.txt · Dernière modification : 19/05/2012 00:18 de 127.0.0.1