Found it.  The problem was in the BlackbookFullConnectM.nc module, outside
of the actual Blackbook5 core.  The payload of the TOS_Msg that contained
the retrieved dictionary value was being automatically erased.

I'm having trouble uploading files to CVS right now, but the
BlackbookFullConnectM.nc patch is attached.

Thanks for the bug find,
-David



-----Original Message-----
From: David Moss [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 13, 2006 9:44 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [Tinyos-help] Testing BlackbookFullConnect 


Glad to see you got the Java end working.  But this problem is a little
strange.  Let me run some tests to try to duplicate this and I'll get back
with you.

For reference, are you using a mica- type mote?  I remember experiencing
some problems with the way the mica-'s flash stores data.





-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, July 13, 2006 2:02 AM
To: [email protected]
Subject: [Tinyos-help] Testing BlackbookFullConnect 


Hi David,
Thanks for your help, but now I have another problem.
I'm following the blackbookconnect_readme.txt in order to 
test bdictionary interfac.
I'm able to inset a key in dictionary file but I'm not 
able to retrieve its value.
This is what i do:

blackbook bdictionary -insert 0xBEEF Test 4
BDictionary inserted SUCCESS: Key 0xBEEF Inserted

and

blackbook bdictionary -retrieve 0xbeef
BDictionary retrieved SUCCESS
00 00 00 00                   |

this for every key that I insert.
Have you any ideas about this problem? Why it does not 
retrieve the value?

----- Original Message -----
From: "David Moss" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Wednesday, July 12, 2006 6:29 PM
Subject: RE: [Tinyos-help] Testing BlackbookFullConnect


> You can find the Blackbook Java app in the TinyOS 1.x CVS under
> /contrib/rincon/tools/java/
> 
> The package is in that tools/java directory under com/rincon/blackbook. 
> 
> If you copy the /tools/java/com directory to your local TinyOS /tools/java
> directory, you can then run the BlackbookConnect program using:
> 
> java com.rincon.blackbook.BlackbookConnect
> 
> Hope that points you in the right direction,
> -David
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: Wednesday, July 12, 2006 6:53 AM
> To: [email protected]
> Subject: [Tinyos-help] Testing BlackbookFullConnect 
> 
> 
> Hi David, I would know approximately the date when you'll 
> publish the TestBlackbook java application. I'w test the 
> BlackbookFullConnect application and I don't know how to 
> do.
> 
> Thank you.
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Attachment: BlackbookFullConnectM.nc
Description: Binary data

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to