Android Question App 'Service Browser' finds the IP of ESP8266, how to do this with b4a?

rtek1000

Active Member
Licensed User
The Arduino IDE can find the IP address of the ESP8266 (mDNS:arduino) when it is programmed with OTA, but we also have ESP-LINK software, which allows the ESP8266 to work in transparent (TCP / IP-Serial) mode allowing reprogramming of microcontrollers like Atmega328 (Arduino UNO / Nano / Pro Mini etc).

The Service Browser app quickly finds the IP address of the ESP8266, just as the Arduino IDE does.

Is there any library for basic4android with this functionality?

How to make an app compiled in B4A find the IP address of ESP8266, in the same way as the Arduino IDE or the App Service Browser?

The source code of the App Service Browser is available at the following link:
(Could it be adapted to a library?)

https://github.com/andriydruk/BonjourBrowser

Service Browser
Service Browser is a utility that discovers all services registered in a network and resolves meta-information about them, including IP addresses and port. It also provides an ability to register your own service in any domain (available only for developers).

The source code is available under the Apache 2.0 license.

License
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Service Browser:
Screenshot_20181112-235621.png


Screenshot_20181112-235632.png

Arduino IDE:
Arduino IDE.png


esp-link:
esp-link hostname.png


esp-link.png
 
Top