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.

  • Peripheral (s110) cannot connect to other s110 anyway. If You want to use central/peripheral role in your "nodes" then You could try using s130 softdevice and switch between scanning/advertising.

    About packets - it depends of what do You call a packet. If it is the advertising packeet, it will be lost automatically if no device is scanning at the moment of advertising. If You mean packets during connection - they will be immediately received be the peer.

    You could try describe Your problem more precisely, or just check nordics example apps to understand what is the typical program flow.

Reply
  • Peripheral (s110) cannot connect to other s110 anyway. If You want to use central/peripheral role in your "nodes" then You could try using s130 softdevice and switch between scanning/advertising.

    About packets - it depends of what do You call a packet. If it is the advertising packeet, it will be lost automatically if no device is scanning at the moment of advertising. If You mean packets during connection - they will be immediately received be the peer.

    You could try describe Your problem more precisely, or just check nordics example apps to understand what is the typical program flow.

Children
No Data
Related