Thanks for sharing. Regarding the serial communication, can you use the hardware serial port of the controller?

The I would suggest to use also the Hserin and wait for the response from the RF module instead of just PAUSE 1000. You can't be sure that the module responded in-time.

Ioannis