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.
Thank you for the answer... If the device is in sleeping mode,the link layer connection will terminate or still it maintain...
Thank you for the answer... If the device is in sleeping mode,the link layer connection will terminate or still it maintain...