sync_manager module
- class sync_manager.SyncManager(device_name, is_leader=False, debug_bluetooth=False)
Bases:
object- broadcast_pattern(pattern_data)
Leader broadcasts a light pattern to all followers.
- get_connection_status()
Get a detailed connection status for debugging.
- receive_pattern()
Follower receives a pattern from the leader.
- try_connect_to_leader()
Follower attempts to connect to a leader.