I intend to control an RN42 Bluetooth module with a 18F PIC micro expecting to receive big chunks of data from the RN42 / send big chunks of data to the RN42
Regarding the RTS / CTS signals, please tell if I got this right whether the module is in "command" or "data" mode.
Micro's RTS pin to be a permanent output going into the RN's CTS input.
Micro's CTS pin to be a permanent input receiving the RN's RTS output.
If the micro needs to process the data received up to now, has to output a high on its RTS pin so the RN stops.
If the micro can receive data, has to output a low on its RTS pin so the RN can resume transmision.
When the micro wants to transmit has to check if it gets a low on its own CTS pin.
If the micro reads a high in it own CTS pin, it cannot transmit and has to keep checking until it gets a low to start again.
Am I right?
Regarding the RTS / CTS signals, please tell if I got this right whether the module is in "command" or "data" mode.
Micro's RTS pin to be a permanent output going into the RN's CTS input.
Micro's CTS pin to be a permanent input receiving the RN's RTS output.
If the micro needs to process the data received up to now, has to output a high on its RTS pin so the RN stops.
If the micro can receive data, has to output a low on its RTS pin so the RN can resume transmision.
When the micro wants to transmit has to check if it gets a low on its own CTS pin.
If the micro reads a high in it own CTS pin, it cannot transmit and has to keep checking until it gets a low to start again.
Am I right?
Last edited: