This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

end Device sometime can't get data from parent

Other Parts Discussed in Thread: CC2530

hi,TI

I had a problem about end Device

i make a smoke sensor on battery power,use ic CC2530  ,the soft is ZStack-CC2530-2.5.1a

my network environment

a gateway è used as coordinator for  alarm  when receive the signal from smoke sensor,then send a message “gateway have receive the signal of smoke” to smoke sensor in broadcast mode

smoke sensorè used as end Device for check the smoke,always  sleep  if there is no smokeèwhen it check smoke ,it will send a message  that we call it as”I fond somke” to gateway ,and wait for gateway reply “gateway have receive the signal of smoke”,if smoke sensor don’t receive a  reply it will send “I fond somke” again and again else it will stop send “I fond somke” and go into low power mode

a lot of Router

 

result : sometimes smoke sensor always send “I fond somke”è gateway always reply  “gateway have receive the signal of smoke”

now i monitor the air data

In p.nbr=252  smoke sensor(0xB704) send its parent(0xde85) a data request

In p.nbr=253  parent(0xde85) tell child(0xB704) I don’t have a data for you,because pnd=0 in frame control fieldèthat is ok

In p.nbr=270 parent(0xde85) tell child(0xB704) I have a data for you,because pnd=1in frame control field

In p.nbr=271 parent(0xde85) give the data to child(0xB704)

 

Then I trun off some routers

In other test ,the short address changed ,smoke sensor(0x5368),its parent changed to 0x0000

Now In p.nbr=3 parent(0x0000) have the data for child(0x5368)

But In p.nbr=3 parent(0x0000) send nothing to child(0x5368)èoh my god~~èso the child(smoke sensor) always send “I fond somke”

 

Can somebody tell me why and how to solve the problem~ thanks

  •  this is a explain about  pnd bit in MAC frame control field

    7.2.1.1.3 Frame pending subfield

    The frame pending subfield is 1 bit in length and shall be set to 1 if the device sending the frame has

    additional data to send to the recipient following the current transfer. If more data are pending, the recipient

    shall retrieve them by sending another data request command to the device. If the device sending the frame

    does not have any more data for the recipient, this subfield shall be set to 0.

    The frame pending subfield shall be used only in frames transmitted either during the CAP by devices

    operating on a beacon-enabled PAN or at any time by devices operating on a nonbeacon-enabled PAN.

  • i found this problem on other product,it may occur