Post a new topicPost a reply Page 1 of 3   [ 21 posts ]
Go to page 1, 2, 3  Next
Author Message
 Post subject: Meshlium not storing frames after restart
PostPosted: Fri Jul 13, 2012 12:25 pm 

Joined: Fri Jun 15, 2012 1:16 pm
Posts: 51
After reading this guide I can see it says:
Quote:
"From now Meshlium will automatically will capture the ZigBee frames and it will store the results in this file. This process will also continue after restarting Meshlium."

This is not my experience, every time I restart it I have to enter Sensor Networks -> Zigbee -> Check Status and it will start.

Also, I'm writing my own parser and in this guide it says that I have to replace the value in this file:
Quote:
/etc/init.d/ZigbeeScanD.sh


I do not have that file, I assume it's because it's because the Capturer service doesn't exist in My Meshlium.

Any hints in how to solve this?


Top
 Profile  
 
 Post subject: Re: Meshlium not storing frames after restart
PostPosted: Fri Jul 13, 2012 12:41 pm 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7472
Hello rollinga

You are right that file is not in that location, the location is correct /bin/ZigbeeScanD.sh.

If daemon not run when the system restart, please add the line:

Code:
ZigbeeScanD.sh start &


in the file /etc/rc.local

This way the daemon becomming run when the system started.

Best Regards.


Top
 Profile  
 
 Post subject: Re: Meshlium not storing frames after restart
PostPosted: Fri Jul 13, 2012 12:46 pm 

Joined: Fri Jun 15, 2012 1:16 pm
Posts: 51
Thanks for your support, another problem i'm experiencing is this:

In Show Me Now after pressing Scan i'm getting the same values over and over

This happens even with no waspmotes transmitting.


Top
 Profile  
 
 Post subject: Re: Meshlium not storing frames after restart
PostPosted: Mon Jul 16, 2012 10:22 am 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7472
Hello rollinga,

It is because there is a file called. ShowMeNowFile which is stored in the last frame received, and not deleted when you restart Meshlium only overwritten when you receive a new frame. This file is located at /mnt/user/zigbee_data/

Best Regards.


Top
 Profile  
 
 Post subject: Re: Meshlium not storing frames after restart
PostPosted: Thu Jul 19, 2012 8:52 am 

Joined: Fri Jun 15, 2012 1:16 pm
Posts: 51
Thanks for your support.

I want to know if there is a maximum size for the frame that the Waspmote sends to the Meshlium. We've modified the parser and all the first values are parsed OK but at one point values are not properly read and we experience problems with odds values.
If we modified the order of the values in the parser same thing happen, first values are read OK, the ones at the end can't be read at all.


Top
 Profile  
 
 Post subject: Re: Meshlium not storing frames after restart
PostPosted: Thu Jul 19, 2012 11:35 am 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7472
Hello rollinga

Depending on the xbee protocol, packet size sent will vary. By default, the code of this size Waspmote truncated to 100 bytes. If 100 bytes do not fit in a frame (depending protocol), the protocol message fragmented into two or more packages.

For example: If maximun size of frame is 73 bytes (depending protocol) and we want to send 100 bytes, the protocol will create two frames, one with 73 bytes and other with 27 bytes.

Best Regards


Top
 Profile  
 
 Post subject: Re: Meshlium not storing frames after restart
PostPosted: Fri Jul 20, 2012 8:25 am 

Joined: Fri Jun 15, 2012 1:16 pm
Posts: 51
Thanks for the prompt response. I'm utilizing the wasp_start_program_full_ZB_v2 for testing purposes.

Can you point me out where I can find more information on protocol properties and frames?

Thanks in advance.


Top
 Profile  
 
 Post subject: Re: Meshlium not storing frames after restart
PostPosted: Fri Jul 20, 2012 8:49 am 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7472
Hello

You can find information about ZB links bellow:

- Xbee ZB
- ZigBee® Wireless Standard

Best Regards


Top
 Profile  
 
 Post subject: Re: Meshlium not storing frames after restart
PostPosted: Thu Aug 02, 2012 7:59 pm 

Joined: Fri Jun 15, 2012 1:16 pm
Posts: 51
libelium-dev wrote:
Hello rollinga

You are right that file is not in that location, the location is correct /bin/ZigbeeScanD.sh.

If daemon not run when the system restart, please add the line:

Code:
ZigbeeScanD.sh start &


in the file /etc/rc.local

This way the daemon becomming run when the system started.

Best Regards.


Hello, back to this problem. This line is present in /etc/rc.local

Code:
ZigbeeScanD.sh start &


The file ZigbeeScanD.sh is localted at /bin/ZigbeeScanD.sh so it will never work without the full path to the script. The problem is that this filesystems are mount as Read Only, so i can't modify any file.

How can I solve this problem?


Top
 Profile  
 
 Post subject: Re: Meshlium not storing frames after restart
PostPosted: Fri Aug 03, 2012 9:18 am 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7472
Hellor rollinga,

On page 6 of Technical Guide, it appears that before you edit a file you must run the command "remountrw", otherwise the filesystem will be read-only. Please use this command.

Best regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 3   [ 21 posts ]
Go to page 1, 2, 3  Next


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

Search for:


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use