Please, I have two questions:
1. What's the advantage of using Modules or a Class with the singleton pattern for sharing objects between actuators and perceptors?
2. I am programming an agent that recognices bluetooth networks but what is the best way for saving the DiscoveredDevices?
Thank you.
David
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The use of modules is a necessity rather than an advantage. That is, in certain situations or applications, there needs to be some way of sharing objects between actuators and preceptors. This is facilitated in AFME through the use of modules. For other applications, this will not be a requirement and therefore modules need not be used.
I have not done development with Bluetooth, but if you want to save information, you should use the record management store (RMS) functionality of MIDP. The RMS is used for persistent storage.
best,
Conor
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Please, I have two questions:
1. What's the advantage of using Modules or a Class with the singleton pattern for sharing objects between actuators and perceptors?
2. I am programming an agent that recognices bluetooth networks but what is the best way for saving the DiscoveredDevices?
Thank you.
David
hi David,
The use of modules is a necessity rather than an advantage. That is, in certain situations or applications, there needs to be some way of sharing objects between actuators and preceptors. This is facilitated in AFME through the use of modules. For other applications, this will not be a requirement and therefore modules need not be used.
I have not done development with Bluetooth, but if you want to save information, you should use the record management store (RMS) functionality of MIDP. The RMS is used for persistent storage.
best,
Conor