I am using an Endpoint to aquire images from a USB camera and retransmit (selected images as required) to a PC based application . This all works very “slick”…
My question is - Is it possible to access device information from the endpoint device similar to what we can do with TinyCLR - CPU usage, memory etc.? (serial number would be nice :))
As an aside I needed to connect the Endpoint board to a USB camera and wired ethernet so I used one of these https://www.waveshare.com/usb-hub-3u-eth.htm works a treat - I do have it “powered” but it seemed quite happy being powered from the Endpoint USB-A. Thought this might be of use to others.
Endpoint is a trimmed down Linux system. So, you have options via the command line.
You can SSH into the endpoint device and get a command prompt (ssh root@192.168.82.2 when connected to a PC via USB). Issue the command “free -h” and you have information on memory utilization.
Connected via SSH, you can also use the “top” command. This will provide lots of information about memory and cpu usage. Top runs as a live character graphics program. Live means it updates in real-time.
There are lots of discussions on how to access CPU and memory utilization from within your program, via .NET, on the Internet. I have researched this before but I don’t remember what I used.
As far as serial number… I don’t know if the chip being utilized has a serial number. You would have to check the documentation for the chip.
If you want a unique number, and have a WiFi or Ethernet dongle, you could enumerate the available network interfaces and see if any interfaces have a MAC address visible.