|
Re: Porting OM2M hardware requirement [message #1653747 is a reply to message #1651638] |
Fri, 06 March 2015 11:14 |
Mahdi Ben Alaya Messages: 229 Registered: November 2013 |
Senior Member |
|
|
Hello Owen,
The average hardware requirement for the gateway are:
- CPU: 500 MHz
- RAM: 128 MB
- Storage: 100 MB
However, the hardware requirement depends on your scenario.
For example, if you need to
- store all your sensor data locally in the gateway, then you have to increase the storage capacity, otherwise you can even work with very small storage memory.
- handle a big number of request by the gateway, then you have to increase the CPU and RAM capacity.
Actually, I am using OM2M with Beaglebone Black and Raspberry Pi and I am happy with it since it shows good performance.
Last point, in the next release of OM2M planned for 31 of march 2015, the current database DB4O will be replaced with a JPA layer based on EclipseLink to enable our users to chose their own database solution. By default OM2M will come with the H2 database that provides better performance.
You can take a look at our roadmap for more details: https://wiki.eclipse.org/OM2M/Roadmap
Hope this can help,
Mahdi
[Updated on: Fri, 06 March 2015 11:15] Report message to a moderator
|
|
|
|
|
|
Re: Porting OM2M hardware requirement [message #1671461 is a reply to message #1665431] |
Fri, 13 March 2015 16:15 |
Mahdi Ben Alaya Messages: 229 Registered: November 2013 |
Senior Member |
|
|
Hello Owen Wu,
A direct answer is no.
However, the question you are raising here is dealing more with programming language interoperability.
In OM2M, we provided a tutorial explaining how to extend OM2M with new JAVA/OSGi plugins: http://wiki.eclipse.org/OM2M/Developer
Then, you can implement any mechanism in your new plugin to get data or to send command from/to your specific devices.
Concretely to share data between a C and a JAVA program, there is at least 4 solutions:
1 - Store data on files,
2 - Send data using sockets,
3 - directly call C code from Java using the Java Native Interface (JNI).
However, if you have the possibility to update the code of your device(which is not always the case), then there is no need to add a new plugin.
You can simply add a HTTP or CoAP client to your device which will create required resources on OM2M.
If you need more information, you can give more details about your devices and scenario.
Mahdi
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03422 seconds