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.
I am not really into iot sdk, cause i am using standard S110/120.
If Your radio is off and not maintaining connection for time longer than supervision time (it is set during connection parameteres negotiation), connection is terminated. I see no difference between not using radio for some time and turning it off and not using it anyway.
I am not really into iot sdk, cause i am using standard S110/120.
If Your radio is off and not maintaining connection for time longer than supervision time (it is set during connection parameteres negotiation), connection is terminated. I see no difference between not using radio for some time and turning it off and not using it anyway.