Closed smigielski closed 8 years ago
One more thing. are you sure that state pin behave the way you aim to use it? i found description that it states are the same as diode so it pulse if module is waiting for connection and is high when it is connected. According to the documentation it can also be change programmatically via AT commands. Maybe isConnected method can be changed to AT+STATE? command?
Sorry to have ignored your offer for so long. I just merged code from AxelTB that may fix this problem for you. If not, you are welcome to submit a patch.
Great, I will test it and let you know.
Hi, I can prepare some integration for hc05 module without state pin. Just let me know that it is ok for you.
How do you think it will be best to do so. I would need two more constructors,one where serial line is emulated throught software serial and another for use with hardware serial connector. I wonder if it is good to add aditional configuration via preprocessor directives to do so or just make some variable based on which construct is used.
if you prefer preprocessor directives maybe it will be good to only leave that one which is configured. Currently you can use both constructors whatever configuration of serial you have.