# Getting Timeout Exception while sending and Receiving Data , XBEE RF Sx

**URL:** <https://forums.digi.com/t/getting-timeout-exception-while-sending-and-receiving-data-xbee-rf-sx/19812>\
**Category:** XBee & XBee Gateway\
**Tags:** xbee-api-mode\
**Created:** [August 24, 2018, 7:58am UTC](https://forums.digi.com/t/getting-timeout-exception-while-sending-and-receiving-data-xbee-rf-sx/19812 "2018-08-24T07:58:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdravi](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@jdravi](https://forums.digi.com/u/jdravi)\
**Post date:** [August 24, 2018, 7:58am UTC](https://forums.digi.com/t/getting-timeout-exception-while-sending-and-receiving-data-xbee-rf-sx/19812/1 "2018-08-24T07:58:21Z")

</div>

Hi,  
I am using Digi XBEE RF Sx to build an application Using Xbee Java Lib -1.2.1 ,  
Device Configuration : Digi Mesh Network , API 1  
Problem : I am Getting Timeout Exception while sending the Data and Recieving Data  
com.digi.xbee.api.exceptions.TimeoutException: There was a timeout while executing the requested operation.  
at com.digi.xbee.api.AbstractXBeeDevice.sendXBeePacket(AbstractXBeeDevice.java:1340)  
at com.digi.xbee.api.AbstractXBeeDevice.sendAndCheckXBeePacket(AbstractXBeeDevice.java:1504)  
at com.digi.xbee.api.XBeeDevice.sendData(XBeeDevice.java:856)  
at com.digi.xbee.api.XBeeDevice.sendBroadcastData(XBeeDevice.java:997)

And also getting Exception of parsing  
DataReader: Error parsing the API packet.  
com.digi.xbee.api.exceptions.InvalidPacketException: Invalid checksum (expected 0xF2).  
at com.digi.xbee.api.packet.XBeePacketParser.parsePacket(XBeePacketParser.java:216)  
at com.digi.xbee.api.connection.DataReader.run(DataReader.java:519)  
So how I can solve this problem ?
