by JavaRN » Sun Mar 02, 2008 9:06 pm
by JavaRN
Sun Mar 02, 2008 9:06 pm
I'm writing a simple application to send robot moves from my PC to the CM-5 using Zig-bee. The program logic seems ok but sometimes I receive invalid packets from the CM-5, for example packets without headers (FF 85), or without MSB. I've spent the whole day debugging the program and as I said there seems to be no error in the logic, in fact most of the times it works fine, but for no specific reason I get one or two of these malformed packets, which are enough to make the program stop.
Is it normal to get malformed packets?
If some of you have any feedback I would really appreciate.
I'm writing a simple application to send robot moves from my PC to the CM-5 using Zig-bee. The program logic seems ok but sometimes I receive invalid packets from the CM-5, for example packets without headers (FF 85), or without MSB. I've spent the whole day debugging the program and as I said there seems to be no error in the logic, in fact most of the times it works fine, but for no specific reason I get one or two of these malformed packets, which are enough to make the program stop.
Is it normal to get malformed packets?
If some of you have any feedback I would really appreciate.
F'dan il-passatemp ghandek bzonn zewg affarijiet - FLUS u HIN. Zewg affarijiet li huma skarsi hafna u li jien minnhom ghandi vera ftit!