How to run RTSP interaction protocol in the device - rtsp

I want to know how to load an RTSP interaction protocol into two terminal devices after a LAN is established in a network and two terminal devices can communicate via TCP
There is no information online

Related

How to p2p_connect to device with WiFi Direct without MAC Address? (Raspberry Pi and Android)

I have an Android tablet and A Raspberry Pi and I want to established a connection between them automatically when the tablet sends a request to the Pi.
I followed an Android application example here and start discovering any nearby devices. (https://www.youtube.com/watch?v=qnY97iBxp30)
At the same time i run sudo wpa_cli and p2p_find 20. The Android application detects the Pi, and I try to establish connection with the Pi which will display
<3>P2P-GO-NEG-REQUEST TABLET_MAC_ADDRESS dev_passwd_id=4
Normally I would just p2p_connect TABLET_MAC_ADDRESS pbc to successfully connect them together but I find it inefficient if I were to swap to another mobile device.
Are there any other ways to connect the tablet without writing the tablet mac address? For example connecting to that specific device ssid when they send a P2P-GO-NEG-REQUEST to the pi?
TL;DR Nope.
If we look at the OSI ISO 7 layer model for network communication we can see that the Media Access Control (MAC) address is vital for identifying which device is which within a wifi network.
You could try setting up a bluetooth connection or a token-ring, but I suspect that would be more effort than you are looking for.
With IPv6 your devices could use neighbour discovery to automate past the MAC entry to the Internet Protocol, and its possible to connect between devices using their link-local address (fe80::some:thing)
Wifi carries packets of data, that have addresses. By analogy, if I tell you which town I live in, but don't write my building address on the packet, you are going to have a hard time delivering it.

Multiple BLE devic connection using gatttool

To monitor multiple BLE devices and record the incoming data.
In order to achieve this I should be able to connect to multiple ble devices. Right now I can open one interactive mode using gatttool and connect to the ble device (On raspberry pi). If I want to connect to one more ble device I have to open a new terminal window.
Can anyone help me on how to connect to multiple ble devices keeping the target in mind.

Serial data to multiple serial ports over ethernet

After weeks of research and nothing useful coming up I have to ask this:
Is it possible to send serial signals received on a Linux machine over Ethernet to one or more Linux machine serial port?
This is the setup: One device sends serial signals, one or more computers listen on their serial port for those signals (one way comm), in remote locations. I was looking for old computers with serial ports, running Linux, one for the sender and others for the receivers connected in a VPN, using serial-serial cable connection with clients. I do not want to use virtual ports because the computer(s) listening for serial signals can not be connected to the internet.
Can sound crazy...

Accessing Bluetooth stack on a remote desktop server

I have to get access to Bluetooth on a remote machine.
Here's how things are connected.
External Bluetooth Adapter connected to the client running the Remote desktop application.
The Remote Desktop should identify the device connected to the client since its connected to the USB port, but I am not able to access the Bluetooth stack on the remote desktop.
I just need to get the list of Bluetooth devices which is present near the client to appear on the server. Is it possible to do that ?
The KC-4132 is an embedded Class 1 Bluetooth USB Serial Adapter. This adapter enumerates using FTDI USB-UART bridge chip, so you get a virtual COM port. After sending the kcSerial command "AT Discovery" via COM port to the adapter, it will respond with a listing of all Bluetooth devices currently in range and discoverable. No messy Bluetooth stacks or drivers to interface with since the Bluetooth device is an embedded serial port adapter with its own command language.

Is it right to send data in J2ME through cable by mean of DatagramConnection?

I want to send data by using J2ME between a mobile phone and a computer. The two machines are connected by the phone's cable : there is no Wi-Fi , no http connection , no Internet. So is it wrong or correct to use the J2ME DatagramConnection to send data to the computer when the mobile's cable is inserted to the USB port of the computer ?
When you talk about interaction between two systems, first you will need to address the connectivity. In the situation described, the connectivity between the phones is via USB, which is a serial port. So the communication can be done over serial port only.
Datagram can be used over IP networks and other specialized networks.
If for some reason you are unable to communicate via USB, check if you could connect both of them using Bluetooth. If your phone has Bluetooth and the computer doesn't, then you could purchase an USB Bluetooth Dongle for very cheap.
If you are trying to get logs of your application, you can check out Bluetooth loggers for J2ME. There are quite a lot of them. One such library is microlog
Hope this helps.
It depends, if you require high speed of data transfer while can bear some data loss then DatagramConnection is ok, and if you can't bear loss of data packets, then you should use TCPConnection.

Resources