Software serial on Yun board

Hi,

I am using Arduino Yun board for my software development. I have to use software serial for receiving data from two sensor. I used TX pin as 4 and RX pin as 5 for one sensor. The same way I used TX pin 7 and Rx as 6 the pin for another sensor. But the problem is I found the transmission is happening, but nothing is receiving. Please help me to resolve this issue.

static SoftwareSerial mySerial( 6,7 ); // RX, TX
static SoftwareSerial mySerial_standard( 5,4 ); // RX, TX

I tried loopback source code SoftwareSerialExample which is available as example. This also did not help.
Please help me to resolve this issue.

Thanks & Regards
Vijith G

Please help me to resolve this issue.

The problem must be in the code you couldn't be bothered posting.

Only one instance of the SoftwareSerial class can listen at a time.

SoftwareSerial RX pin must be a pin that supports pin change interrupts. On a Yun those are pins 8 to 11 and MOSI, MISO and SCK on the ICSP header.