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

How to configure a very low power connection

Hi, I'm making a device that will probably be encapsulated In silicone, which means it won't be possible to change the battery easily. It's got to connect to android and iOS phones/tablets. It only really needs to send a value to the phones once every 2 minutes, it's really a beacon but I had problems with android background scans (discussion here devzone.nordicsemi.com/.../long-running-android-scanning-in-background)

I was advised in that post to make a connection to the device 

Hung Bui said:

For example you can configure a connection with 0.5 second interval and 1 minutes timeout. You can configure the slave latency so that you only need to wakeup and response to the central every 30 seconds. 

I posted a supplementary question a few days ago to that original devzone question, but it wasn't noticed. I would like some help modifying an example to setup the necessary parameters since I can see that there are a lot of variables and a lot of ways to get this wrong. I think I could spend weeks experimenting with all the options so and help is greatly appreciated. 

Kind Regards, 

-Jason

Parents
  • You can configure the slave latency so that you only need to wakeup and response to the central every 30 seconds. 

    This would violate iOS guidelines, which only allow 4 (four) seconds of supervision timeout. That meany there MUST be communication in this 4 second window each time - otherwise there will be a disconnect. The iOS developer has no control over this timeout AFAIK.

    So while BTLE specs technically allow large timeouts, actual OS limits might be much lower.

    You also don't want to go much above one second connection interval, because crowded urban environments cause communication attemts to fail. There are almost always other users on the 2.4 GHz frequencies.

  • I read the apple design guidelines a few days ago and saw this mentioned but hoped maybe the slave latency, or something else, might offer a workaround. I calculated that a cr2032 will last about a week to 10 days at these transmission rates. 

    I guess I need to redesign the device. 

    Thank you

Reply Children
Related