The invention discloses a transmission method of an Esp32
serial port communication
system, which is applied to the technical field of communication, the J1939 communication technology of a
Can bus is improved, any one value of a PGN number can be selected from 0-65565, a
client defines the function of the PGN number, each time an ESP32 unvarnished transmission module is powered on, and a plurality of PGN numbers of a user form only need to be transmitted respectively for the first time, so that the PGN numbers can be transmitted to the
client, and the PGN numbers can be transmitted to the
client. The ESP32 module memorizes the PGN number at the first time, data can be successfully transmitted in a transparent manner at the second time, and memory is emptied in case of power failure; by adopting the method disclosed by the invention, intelligent memory can be quickly realized, the master
machine and the slave
machine completely upload and download data in a form form, unvarnished transmission is completely realized, automatic splicing is realized during multi-
packet data transmission, and after
complete data unvarnished transmission is successful, a data explanation right is automatically handed over to an upper-layer
user interface, so that a user does not need to care about an internal implementation process.