reading afme programmers guide, in particular section SunSPOT Agents, I don't
understand which parameters are passed to an instance of service com.agentfactory.radio.RadiogramMTS, created in WirelessAliceplat and WirelessBobplat platform in example related to SunSPOT wireless communication, and to an instance of service com.agentfactory.radio.RadioMigManager created in SpotIreland and SpotAfrica platform in example related to SunSPOT wireless communication.
In first example (related to SunSPOT wireless communication) the value ‘40’ is passed to an instance of com.agentfactory.radio.RadiogramMTS service in both WirelessAliceplat and WirelessBobplat platform, instead in the second example (related to Agent Migration with SunSPOTs) values 40, 45 and 41, 46 are passed respectively to instance of com.agentfactory.radio.RadioMigManager service in SpotIreland and in SpotAfrica. What is the mean of these parameters? Are these parameters port number?
I hope that also this problem is clear
Thanks a lot!!!!
Best regards
Alessio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If these parameters are port numbers, why is necessary to specify two port numbers in creating an instance of com.agentfactory.radio.RadioMigManager?
Why isn't possible to use only one port for migration service (for examples
in com.agentfactory.radio.RadiogramMTS WirelessAliceplat only one port parameter is specified)?
I hope that problem is clear; if isn't clear, please tell me, thank you
best regards.
lucignolo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The first number specified is no longer used. The second number is the port number. I think this is legacy as the original migration manager took 3 parameters. I will remove the requirement to specify two numbers in a later release.
Best regards,
Conor
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi boys,
reading afme programmers guide, in particular section SunSPOT Agents, I don't
understand which parameters are passed to an instance of service com.agentfactory.radio.RadiogramMTS, created in WirelessAliceplat and WirelessBobplat platform in example related to SunSPOT wireless communication, and to an instance of service com.agentfactory.radio.RadioMigManager created in SpotIreland and SpotAfrica platform in example related to SunSPOT wireless communication.
In first example (related to SunSPOT wireless communication) the value ‘40’ is passed to an instance of com.agentfactory.radio.RadiogramMTS service in both WirelessAliceplat and WirelessBobplat platform, instead in the second example (related to Agent Migration with SunSPOTs) values 40, 45 and 41, 46 are passed respectively to instance of com.agentfactory.radio.RadioMigManager service in SpotIreland and in SpotAfrica. What is the mean of these parameters? Are these parameters port number?
I hope that also this problem is clear
Thanks a lot!!!!
Best regards
Alessio
Hi,
Yes, these numbers are the port numbers
Hi connor,
If these parameters are port numbers, why is necessary to specify two port numbers in creating an instance of com.agentfactory.radio.RadioMigManager?
Why isn't possible to use only one port for migration service (for examples
in com.agentfactory.radio.RadiogramMTS WirelessAliceplat only one port parameter is specified)?
I hope that problem is clear; if isn't clear, please tell me, thank you
best regards.
lucignolo
hi lucignolo,
The first number specified is no longer used. The second number is the port number. I think this is legacy as the original migration manager took 3 parameters. I will remove the requirement to specify two numbers in a later release.
Best regards,
Conor