Write to virtual serial port - 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?

Related

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

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.

How to make TCP socket connection work over WAN with different ISP?

I recently made a very basic TCP server application in C++ and Python using the very basic socket API. The client server connection happens flawlessly within the localhost as well as inside my LAN (within the same Wi-fi). But If I connect my client to an internet service (WAN) and try to connect to my server application behind my wifi (using the Wi-fi's public IP (provided by its ISP) and the port on which my server will be listening to) , I'm unable to get a connection. The server sits idle waiting for a connection ! I have enabled port forwarding on my Wi-fi, but still the results are all vain...
**EDIT: **
I managed to connect them over WAN, but now the ISP have to be the same... This is what I did: I made the server run on my Android device, bound it to the IP of my device that uses mobile data... The client sits behind a WiFi and connects to the Server using the previously mentioned IP and everything works fine ! But however if the client becomes an android app in another device with mobile data provided by different ISP everything fails !!! * So long as client runs behind a WiFi, but server connected to WAN (same ISP) the system works. *

Arduino project on a server

I am building a project with asp.net that connects to Arduino Uno. I am connecting some magnetic sensors to the Arduino and I want the results of the sensors to be updated in real time within my database in the project at asp.net.
So far everything worked fine.
My college gave me a server where I was supposed to set up my site and put up the project.
When I work on my computer (regardless of the server) I see that the Arduino is connected to COM3. But when I connect to the server the Arduino does not appear connected (I guess because the Arduino is connected to my computer and not to the server computer).
I know there is a possibility to buy an Ethernet shield / wifi shield but I want to avoid it.
Is there another possibility to transfer the data received from the Arduino in my computer, to the database on the server?
The server is a Windows server with IIS.
Thanks.
The Arduino needs to be able to connect to the server. You could connect it directly to the server or have a client on your computer talking to both the Arduino and the server.
Or you could use a Raspberry pi or other device capable of communicating directly to your database server over the network.
I've opened a sharing folder with premissions from the sever and then put the entire asp.net project and now he recognize tha Arduino.

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.

In circuit debug Interface communication with Windows

I am trying to understand how TIVA123 processor communicates to windows. I see it does not require any com port and works on In circuit debug interface. Also on the download command I see download utility has arm-none-eabi-objcopy which does not require com port flags. How does it calculate which com port to connect to?

Resources