Spam detection software, running on the system "mail.Millennium.Berkeley.EDU",
has
identified this incoming email as possible spam. The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Hello, all. I'm having some problems on wiring
components.Picture
this as an example: I created an interface, say "A", with a function
print().Then,
I created a module, say "AMod", which provides that interface "A" and
therefore
it implements that print function. Since this is something that I'm trying
to add to TinyOS, I copied the interface to tos/interfaces and the module
to tos/system (more specifically, I'm trying to add cryptographic modes -
CBC, CFB, etc. - to AES algorithm implemented by Sylvain on crypto package
living on TinyOS repository). Ok. Now, I made an app (let's call it App)
which uses interface "A" and it will call "A".print(). I also created a
configuration
file to that app which wires "App"."A" -> "AMod". All good, things work out
and that's just great. Then, I wanted to add a "new layer": so now, instead
of having my app calling "A".print() I want it to call "B".print2(), being
"B" a new interface that I will create and will copy to tos/interfaces
aswell.Along
with that new interface, I will also create a new module, say "BMod", that
will provide "B" and therefore will implement that B.print2() function. But
the code of print2() would be something like: command void B.print2() { call
A.print();} So my "BMod" would have to use "A". This took me to create a
new configuration file having something like: configuration {}implementation
{ components BMod, AMod; BMod.A -> AMod;} Unfortunately, this must be wrong,
since I got the same error for the last 4 or 5 hours: In component BMod:In
function B.print2:A.print is not connected. But I just can't get it. Why
isn't it connected? I thought my configuration file was connecting them. Any
ideas? Sorry for the long explanation, but I wanted to give you full details.
Kind regards,Pedro Nunes Hotmail: Correio Electrónico Poderoso e Gratuito
com segurança Microsoft. https://signup.live.com/signup.aspx?id=60969 Hello,
all. [...]
Content analysis details: (4.9 points, 3.3 required)
pts rule name description
---- ---------------------- --------------------------------------------------
3.2 FH_DATE_PAST_20XX The date is grossly in the future.
0.0 HTML_MESSAGE BODY: HTML included in message
0.0 BAYES_50 BODY: Bayesian spam probability is 40 to 60%
[score: 0.5000]
1.1 DNS_FROM_OPENWHOIS RBL: Envelope sender listed in bl.open-whois.org.
0.6 AWL AWL: From: address is in the auto white-list
The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam. If you wish to view
it, it may be safer to save it to a file and open it with an editor.
--- Begin Message ---
Hello, all.
I'm having some problems on wiring components.Picture this as an example:
I created an interface, say "A", with a function print().Then, I created a
module, say "AMod", which provides that interface "A" and therefore it
implements that print function.
Since this is something that I'm trying to add to TinyOS, I copied the
interface to tos/interfaces and the module to tos/system (more specifically,
I'm trying to add cryptographic modes - CBC, CFB, etc. - to AES algorithm
implemented by Sylvain on crypto package living on TinyOS repository).
Ok. Now, I made an app (let's call it App) which uses interface "A" and it will
call "A".print(). I also created a configuration file to that app which wires
"App"."A" -> "AMod".
All good, things work out and that's just great.
Then, I wanted to add a "new layer": so now, instead of having my app calling
"A".print() I want it to call "B".print2(), being "B" a new interface that I
will create and will copy to tos/interfaces aswell.Along with that new
interface, I will also create a new module, say "BMod", that will provide "B"
and therefore will implement that B.print2() function.
But the code of print2() would be something like:
command void B.print2() { call A.print();}
So my "BMod" would have to use "A".
This took me to create a new configuration file having something like:
configuration {}implementation { components BMod, AMod;
BMod.A -> AMod;}
Unfortunately, this must be wrong, since I got the same error for the last 4 or
5 hours:
In component BMod:In function B.print2:A.print is not connected.
But I just can't get it. Why isn't it connected? I thought my configuration
file was connecting them.
Any ideas? Sorry for the long explanation, but I wanted to give you full
details.
Kind regards,Pedro Nunes
_________________________________________________________________
Hotmail: Correio Electrónico Poderoso e Gratuito com segurança Microsoft.
https://signup.live.com/signup.aspx?id=60969
--- End Message ---
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help