Modem Response is cripling communication

27 views
Skip to first unread message

snoop

unread,
May 8, 2012, 1:05:42 PM5/8/12
to xbee...@googlegroups.com
When I run the AT response in the example folder, it works great when the xbee has constant power.  But when I unplug the battery and run the arduino from a cold start.  It returns a modem status reponse of 8A(associated) and criples all further communication.  It swaps high serial for the low and it never issues the assoc command. Any suggestions?

snoop

unread,
May 8, 2012, 1:50:49 PM5/8/12
to xbee...@googlegroups.com
I guess a better explanation on what it is doing.  It sends an AT command but recieves a Modem status response instead.  Upon sending another command, the actual response of the previous AT command is returned.  So it is delayed by one command. 
 
SEND SH
receive modem status 8A=2
SEND SL
receive SH
SEND AI
receive SL
 
Maybe there is a way of dealing with the modem response on boot?

snoop

unread,
May 9, 2012, 10:21:13 AM5/9/12
to xbee...@googlegroups.com
I noticed in the sleep example there is a "read packet" function thats called in the loop.  I just setup a small loop in the setup function and that read packets for 5 seconds.  This solved the problem.
Reply all
Reply to author
Forward
0 new messages