Community
cancel
Showing results for 
Search instead for 
Did you mean: 
sk23
New Contributor II
1,286 Views

Device management and sensor diagnostics ,Security and Power consumption:

I want to know below details.

Device management and sensor diagnostics.

If the device is hangup how to reset remotely. If some sensor is not working on target board How we can monitor or control the sensor

Security - I want generate serial number for every device base on MAC address.do you have any algorithm for this aspect ?

Power consumption: we are using gps battery will drain quickly.Is there any alternate for GPS.

Tags (1)
3 Replies
idata
Community Manager
33 Views

Hello IoT_srinivas,

 

 

How would you like to manage the device and sensors? An analytics service such as Intel's Cloud Analytics ( https://software.intel.com/en-us/intel-iot-platforms-getting-started-cloud-analytics) would work for you? If not, why?

 

If you would like to reset the board if the app hangs, then you could create a system service (https://communities.intel.com/docs/DOC-111103 https://communities.intel.com/docs/DOC-111103) that reboots the board if the connection is lost.

 

 

The Edison by default does not include a package that's capable of creating serial numbers based on the device's MAC address, however you could use third party tools like uuidgen ( http://man7.org/linux/man-pages/man1/uuidgen.1.html), or you could create your own algorithm similar to what's mentioned in http://unix.stackexchange.com/questions/144812/generate-consistent-machine-unique-id.

 

 

There's no replacement for GPS, but what you might want to try is using a different kind of battery. If you check the following documents you will be able to find more information about different types of batteries:

 

 

https://en.wikipedia.org/wiki/List_of_battery_types

 

http://michaelbluejay.com/batteries/

 

 

Peter.
sk23
New Contributor II
33 Views

Hi ,

How would you like to manage the device and sensors?

If the device is hangup how to reset remotely. If some sensor is not working on target board How we can monitor or control the sensor /

I have cloud similar to Intel cloud analytic.I cannot share the compete details as per security.

">

Above link explains only how start the System services on Edison are handled by system.

there is no solution for that reboots the board if the connection is lost.

I don't want to change the design. do you have solution instead of GPS or not ?

idata
Community Manager
33 Views

The way you could reset the board using a system service is that you could create a shell script that starts automatically on boot and that could monitor certain circumstance that would indicate that your app has hanged. For example the script could be similar to this pseudo-code:

 

 

while [True]

 

if [condition = app_hanged]

 

reboot

 

fi

 

done

 

 

The way that you could check the state of "app_hanged" could be through different methods. Let's say your board loses its internet connection, you could have a service that checks the ping times to google.com every five minutes and if it does not return nothing, it could either tell the board to try to reconnect to the internet or restart.

 

 

If you would like to see the data in real time, you have two main options. The first would be to use an analytics platform as I mentioned in my previous post. Even if you are not using Intel's Cloud Analytics, the service that you are using should have an API, in its options you should be able to trigger different events. However this would depend on the service that you are using.

 

 

The other option would be to use JavaScript in order to achieve something similar to this example: http://canvasjs.com/editor/?id=http://canvasjs.com/example/gallery/dynamic/realtime_line/ but also receiving data from the site in order to update it on Edison.

 

 

As I mentioned in my previous post, GPS doesn't really have an alternative. So, my best suggestion is to either upgrade the battery or to search for a GPS that consumes less power. You could also control the GPS to only "awake" the sensor every few minutes so you can save battery when it is not required.

 

 

Peter.
Reply