Hello,
I have connected a XBee Pro S2B + XBee Usb Explorer + Raspberry Pi.
I used
XBee Java Library and XBee's are in Api 2 Mode.
I need to get the RSSI value of remote XBee devices.
I have to connect the Raspberry Pi PIN6 (as is done in Arduino) or not needed if I have the XBee Explorer USB?
I tried so, but not works:
Code:
localXBee.setIOConfiguration(IOLine.DIO10_PWM0, IOMode.SPECIAL_FUNCTIONALITY);
localXBee.setPWMDutyCycle(IOLine.DIO10_PWM0, 90);
and to get the value so:
Code:
double value = localXBee.getPWMDutyCycle(IOLine.DIO10_PWM0);
LOG.info("RSSI Value: " + value);
But guess is wrong, because not works.
Best regards.