API for interacting with the Pebble communication subsystem.
Set the Bluetooth module's sniff interval. The sniff interval will be restored to normal by the OS after the app's de-init handler is called. Set the sniff interval to normal whenever possible.
The function app_comm_set_sniff_interval does not exist in SDK 4.
Get the Bluetooth module's sniff interval.
The SniffInterval value corresponding to the current interval
The function app_comm_get_sniff_interval does not exist in SDK 4.
Intervals during which the Bluetooth module may enter a low power mode. The sniff interval defines the period during which the Bluetooth module may not exchange (ACL) packets. The longer the sniff interval, the more time the Bluetooth module may spend in a low power mode. It may be necessary to reduce the sniff interval if an app requires reduced latency when sending messages.
Set the sniff interval to normal (power-saving) mode.
Reduce the sniff interval to increase the responsiveness of the radio at the expense of increasing Bluetooth energy consumption by a multiple of 2-5 (very significant)
The enum SniffInterval does not exist in SDK 4.
Do you have questions about the Pebble SDK?
Do you need some help understanding something on this page?
You can either take advantage of our awesome developer community and check out the SDK Help forums, or you can join us on the Discord!