I have a shield and have been having a very frustrating time debugging the devicetype code.
The following function works fine as expected. The message appears at the zigbee module and is processed by the arduino.
HOWEVER… swapping the two lines of code causes the following.
The command appears in the device event log (so i assume it has gone out) however does not appear at the zigbee module (i have checked with a terminal @2400 baud on the module its self, It is not arduino releated!)
Can some one explain what is going on here this is really been messing with me.