B4A Question Discover clients on wifi - Erel (first post)    Oct 06, 2022   (1 reaction) You need to use UDP broadcasting. Start with this example: https://www.b4x.-chat-with-auto-discovery.75713/#content B4A Question download new version probs - Erel (first post)    Mar 05, 2017 This is a false positive related to the new executable. There are similar reports after each new version.
The UDP communication is part of the new auto discover feature. B4A Question Deteting all devices ip at the same network - Erel (first post)    May 21, 2023   (2 reactions) This is not something that you can simply find. Your device isn't familiar with other devices on the network. You can use UDP broadcasting feature to find other devices running your apps: MQTT Chat with Auto Discovery B4i Question New post (UDPSocket.send returns "error sending data: 13") - RaymondHung (first post)    Aug 19, 2020 Sorry everyone, I made a mistake on the name, it should be "UDP_PacketArrived". Now it works normally.
Sub Process_Globals
Dim UDPSocket1 As UDPSocket
End Sub
Private Sub Application_Start (Nav As NavigationController)
UDPSocket1.Initialize("UDP", 30303, 8000)
End Sub
Public Sub Dis B4i Question UDP auto discovery - Erel (first post)    Aug 02, 2017 There is no relation between MQTT and UDP discovery. It is just an example that uses UDP to discover the "mqtt server".
This is not what I said...
Finding the broadcast address:
B4A: https://www.b4x./#content
B4J / B4i: UDPSocket.GetBroadcastAddress
You should use UDPSocket.GetBroadcastAddress Italian [B4J] Visualizzatore immagini memorizzate su dispositivo remoto - che sistema per trasferirle in locale? - Star-Dust (first post)    Feb 09, 2021 Quello lo vedrei un problema minore. In rete locale l'IP si può trasmettere con pacchetti UDP in Broadcast a tutta la sottorete. Erel ha realizzato un esempio. https://www.b4x.com/android/forum/threads/udp-broadcast-address.75694/#content Vedi anche MQTT auto discovery: https://www.b4x.-chat-with- B4A Question [Solved] Android blocking receiving UDP broadcast - rtek1000    Nov 20, 2018   (1 reaction) Length) As Byte
'bc.ArrayCopy(Packet.Data, Packet.Offset, data, 0, Packet.Length)
Dim ds As String = msg ' serializator.ConvertBytesToObject(data)
If ds <> DiscoveredServer Then
DiscoveredServer = ds
Log("Discovered server: " & DiscoveredServer)
B4A Question How To get the IP adress of a connected device to the hotspot - DavideV (first post)    Jul 23, 2021 Hi,
just tried UDP discovery over hotspot but unfortunately it doesn't work. The good way for you is MQTT.
If you are using ESP32, think about bluetooth LE for discovery, get the IP from bluetooth then connect via WiFi
Bye B4A Question Detecting another device in a network and do some transmissions between the devices - Erel (first post)    Jul 30, 2023 1. Network communication: Network + AsyncStreams + B4XSerializator 2. Discover devices using UDP: https://www.b4x.-chat-with-auto-discovery.75713/#content B4A Question Auto-discover other phone via Wi-Fi - canalrun (first post)    Feb 20, 2017 The GetBroadcastAddress function returns an IP address that sends UDP data to each device on the network:
https://www.b4x.com/android/forum/threads/udp-broadcast-address.75694/
Works great. Page: 1   2   3   4   5   6   7   Powered by ColBERT |