Planete Sciences

forums de Planete Sciences
It is currently Sat 25 May 2013, 21:48

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed 29 Feb 2012, 23:19 
Offline

Joined: Wed 19 Jan 2011, 18:31
Posts: 2
Salut à tous,

Je suis en trains de travailler sur les xbee série 2 avec le firmware ZNET 2.5.

J'ai récupérer les datasheet : ftp://ftp1.digi.com/support/documentati ... 0866_C.pdf l'envoie de trame est en bas des datasheet.
J'ai configuré un xbee en coordinateur et l'autre en EndDevice.
Quand le EndDevice ce connecte je reçois bien la trame de connexion dans le terminal de X-CTU:

Code:
7E 00 20 95 00 13 A2 00 40 62 A9 25 14 FD 02 14 FD 00 13 A2 00 40 62 A9 25 20 00 FF FE 01 03 C1 05 10 1E E7

Avec :
Code:
// Commencement de la tram
7E
// Length
00 20
// Type trame
95
// Adresse 64Bits
00 13 A2 00 40 62 A9 25
// Adresse 16 bits
14 FD
// option de reception
02
// Adresse 16 bits
14 FD
//Adresse 64 Bits
00 13 A2 00 40 62 A9 25
// NI-String je sais pas trop
20 00
//adresse Source, la du brodcast
FF FE
// Ici en mode routeur
01
// SOurce action je sais pas trop se que c'est
03
//La non plus
C1 05
// La non plus
10 1E
// Checksum
E7


Donc mon EndDevice est bien connecté.

Quand je veux envoyer cette trame:

Code:
7e 00 19 10 01 00 13 A2 00 40 62 A9 25 14 FD 00 08 68 65 6C 6C 6F 9c

// Commencement de la tram
7e
// Length
00 19
// Type trame
10
// Id de la trame
01
// Adresse 64Bits
00 13 A2 00 40 62 A9 25
// Adresse 16 bits
14 FD
// Je sais pas trop à quoi ça sert
00
// pareil
08
// Donnée en hexo = "hello"
68 65 6C 6C 6F
// Checksum
9c

avec mon coordinateur connecter en USB ==> émulateur port série et X-CTU avec l'assembleur de trame rien ne ça passe. Pas de trame de retour pour une erreur d'envoie ou autre.

Avez vous une idée?

Merci


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You can post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group