Beginners: please read this post and this post before posting to the forum.
0 Members and 1 Guest are viewing this topic.
rprintf("+++++++++++++++++++++++");delay_ms(3100);rprintf("ATBD7,WR,CN");
// Set us into API mode rprintfInit(WIRELESS_ACTIVATE); delay_ms(20); // wait 20ms for guard time to enter into command mode rprintf("+++"); // Now output the string to enter command mode WaitForXBeeTransmitComplete(); delay_ms(20); // wait 20ms for guard time to enter into command mode rprintf("ATAP 1\rATCN\r"); // Ok output the enter API mode command and also the exit from command mode delay_ms(20); // wait 20ms to let the xbee have time to respond...
You need to have the XBEE not receive anything for the Guard time before the +++ is sent without a CR.
data it was receiving wirelessly from another Xbee after the +++ command.
I forgot to mention, if you wish for the changes to be permanent, issue the ATWR command.
Quote from: KurtEck on October 11, 2010, 05:44:12 PM You need to have the XBEE not receive anything for the Guard time before the +++ is sent without a CR. This is Admin's problem then.
Quote from: KurtEck on October 11, 2010, 05:44:12 PMI forgot to mention, if you wish for the changes to be permanent, issue the ATWR command.So the XBee baud returns to default upon power reset, unless that command is issued?If so, thats another reason why it wasn't working . . . I'm reseting very often over here . . . doh!
Wait, looking at my command from earlier, I was already calling the ATWR command