This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to know sleep period of node(s110)

FormerMember
FormerMember

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...?

Parents
  • 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.

  • FormerMember
    0 FormerMember in reply to Wojtek

    yes..that is correct but,some other peripheral wants to send the data to this peripheral,but this device is sleeping...in that case what will happen to packets..? how much time it will wait to send data to peripheral...?

Reply
  • FormerMember
    0 FormerMember in reply to Wojtek

    yes..that is correct but,some other peripheral wants to send the data to this peripheral,but this device is sleeping...in that case what will happen to packets..? how much time it will wait to send data to peripheral...?

Children
No Data