code: def _initialize_system_sync(self):
          
          connected_devices = self.bable.list_connected_devices()
          for device in connected_devices:
              context = {
                  'connection_id': len(self.connections.get_connections()),
                  'connection_handle': device.connection_handle,
                  'connection_string': device.address
              }
              self.connections.add_connection(context['connection_id'], device.address, context)
              self.disconnect_sync(context['connection_id'])
  
          self.stop_scan()
  
          try:
              self.bable.set_advertising(enabled=False)
          except bable_interface.BaBLEException:
              # If advertising is already disabled
              pass
docs: Initialize the device adapter by removing all active connections and resetting scan and advertising to have
          a clean starting state.