Perhaps I'm missing something that someone can help me with...as I've tried everything.

The wired connection on my pic to pic rs232 xmtr and rcvr works perfectly.
The wireless connection with the Linx 916ES pair is about 90%.

Using a pair of 16c65B.

My code at the very beginning of the rcvr looks like this...

(very simplified but the basic idea)
(2 qualifiers,low and high are data (switch contacts),sync is a "sync + 1" register that builds on the xmtr)
switch on = a logic hi


LOW = 0
HIGH = 0
SYNC = 0
(rcvr and xmtr are in this state till switch is pressed)

START:

SERIN PORTA.4,N1200,[%01011100, %11001101], LOW,HIGH,SYNC
IF LOW + HIGH = 0 THEN START

IF (LOW + HIGH >= 1) AND (SYNC = 0) THEN DOTHIS1
IF (LOW + HIGH >= 1) AND (SYNC >= 1) THEN DOTHIS2
IF SYNC = 5 THEN DOTHIS3



DOTHIS1:

BLAH BLAH
GOTO START

DOTHIS2:

BLAH BLAH
GOTO START

DOTHIS3:

BLAH BLAH
GOTO START

There's much more to it than that but basically the frustrating problem I'm having is that, when low and high are empty and some other conditions are met at the start (first button push)....it won't DOTHIS1

DOTHIS2 and DOTHIS3 work good (but often a bit out of sequence between xmtr and rcvr)

And the wired connection works perfectly.

I have a squelch circuit....all I can think of is that the "sync" register is showing noise and a value greater than zero?

Or I'm doing something wrong....(rookie programmer).