Here a modbus TCP master library, fully programmed in b4j.
This library is asynchronous, by use of the asyncstreams and Callback method.
The response is an event, a separate sub, different then your sub where you did the request.
This has the advantage that an unresponsive...
Hi this is a technical cuestion more than a specific cuestion of the language.. Í need to implement an application for android with connection
to a server made in visual basic that it will also be implemented by me. The interechange of data between andoid app and server will be in xml format.
Here a small quick and dirty implementation of the modbus TCP protocol in B4J as a server / slave.
Please note that this is not a complete library!
The following limitations are:
-Only READING (not writing) of holding registers possible by modbus master(function code 03) from...
Hi All, i'm working on a project which requires a device to send data over to a PC. I came across the MQTT library and I thought I would give it a try, i'm really amazed at how simple it is to set this up, whether running the MQTT Broker on a local P.C. or using one of the cloud host servers...
how to make this example b4j network here work with ssl?
i set the server into listen after a button click.
if me click connect from "client" the server show a connect but the client stay in status...