Currently I'm not having any XBee modules but I require information for some purposes,
If I set baud rate Serial.begin(115200); on transmitter's sketch & Serial.begin(115200); on receiver's sketch, is that enough? or I still will have to configure baud rates using X-CTU or so?
They'll be talking together only & will transmit information serially to computer, I'm limited to use 115200 baud rate only, if above method isn't going to work then can I change baud rate of xbee just via serial commands first using arduino ide with xbee connected to arduino?
Thank you so much, hope to get reply as soon as possible.
or I still will have to configure baud rates using X-CTU or so?
The baud rate you use to talk to the XBee must match the baud rate that the XBee is expecting to be talked to. Setting the baud rate in the sketch to something other than what the XBee expects will NOT change what the XBee expects. ONLY X-CTU can do that.
I'm limited to use 115200 baud rate only
Without ANY reason being offered, I really have to question WHY.
if above method isn't going to work then can I change baud rate of xbee just via serial commands first using arduino ide with xbee connected to arduino?
No. The IDE has no clue how to talk to the XBee. The Serial Monitor application, on the other hand, can talk to the Arduino to which the XBee is connected. If the XBee is connected to the hardware serial pins AFTER uploading the appropriate sketch AND you know the proper commands to type AND you can get them typed in before the XBee switches modes, then yes you could configure the XBee without using X-CTU. But, why? X-CTU is so much easier to use. And it's not like it costs an arm and a leg.