Hi
I am wrapping jSerial in my own class and in the open I pass an AsyncStreams object and a string which is the event name.
When I send data via uart I get an exception -
java.lang.Exception: Sub rxporta_newdata was not found.
I have attached my test project.
The smoking gun could be that mAsyncStream.Initialize is called in the class module clsSerialPort but the sub rxporta_NewData is defined in the main module.
What am I am not getting here?
Thank you in advance
I am wrapping jSerial in my own class and in the open I pass an AsyncStreams object and a string which is the event name.
When I send data via uart I get an exception -
java.lang.Exception: Sub rxporta_newdata was not found.
I have attached my test project.
The smoking gun could be that mAsyncStream.Initialize is called in the class module clsSerialPort but the sub rxporta_NewData is defined in the main module.
What am I am not getting here?
Thank you in advance