/*! phoscon-app 2024-02-26 */

export const scanMachine=states=>({initial:"idle",context:{},states:{idle:{on:{IDLE:"idle",START_SCAN:"startScan",STOP_SCAN:"stopScan",DISCOVERY_FAILED:"startScan"}},startScan:{on:{IDLE:"idle",START_SCAN:"startScan",STOP_SCAN:"stopScan"},onEntry:[{type:"callFactoryFunc",state:states.START_SCAN}]},stopScan:{on:{IDLE:"idle",START_SCAN:"startScan",STOP_SCAN:"stopScan"},onEntry:[{type:"callFactoryFunc",state:states.STOP_SCAN}]}}});