eigengo/lift

Pebble AppMessages communication data loss in background mode

Closed this issue · 3 comments

When running the app in background mode, the device is allowed to into deeper power-saving modes, resulting in approximately 10-15 % BLE packet loss. Find out the root cause of the packet loss, and find approaches to eliminate it.

Though power consumption is a concern, it is more important to achieve less than 2 % BLE packet loss.

It may be necessary to drop to 50Hz sampling rate.

Added a queue for messaging, which fixes the problem. It should be okay for now to remain at 100Hz.