if i am a master i want know to know the sleep period of node,how do i know...?
how do i know whether it is sleeping or awake..?
if i have data to sent for node,but the node is sleeping ..then what i have to do...?
if i am a master i want know to know the sleep period of node,how do i know...?
how do i know whether it is sleeping or awake..?
if i have data to sent for node,but the node is sleeping ..then what i have to do...?
If Your peripheral is awake, You should put it in advertising state. Your central should be scanning (all the time maybe?), so You'll get event when it gets advert packet from peripheral.
Re-think Your roles - in my design it is peripheral who samples data - when it collects enough data it starts advertising, central immediately connects to it and peripheral sends collected data to central.
my exact question is one s110 device wants to talk with another s110 device through s130 device. if first s110 device is sends data to s130 ,the s130 has to send the data to second s110,but the second s110 is sleeping.In this case what will happen..?
and one more doubt is.. sleeping means, the difference time between connection events only..? if the radio is off in sleeping period,will it start advertising again or it will directly talk with master(previously they connected and the device has gone to sleeping period for some time)...
my exact question is one s110 device wants to talk with another s110 device through s130 device. if first s110 device is sends data to s130 ,the s130 has to send the data to second s110,but the second s110 is sleeping.In this case what will happen..?
and one more doubt is.. sleeping means, the difference time between connection events only..? if the radio is off in sleeping period,will it start advertising again or it will directly talk with master(previously they connected and the device has gone to sleeping period for some time)...