@Nagarjuna-Reddy I can't test this right now, but first I think you need to remove the sdcard module as it will likely be managing the registers:
Then I expect you can use the GPIO like so:
gpioctl dirout-high 22
gpioctl get 22
gpioctl dirout-low 22
gpioctl get 22
@supczinskib Sorry for the delay, been working on another project. I managed to get ssl to work with the device and tested out a lot of the configuration options. I had an issue with the example and posted it along with a solution in another thread -> Setting up ssl/tls with mosquitto = "A TLS error occured" solution. Hope this answers your question.
If you want to be able to examine your Omega2(S)(+) network traffic, you can use these steps to use WireShark to listen to a tcpdump via ssh from your Omega. I run WireShark on Ubuntu 19 / 20 but this also works on Windoze.
sudo apt install wireshark-qt
sudo chmod +x /usr/bin/dumpcap
#The next command allows you to run wireshark as a user instead of sudo
sudo dpkg-reconfigure wireshark-common
wireshark -k -i /tmp/pipe & ssh firstname.lastname@example.org "tcpdump -i any -s 0 -U -w - not port 22" > /tmp/pipe
Wireshark will show its main window obscuring the fact that on the terminal your Omega2 is requesting a password. So switch back to the terminal and enter the root password for your Omega2, then back to WireShark and you'll start to see the traffic roll in.
Since this process uses ssh, you can leverage ssh certificate authentication instead so you don't need to enter a password.
What is the depth resolution? As in the minimum differential distance between two levels
The Tau Camera's theoretical differential depth level is on the millimeter level. However, the effective differential depth is on the centimeter level depending on the level of noise.
To get down to the millimeter level of granularity an effective noise suppression algorithm must be used.
To be more specific, the depth accuracy is within +/-2% of the measuring distance. The closer camera is to the object, the lower the error will be. For the range of 100mm to 2000mm, the depth accuracy would be under +/-20mm.