upb_lib/upb.py
def _connected(self, conn):
        """Sync the UPB PIM network to memory."""
        LOG.info("Connected to UPB PIM")
        self._connection = conn
        self._connection_retry_time = 1
        if self.connected_callbk:
            self.connected_callbk()
        self._connection_status_change("connected")

        # The intention of this is to clear anything in the PIM receive buffer.
        # A number of times on startup error(s) (PE) are returned. This too will
        # return an error, but hopefully resets the PIM
        self.send("", response_required=False, raw=True)

        if self.flags.get("no_sync"):
            LOG.warning("Initial device sync turned off")
        else:
            self.call_sync_handlers()
Sync the UPB PIM network to memory.
Sync the UPB PIM network to memory.
Sync the UPB PIM network to memory .
def _connected(self, conn):
        LOG.info("Connected to UPB PIM")
        self._connection = conn
        self._connection_retry_time = 1
        if self.connected_callbk:
            self.connected_callbk()
        self._connection_status_change("connected")
        self.send("", response_required=False, raw=True)
        if self.flags.get("no_sync"):
            LOG.warning("Initial device sync turned off")
        else:
            self.call_sync_handlers()
def _connected ( self , conn ) : LOG . info ( "Connected to UPB PIM" ) self . _connection = conn self . _connection_retry_time = 1 if self . connected_callbk : self . connected_callbk ( ) self . _connection_status_change ( "connected" ) self . send ( "" , response_required = False , raw = True ) if self . flags . get ( "no_sync" ) : LOG . warning ( "Initial device sync turned off" ) else : self . call_sync_handlers ( )
Sync the UPB PIM network to memory.
Sync the UPB PIM network to memory .
"""Sync the UPB PIM network to memory.""" # The intention of this is to clear anything in the PIM receive buffer. # A number of times on startup error(s) (PE) are returned. This too will # return an error, but hopefully resets the PIM
self
conn