Node red with termux - error permission denied cannot open port /dev/bus/usb/001/003 - serial-port

Hy!
I am using node-red mobile via a termux, I am trying to connect a RFD 868 module to mobile and receive serial data through it via a USB A port. I have connected a USB type C docking station with mobile which have three USB A port.
When I connect the docking station it shows three ports and I have granted access to the ports too via termux api. But when I try to use the port on Nod-red I receive the following message
[error] [serialconfig:29f6efabb67db2b8]
serial port /dev/bus/usb/001/003 error: Error: Error: Permission denied, cannot open /dev/bus/usb/001/003
Through same setup on the same port via "free USB serial" app I can receive serial data successfully. But on node-red mobile app its not working. Node red don't ask to select USB port it automatically denied the permission.

Related

Why can't I connect to my IP camera via RTSP?

I found this Forcovr Wifi IP Camera and want to stream its video via RTSP in the VLC app. The IP camera admin page reports it is transmitting data at ~800 bit rate, but I couldn't find any RTSP messages transmitted via Wireshark.
When I try to connect to the camera with a rtsp address using the device's IP (192.168.1.208) and assigned rtsp (8554) port I get an error in VLC logs along these lines:
live555 error: Failed to connect with rtsp://192.168.1.208:8554
satip error: Failed to setup RTSP session
I have tried variations of the address such as using the rtp protocol or adding login information and channel number to the url and even changing the port to the defaul 554, but can't get the camera to connect. If the camera is sending data where is it being sent to? How can I find the rtp address to connect to if network analyzer fails to pick up any messages over this protocol?
Run "ONVIF Device manager", https://demr.ru/rtsp-camera.html

Write to virtual serial port

I created a virtual serial port driver (user mode driver using microsoft sample)and installed it to get COM3. TeraTerm application started and opened COM3. How to send data from another application to receive it in TereTerm?

Connecting to Android via Appium Server on different network

I am trying to connect my Android devices present on a different network than my Appium Server but having no success.
P.S. The adb connects with the device over the same network and over USB but not to devices on a different network.
First of all, you need to get the IP address of the remote machine, your device is connected to. Assuming adb default port is 5555 and it is exposed to another machine with Appium server:
On machine with Appium server you run adb connect <ip_address>:5555, then adb devices should list remote device.
To have a robust solution you can have a look at OSS libraries like OpenSTF

Connect Xiomi android Tv box through ADB

I am using Xiomi android TV box for developing android TV application. For debugging when we connect through ADB using its IP address it gives following error
unable to connect to 10.1.1.84:5555: cannot connect to 10.1.1.84:5555: No connection could be made because the target machine actively refused it. (10061)
Where as it is debugging through USB cable very well.
How can we connect through ADB with its IP address using command prompt?
by default wireless or network debug on in MIBOX
try connect using adb connect 192.12.1.15

Connecting fingerprint biometric device to desktop

I want to access the contents of the biometric device using a command prompt or a shared folder instead of using the software that comes with it. I am new in networking, I did the following:
1. Set a static IP to my biometric device: 192.168.1.201 port 4370 (default)
2. configure ethernet in my PC using ip: 192.168.1.1, subnet 255.255.255.0
3. Connected my PC to the device using crossover cable.
The device is pingable, my firewall is off. I cannot access the device in browser http://192.168.1.201, or in directory \\192.168.1.201
I am planning to create a vbscript or a php code to access the biometric instead of the software that comes with it. So as a requirement, I need to have access to the device
You can not access the biometric machine through telnet. The username and password is set by the manufacturer. They will use the telnet account credentials only for their internal development and testinng purpose. #Hans-Martin Mosner, machine can well connect with port 80. Only thing is software will not listen at port 80 as it has been bound with http. If you remove the port 80 from listening for http then you can make your application to connect with port 80
If you are trying for accessing the biometric machines to associate with your web application, go for CAMSUnit machines. CAMS provides the WEB APIs for their biometric machines. It supports registering the callback URL which gets called every time new attendance gets registered.

Resources