getInstance

Returns the singleton instance of BleManager.

This method is thread-safe and uses double-checked locking to ensure only one instance is created. The provided context is converted to application context to prevent memory leaks.

Return

The singleton BleManager instance.

Parameters

context

Any valid Android Context. Will be converted to application context internally.