In the method Rn487xBle::sendCommand you have to remove the call to this->flush() ;
This force to clean the uartBuffer before to send the command.
The problem is that sometime the uartBuffer contains the command.
For example see Rn487xBle::setServiceUUID method.
In the method Rn487xBle::sendCommand you have to remove the call to this->flush() ;
This force to clean the uartBuffer before to send the command.
The problem is that sometime the uartBuffer contains the command.
For example see Rn487xBle::setServiceUUID method.