src/server/server.py
def connect_handler():
    '''Starts the interface and a heartbeat thread for rssi.'''
    logger.debug('Client connected')
    INTERFACE.start()
    global HEARTBEAT_THREAD
    if HEARTBEAT_THREAD is None:
        HEARTBEAT_THREAD = gevent.spawn(heartbeat_thread_function)
        logger.debug('Heartbeat thread started')
    emit_heat_data(nobroadcast=True)
Starts the interface and a heartbeat thread for rssi.
Starts the interface and a heartbeat thread for rssi.
Starts the interface and a heartbeat thread for rssi .
def connect_handler():
    logger.debug('Client connected')
    INTERFACE.start()
    global HEARTBEAT_THREAD
    if HEARTBEAT_THREAD is None:
        HEARTBEAT_THREAD = gevent.spawn(heartbeat_thread_function)
        logger.debug('Heartbeat thread started')
    emit_heat_data(nobroadcast=True)
def connect_handler ( ) : logger . debug ( 'Client connected' ) INTERFACE . start ( ) global HEARTBEAT_THREAD if HEARTBEAT_THREAD is None : HEARTBEAT_THREAD = gevent . spawn ( heartbeat_thread_function ) logger . debug ( 'Heartbeat thread started' ) emit_heat_data ( nobroadcast = True )
Starts the interface and a heartbeat thread for rssi.
Starts the interface and a heartbeat thread for rssi .
'''Starts the interface and a heartbeat thread for rssi.'''