From e3aa6573d088611871ec2d8a0ea465ece73f0d1d Mon Sep 17 00:00:00 2001 From: PBrunot Date: Sun, 14 Jul 2024 13:49:46 +0000 Subject: [PATCH] deploy: 5095622aedd966c8f45c36c83c9de8063b1158c0 --- _auth_provider_8cpp.xhtml | 2 +- _auth_provider_8cpp__incl.map | 285 +- _auth_provider_8cpp__incl.md5 | 2 +- _auth_provider_8cpp__incl.svg | 1579 +++++------ _auth_provider_8cpp__incl_org.svg | 1581 +++++------ _auth_provider_8cpp_source.xhtml | 34 +- _auth_provider_8hpp.xhtml | 3 +- _auth_provider_8hpp__incl.map | 176 +- _auth_provider_8hpp__incl.md5 | 2 +- _auth_provider_8hpp__incl.svg | 956 +++---- _auth_provider_8hpp__incl_org.svg | 958 +++---- _auth_provider_8hpp_source.xhtml | 83 +- _base_rfid_wrapper_8hpp.xhtml | 2 +- _base_rfid_wrapper_8hpp__incl.map | 26 +- _base_rfid_wrapper_8hpp__incl.md5 | 2 +- _base_rfid_wrapper_8hpp__incl.svg | 66 +- _base_rfid_wrapper_8hpp__incl_org.svg | 66 +- _base_rfid_wrapper_8hpp_source.xhtml | 4 +- _board_info_8hpp.xhtml | 2 +- _board_info_8hpp__incl.map | 112 +- _board_info_8hpp__incl.md5 | 2 +- _board_info_8hpp__incl.svg | 430 +-- _board_info_8hpp__incl_org.svg | 432 +-- _board_info_8hpp_source.xhtml | 4 +- _board_logic_8cpp.xhtml | 3 +- _board_logic_8cpp__incl.map | 381 +-- _board_logic_8cpp__incl.md5 | 2 +- _board_logic_8cpp__incl.svg | 2043 ++++++++------- _board_logic_8cpp__incl_org.svg | 2045 ++++++++------- _board_logic_8cpp_source.xhtml | 1454 +++++------ _board_logic_8hpp.xhtml | 2 +- _board_logic_8hpp__incl.map | 339 +-- _board_logic_8hpp__incl.md5 | 2 +- _board_logic_8hpp__incl.svg | 1873 ++++++------- _board_logic_8hpp__incl_org.svg | 1875 +++++++------- _board_logic_8hpp_source.xhtml | 64 +- _buffered_msg_8cpp.xhtml | 3 +- _buffered_msg_8cpp__incl.map | 159 +- _buffered_msg_8cpp__incl.md5 | 2 +- _buffered_msg_8cpp__incl.svg | 595 +++-- _buffered_msg_8cpp__incl_org.svg | 597 +++-- _buffered_msg_8cpp_source.xhtml | 239 +- _buffered_msg_8hpp.xhtml | 2 +- _buffered_msg_8hpp__incl.map | 149 +- _buffered_msg_8hpp__incl.md5 | 2 +- _buffered_msg_8hpp__incl.svg | 553 ++-- _buffered_msg_8hpp__incl_org.svg | 555 ++-- _buffered_msg_8hpp_source.xhtml | 14 +- _buzzer_8cpp.xhtml | 2 +- _buzzer_8cpp__incl.map | 67 +- _buzzer_8cpp__incl.md5 | 2 +- _buzzer_8cpp__incl.svg | 157 +- _buzzer_8cpp__incl_org.svg | 159 +- _buzzer_8cpp_source.xhtml | 4 +- _buzzer_8hpp.xhtml | 2 +- _buzzer_8hpp_source.xhtml | 2 +- _cached_cards_8hpp.xhtml | 5 +- _cached_cards_8hpp__incl.map | 76 +- _cached_cards_8hpp__incl.md5 | 2 +- _cached_cards_8hpp__incl.svg | 479 ++-- _cached_cards_8hpp__incl_org.svg | 420 +-- _cached_cards_8hpp_source.xhtml | 159 +- _espressif_8cpp.xhtml | 2 +- _espressif_8cpp_source.xhtml | 4 +- _espressif_8hpp.xhtml | 4 +- _espressif_8hpp__dep__incl.map | 18 +- _espressif_8hpp__dep__incl.md5 | 2 +- _espressif_8hpp__dep__incl.svg | 117 +- _espressif_8hpp__dep__incl_org.svg | 58 +- _espressif_8hpp_source.xhtml | 2 +- _fab_backend_8cpp.xhtml | 2 +- _fab_backend_8cpp__incl.map | 269 +- _fab_backend_8cpp__incl.md5 | 2 +- _fab_backend_8cpp__incl.svg | 1239 ++++----- _fab_backend_8cpp__incl_org.svg | 1241 ++++----- _fab_backend_8cpp_source.xhtml | 17 +- _fab_backend_8hpp.xhtml | 2 +- _fab_backend_8hpp__incl.map | 218 +- _fab_backend_8hpp__incl.md5 | 2 +- _fab_backend_8hpp__incl.svg | 968 +++---- _fab_backend_8hpp__incl_org.svg | 970 +++---- _fab_backend_8hpp_source.xhtml | 4 +- _fab_user_8hpp.xhtml | 2 +- _fab_user_8hpp__incl.map | 60 +- _fab_user_8hpp__incl.md5 | 2 +- _fab_user_8hpp__incl.svg | 168 +- _fab_user_8hpp__incl_org.svg | 170 +- _fab_user_8hpp_source.xhtml | 6 +- _l_c_d_wrapper_8cpp.xhtml | 2 +- _l_c_d_wrapper_8cpp__incl.map | 146 +- _l_c_d_wrapper_8cpp__incl.md5 | 2 +- _l_c_d_wrapper_8cpp__incl.svg | 578 +++-- _l_c_d_wrapper_8cpp__incl_org.svg | 580 +++-- _l_c_d_wrapper_8cpp_source.xhtml | 4 +- _l_c_d_wrapper_8hpp.xhtml | 2 +- _l_c_d_wrapper_8hpp__incl.map | 128 +- _l_c_d_wrapper_8hpp__incl.md5 | 2 +- _l_c_d_wrapper_8hpp__incl.svg | 502 ++-- _l_c_d_wrapper_8hpp__incl_org.svg | 504 ++-- _l_c_d_wrapper_8hpp_source.xhtml | 2 +- _led_8cpp.xhtml | 2 +- _led_8cpp_source.xhtml | 4 +- _led_8hpp.xhtml | 2 +- _led_8hpp_source.xhtml | 2 +- _logging_8hpp.xhtml | 29 +- _logging_8hpp__dep__incl.map | 198 +- _logging_8hpp__dep__incl.md5 | 2 +- _logging_8hpp__dep__incl.svg | 414 +-- _logging_8hpp__dep__incl_org.svg | 416 +-- _logging_8hpp_source.xhtml | 17 +- _m_q_t_ttypes_8cpp.xhtml | 2 +- _m_q_t_ttypes_8cpp__incl.map | 162 +- _m_q_t_ttypes_8cpp__incl.md5 | 2 +- _m_q_t_ttypes_8cpp__incl.svg | 592 +++-- _m_q_t_ttypes_8cpp__incl_org.svg | 594 +++-- _m_q_t_ttypes_8cpp_source.xhtml | 6 +- _m_q_t_ttypes_8hpp.xhtml | 2 +- _m_q_t_ttypes_8hpp__incl.map | 122 +- _m_q_t_ttypes_8hpp__incl.md5 | 2 +- _m_q_t_ttypes_8hpp__incl.svg | 512 ++-- _m_q_t_ttypes_8hpp__incl_org.svg | 514 ++-- _m_q_t_ttypes_8hpp_source.xhtml | 4 +- _machine_8cpp.xhtml | 15 +- _machine_8cpp__incl.map | 271 +- _machine_8cpp__incl.md5 | 2 +- _machine_8cpp__incl.svg | 1359 +++++----- _machine_8cpp__incl_org.svg | 1361 +++++----- _machine_8cpp_source.xhtml | 901 +++---- _machine_8hpp.xhtml | 3 +- _machine_8hpp__incl.map | 108 +- _machine_8hpp__incl.md5 | 2 +- _machine_8hpp__incl.svg | 422 +-- _machine_8hpp__incl_org.svg | 424 +-- _machine_8hpp_source.xhtml | 281 +- _machine_config_8cpp.xhtml | 2 +- _machine_config_8cpp_source.xhtml | 2 +- _machine_config_8hpp.xhtml | 2 +- _machine_config_8hpp_source.xhtml | 2 +- _machine_i_d_8hpp.xhtml | 2 +- _machine_i_d_8hpp_source.xhtml | 2 +- _mock_m_q_t_t_broker_8cpp.xhtml | 2 +- _mock_m_q_t_t_broker_8cpp__incl.map | 169 +- _mock_m_q_t_t_broker_8cpp__incl.md5 | 2 +- _mock_m_q_t_t_broker_8cpp__incl.svg | 699 ++--- _mock_m_q_t_t_broker_8cpp__incl_org.svg | 701 ++--- _mock_m_q_t_t_broker_8cpp_source.xhtml | 4 +- _mock_m_q_t_t_broker_8hpp.xhtml | 2 +- _mock_m_q_t_t_broker_8hpp__incl.map | 24 +- _mock_m_q_t_t_broker_8hpp__incl.md5 | 2 +- _mock_m_q_t_t_broker_8hpp__incl.svg | 72 +- _mock_m_q_t_t_broker_8hpp__incl_org.svg | 74 +- _mock_m_q_t_t_broker_8hpp_source.xhtml | 2 +- _mock_mrfc522_8cpp.xhtml | 3 +- _mock_mrfc522_8cpp__incl.map | 108 +- _mock_mrfc522_8cpp__incl.md5 | 2 +- _mock_mrfc522_8cpp__incl.svg | 352 ++- _mock_mrfc522_8cpp__incl_org.svg | 354 ++- _mock_mrfc522_8cpp_source.xhtml | 181 +- _mock_mrfc522_8hpp.xhtml | 2 +- _mock_mrfc522_8hpp__incl.map | 90 +- _mock_mrfc522_8hpp__incl.md5 | 2 +- _mock_mrfc522_8hpp__incl.svg | 244 +- _mock_mrfc522_8hpp__incl_org.svg | 246 +- _mock_mrfc522_8hpp_source.xhtml | 32 +- _mrfc522_driver_8cpp.xhtml | 2 +- _mrfc522_driver_8cpp__incl.map | 128 +- _mrfc522_driver_8cpp__incl.md5 | 2 +- _mrfc522_driver_8cpp__incl.svg | 392 +-- _mrfc522_driver_8cpp__incl_org.svg | 394 +-- _mrfc522_driver_8cpp_source.xhtml | 2 +- _mrfc522_driver_8hpp.xhtml | 2 +- _mrfc522_driver_8hpp__incl.map | 110 +- _mrfc522_driver_8hpp__incl.md5 | 2 +- _mrfc522_driver_8hpp__incl.svg | 342 +-- _mrfc522_driver_8hpp__incl_org.svg | 344 +-- _mrfc522_driver_8hpp_source.xhtml | 2 +- _o_t_a_8cpp.xhtml | 2 +- _o_t_a_8cpp__incl.map | 351 +-- _o_t_a_8cpp__incl.md5 | 2 +- _o_t_a_8cpp__incl.svg | 1561 +++++------ _o_t_a_8cpp__incl_org.svg | 1563 +++++------ _o_t_a_8cpp_source.xhtml | 8 +- _o_t_a_8hpp.xhtml | 2 +- _o_t_a_8hpp__incl.map | 112 +- _o_t_a_8hpp__incl.md5 | 2 +- _o_t_a_8hpp__incl.svg | 296 ++- _o_t_a_8hpp__incl_org.svg | 298 ++- _o_t_a_8hpp_source.xhtml | 2 +- _pins_config_8hpp.xhtml | 2 +- _pins_config_8hpp_source.xhtml | 2 +- _r_f_i_d_wrapper_8hpp.xhtml | 2 +- _r_f_i_d_wrapper_8hpp__incl.map | 72 +- _r_f_i_d_wrapper_8hpp__incl.md5 | 2 +- _r_f_i_d_wrapper_8hpp__incl.svg | 184 +- _r_f_i_d_wrapper_8hpp__incl_org.svg | 186 +- _r_f_i_d_wrapper_8hpp_source.xhtml | 4 +- _saved_config_8cpp.xhtml | 2 +- _saved_config_8cpp__incl.map | 224 +- _saved_config_8cpp__incl.md5 | 2 +- _saved_config_8cpp__incl.svg | 802 +++--- _saved_config_8cpp__incl_org.svg | 804 +++--- _saved_config_8cpp_source.xhtml | 14 +- _saved_config_8hpp.xhtml | 2 +- _saved_config_8hpp__incl.map | 186 +- _saved_config_8hpp__incl.md5 | 2 +- _saved_config_8hpp__incl.svg | 666 ++--- _saved_config_8hpp__incl_org.svg | 668 ++--- _saved_config_8hpp_source.xhtml | 4 +- _tasks_8cpp.xhtml | 7 +- _tasks_8cpp__incl.map | 59 +- _tasks_8cpp__incl.md5 | 2 +- _tasks_8cpp__incl.svg | 340 ++- _tasks_8cpp__incl_org.svg | 281 +- _tasks_8cpp_source.xhtml | 694 ++--- _tasks_8hpp.xhtml | 8 +- _tasks_8hpp__dep__incl.map | 38 +- _tasks_8hpp__dep__incl.md5 | 2 +- _tasks_8hpp__dep__incl.svg | 142 +- _tasks_8hpp__dep__incl_org.svg | 144 +- _tasks_8hpp__incl.map | 10 +- _tasks_8hpp__incl.md5 | 2 +- _tasks_8hpp__incl.svg | 52 +- _tasks_8hpp__incl_org.svg | 52 +- _tasks_8hpp_source.xhtml | 247 +- _white_list_8hpp.xhtml | 2 +- _white_list_8hpp__incl.map | 74 +- _white_list_8hpp__incl.md5 | 2 +- _white_list_8hpp__incl.svg | 188 +- _white_list_8hpp__incl_org.svg | 190 +- _white_list_8hpp_source.xhtml | 2 +- annotated.xhtml | 2 +- card_8hpp.xhtml | 3 +- card_8hpp__incl.map | 18 +- card_8hpp__incl.md5 | 2 +- card_8hpp__incl.svg | 50 +- card_8hpp__incl_org.svg | 50 +- card_8hpp_source.xhtml | 119 +- classes.xhtml | 2 +- ...sfabomatic_1_1_auth_provider-members.xhtml | 10 +- classfabomatic_1_1_auth_provider.xhtml | 122 +- ...02ef003255e1f0cc0892ef5dae2ac9b_cgraph.map | 0 ...02ef003255e1f0cc0892ef5dae2ac9b_cgraph.md5 | 0 ...02ef003255e1f0cc0892ef5dae2ac9b_cgraph.svg | 0 ...003255e1f0cc0892ef5dae2ac9b_cgraph_org.svg | 0 ...f07c23e632c8d0d61b9d338c1c3c74b_cgraph.map | 0 ...f07c23e632c8d0d61b9d338c1c3c74b_cgraph.md5 | 0 ...f07c23e632c8d0d61b9d338c1c3c74b_cgraph.svg | 0 ...23e632c8d0d61b9d338c1c3c74b_cgraph_org.svg | 0 ...ae9923535dcf6cfa9eaf9e5f90e5e64_cgraph.map | 38 +- ...ae9923535dcf6cfa9eaf9e5f90e5e64_cgraph.md5 | 2 +- ...ae9923535dcf6cfa9eaf9e5f90e5e64_cgraph.svg | 156 +- ...23535dcf6cfa9eaf9e5f90e5e64_cgraph_org.svg | 156 +- ...tic_1_1_base_r_f_i_d_wrapper-members.xhtml | 2 +- classfabomatic_1_1_base_r_f_i_d_wrapper.xhtml | 4 +- classfabomatic_1_1_board_logic-members.xhtml | 2 +- classfabomatic_1_1_board_logic.xhtml | 1349 +++++----- ...5bdc3a49d850aa49f92faf951b68efb_cgraph.map | 280 +- ...5bdc3a49d850aa49f92faf951b68efb_cgraph.md5 | 2 +- ...5bdc3a49d850aa49f92faf951b68efb_cgraph.svg | 1507 +++++------ ...3a49d850aa49f92faf951b68efb_cgraph_org.svg | 1507 +++++------ ...c38d7a3ed7952c6d6297efdf50ea4dd_cgraph.map | 64 +- ...c38d7a3ed7952c6d6297efdf50ea4dd_cgraph.md5 | 2 +- ...c38d7a3ed7952c6d6297efdf50ea4dd_cgraph.svg | 270 +- ...7a3ed7952c6d6297efdf50ea4dd_cgraph_org.svg | 270 +- ...e9fedd51e4895834a9ebea17cba4331_cgraph.map | 14 +- ...e9fedd51e4895834a9ebea17cba4331_cgraph.md5 | 2 +- ...e9fedd51e4895834a9ebea17cba4331_cgraph.svg | 125 +- ...dd51e4895834a9ebea17cba4331_cgraph_org.svg | 66 +- ...20a0d05a91a02c27ad3b63a030738a0_cgraph.map | 48 +- ...20a0d05a91a02c27ad3b63a030738a0_cgraph.md5 | 2 +- ...20a0d05a91a02c27ad3b63a030738a0_cgraph.svg | 267 +- ...d05a91a02c27ad3b63a030738a0_cgraph_org.svg | 210 +- ...62b4b6149ca7bf33b699eb3181c969f_cgraph.map | 4 +- ...62b4b6149ca7bf33b699eb3181c969f_cgraph.md5 | 2 +- ...62b4b6149ca7bf33b699eb3181c969f_cgraph.svg | 26 +- ...b6149ca7bf33b699eb3181c969f_cgraph_org.svg | 26 +- ...7b4d515c0d3488eceb49769036bce8b_cgraph.map | 60 +- ...7b4d515c0d3488eceb49769036bce8b_cgraph.md5 | 2 +- ...7b4d515c0d3488eceb49769036bce8b_cgraph.svg | 260 +- ...515c0d3488eceb49769036bce8b_cgraph_org.svg | 260 +- ...1390e6bf10c4de427abd7f175a2e6a8_cgraph.map | 188 +- ...1390e6bf10c4de427abd7f175a2e6a8_cgraph.md5 | 2 +- ...1390e6bf10c4de427abd7f175a2e6a8_cgraph.svg | 1052 ++++---- ...e6bf10c4de427abd7f175a2e6a8_cgraph_org.svg | 1052 ++++---- ...b151fca2de8263b021b8b6f26e5d0ab_cgraph.map | 4 +- ...b151fca2de8263b021b8b6f26e5d0ab_cgraph.md5 | 2 +- ...b151fca2de8263b021b8b6f26e5d0ab_cgraph.svg | 26 +- ...fca2de8263b021b8b6f26e5d0ab_cgraph_org.svg | 26 +- ...32053c1e3343652632bde1a81a9ff4_icgraph.map | 41 +- ...32053c1e3343652632bde1a81a9ff4_icgraph.md5 | 2 +- ...32053c1e3343652632bde1a81a9ff4_icgraph.svg | 136 +- ...3c1e3343652632bde1a81a9ff4_icgraph_org.svg | 138 +- ...e0c35d138333907cc217c9e141091cd_cgraph.map | 4 +- ...e0c35d138333907cc217c9e141091cd_cgraph.md5 | 2 +- ...e0c35d138333907cc217c9e141091cd_cgraph.svg | 85 +- ...5d138333907cc217c9e141091cd_cgraph_org.svg | 26 +- ...83c8de8b9c8881fc0a4e60dddc7f0c6_cgraph.map | 275 +- ...83c8de8b9c8881fc0a4e60dddc7f0c6_cgraph.md5 | 2 +- ...83c8de8b9c8881fc0a4e60dddc7f0c6_cgraph.svg | 1546 +++++------ ...de8b9c8881fc0a4e60dddc7f0c6_cgraph_org.svg | 1546 +++++------ ...8a15cc323f97adc394c29e897afc12d_cgraph.map | 91 +- ...8a15cc323f97adc394c29e897afc12d_cgraph.md5 | 2 +- ...8a15cc323f97adc394c29e897afc12d_cgraph.svg | 519 ++-- ...cc323f97adc394c29e897afc12d_cgraph_org.svg | 519 ++-- ...0d3d3aa742eba1ffd00b97868ce7edc_cgraph.map | 100 +- ...0d3d3aa742eba1ffd00b97868ce7edc_cgraph.md5 | 2 +- ...0d3d3aa742eba1ffd00b97868ce7edc_cgraph.svg | 438 ++-- ...3aa742eba1ffd00b97868ce7edc_cgraph_org.svg | 438 ++-- ...05af486941c620c9494ba545dd83c3d_cgraph.map | 6 +- ...05af486941c620c9494ba545dd83c3d_cgraph.md5 | 2 +- ...05af486941c620c9494ba545dd83c3d_cgraph.svg | 38 +- ...486941c620c9494ba545dd83c3d_cgraph_org.svg | 38 +- ...198a07d00fda36a527cd9db2d97efc1_cgraph.map | 4 +- ...198a07d00fda36a527cd9db2d97efc1_cgraph.md5 | 2 +- ...198a07d00fda36a527cd9db2d97efc1_cgraph.svg | 85 +- ...07d00fda36a527cd9db2d97efc1_cgraph_org.svg | 26 +- ...05b4db308773e56d866fe87d34022d9_cgraph.map | 14 +- ...05b4db308773e56d866fe87d34022d9_cgraph.md5 | 2 +- ...05b4db308773e56d866fe87d34022d9_cgraph.svg | 70 +- ...db308773e56d866fe87d34022d9_cgraph_org.svg | 70 +- classfabomatic_1_1_buffer-members.xhtml | 2 +- classfabomatic_1_1_buffer.xhtml | 200 +- ...fabomatic_1_1_buffered_query-members.xhtml | 2 +- classfabomatic_1_1_buffered_query.xhtml | 2 +- classfabomatic_1_1_buzzer-members.xhtml | 2 +- classfabomatic_1_1_buzzer.xhtml | 18 +- ...2e292870e840139082bb966cb6dd0b2_cgraph.map | 4 +- ...2e292870e840139082bb966cb6dd0b2_cgraph.md5 | 2 +- ...2e292870e840139082bb966cb6dd0b2_cgraph.svg | 26 +- ...2870e840139082bb966cb6dd0b2_cgraph_org.svg | 26 +- ...732a4349a272129c2f5f1ce2522ffd5_cgraph.map | 4 +- ...732a4349a272129c2f5f1ce2522ffd5_cgraph.md5 | 2 +- ...732a4349a272129c2f5f1ce2522ffd5_cgraph.svg | 26 +- ...4349a272129c2f5f1ce2522ffd5_cgraph_org.svg | 26 +- classfabomatic_1_1_fab_backend-members.xhtml | 2 +- classfabomatic_1_1_fab_backend.xhtml | 79 +- ...4951b9823ac466be2285640171013e5_cgraph.map | 31 +- ...4951b9823ac466be2285640171013e5_cgraph.md5 | 2 +- ...4951b9823ac466be2285640171013e5_cgraph.svg | 183 +- ...b9823ac466be2285640171013e5_cgraph_org.svg | 183 +- ...510999bee5e4fe5d31d7ad5496f889c_cgraph.map | 35 +- ...510999bee5e4fe5d31d7ad5496f889c_cgraph.md5 | 2 +- ...510999bee5e4fe5d31d7ad5496f889c_cgraph.svg | 193 +- ...99bee5e4fe5d31d7ad5496f889c_cgraph_org.svg | 193 +- ...a45f556aadcbc428d14b7c7577ed43d_cgraph.map | 14 +- ...a45f556aadcbc428d14b7c7577ed43d_cgraph.md5 | 2 +- ...a45f556aadcbc428d14b7c7577ed43d_cgraph.svg | 121 +- ...556aadcbc428d14b7c7577ed43d_cgraph_org.svg | 62 +- ...3cc9d15e26ffe3b830452a5435cda1c_cgraph.map | 4 +- ...3cc9d15e26ffe3b830452a5435cda1c_cgraph.md5 | 2 +- ...3cc9d15e26ffe3b830452a5435cda1c_cgraph.svg | 26 +- ...d15e26ffe3b830452a5435cda1c_cgraph_org.svg | 26 +- ...a691642839e9196217684949621f2a4_cgraph.map | 48 +- ...a691642839e9196217684949621f2a4_cgraph.md5 | 2 +- ...a691642839e9196217684949621f2a4_cgraph.svg | 192 +- ...642839e9196217684949621f2a4_cgraph_org.svg | 194 +- ...558116614ee45601f4665d395838727_cgraph.map | 4 +- ...558116614ee45601f4665d395838727_cgraph.md5 | 2 +- ...558116614ee45601f4665d395838727_cgraph.svg | 26 +- ...16614ee45601f4665d395838727_cgraph_org.svg | 26 +- ...928751b2f967feaac0f2cb708c0d6e9_cgraph.map | 4 +- ...928751b2f967feaac0f2cb708c0d6e9_cgraph.md5 | 2 +- ...928751b2f967feaac0f2cb708c0d6e9_cgraph.svg | 26 +- ...51b2f967feaac0f2cb708c0d6e9_cgraph_org.svg | 26 +- ...c71dbb44c3446fa985744ad4563faeb_cgraph.map | 44 +- ...c71dbb44c3446fa985744ad4563faeb_cgraph.md5 | 2 +- ...c71dbb44c3446fa985744ad4563faeb_cgraph.svg | 176 +- ...bb44c3446fa985744ad4563faeb_cgraph_org.svg | 178 +- ...sfabomatic_1_1_l_c_d_wrapper-members.xhtml | 2 +- classfabomatic_1_1_l_c_d_wrapper.xhtml | 12 +- classfabomatic_1_1_led-members.xhtml | 2 +- classfabomatic_1_1_led.xhtml | 12 +- ..._t_interface_1_1_alive_query-members.xhtml | 2 +- ..._1_m_q_t_t_interface_1_1_alive_query.xhtml | 4 +- ...t_interface_1_1_in_use_query-members.xhtml | 2 +- ...1_m_q_t_t_interface_1_1_in_use_query.xhtml | 6 +- ..._interface_1_1_machine_query-members.xhtml | 2 +- ..._m_q_t_t_interface_1_1_machine_query.xhtml | 2 +- ...terface_1_1_machine_response-members.xhtml | 2 +- ...q_t_t_interface_1_1_machine_response.xhtml | 2 +- ..._m_q_t_t_interface_1_1_query-members.xhtml | 2 +- ...atic_1_1_m_q_t_t_interface_1_1_query.xhtml | 2 +- ...1_register_maintenance_query-members.xhtml | 2 +- ...rface_1_1_register_maintenance_query.xhtml | 6 +- ...q_t_t_interface_1_1_response-members.xhtml | 2 +- ...c_1_1_m_q_t_t_interface_1_1_response.xhtml | 2 +- ...nterface_1_1_simple_response-members.xhtml | 2 +- ..._q_t_t_interface_1_1_simple_response.xhtml | 2 +- ...nterface_1_1_start_use_query-members.xhtml | 2 +- ..._q_t_t_interface_1_1_start_use_query.xhtml | 6 +- ...interface_1_1_stop_use_query-members.xhtml | 2 +- ...m_q_t_t_interface_1_1_stop_use_query.xhtml | 6 +- ...t_t_interface_1_1_user_query-members.xhtml | 2 +- ...1_1_m_q_t_t_interface_1_1_user_query.xhtml | 6 +- ..._interface_1_1_user_response-members.xhtml | 2 +- ..._m_q_t_t_interface_1_1_user_response.xhtml | 2 +- classfabomatic_1_1_machine-members.xhtml | 6 +- classfabomatic_1_1_machine.xhtml | 889 ++++--- ...8685d0fb2bec894f77756f79c020bf9_cgraph.map | 2 + ...8685d0fb2bec894f77756f79c020bf9_cgraph.md5 | 2 +- ...8685d0fb2bec894f77756f79c020bf9_cgraph.svg | 22 +- ...d0fb2bec894f77756f79c020bf9_cgraph_org.svg | 22 +- ...a6c35ee214314d87297013cc29a8aa_icgraph.svg | 2 +- ...161d52e85bff96812852f50f53335c9_cgraph.map | 5 + ...161d52e85bff96812852f50f53335c9_cgraph.md5 | 1 + ...161d52e85bff96812852f50f53335c9_cgraph.svg | 65 + ...52e85bff96812852f50f53335c9_cgraph_org.svg | 40 + ...61d52e85bff96812852f50f53335c9_icgraph.svg | 2 +- ...16376ca892e59b8f754696161657631_cgraph.map | 4 +- ...16376ca892e59b8f754696161657631_cgraph.md5 | 2 +- ...16376ca892e59b8f754696161657631_cgraph.svg | 26 +- ...6ca892e59b8f754696161657631_cgraph_org.svg | 26 +- ...37e99f2d70262d2ab26f69ed4f0e47_icgraph.svg | 2 +- ...c12cef5abca43d82f7c378430a79b6_icgraph.svg | 2 +- ...b0deb04494137cf321e94d50dedf90_icgraph.svg | 2 +- ...c30eaa242d5cc2ce784dbafeef87e8_icgraph.svg | 2 +- ...9fbf9cad912d735cf84b75c0674646f_cgraph.map | 15 +- ...9fbf9cad912d735cf84b75c0674646f_cgraph.md5 | 2 +- ...9fbf9cad912d735cf84b75c0674646f_cgraph.svg | 79 +- ...9cad912d735cf84b75c0674646f_cgraph_org.svg | 79 +- ...fbf9cad912d735cf84b75c0674646f_icgraph.svg | 2 +- ...5304fd80e0cc1c2118a59c64222d6d_icgraph.svg | 2 +- ...40dcb31af466acc85f66c845516c82_icgraph.svg | 2 +- ...aa0b2cd34205ba57710affc56f5c3c_icgraph.svg | 2 +- ...6cd6dfd9fefa7221a49cc07c78fc851_cgraph.map | 5 + ...6cd6dfd9fefa7221a49cc07c78fc851_cgraph.md5 | 1 + ...6cd6dfd9fefa7221a49cc07c78fc851_cgraph.svg | 65 + ...dfd9fefa7221a49cc07c78fc851_cgraph_org.svg | 40 + ...cd6dfd9fefa7221a49cc07c78fc851_icgraph.svg | 2 +- ...71958cc57845c8651cf1058ed9b30e4_cgraph.map | 5 + ...71958cc57845c8651cf1058ed9b30e4_cgraph.md5 | 1 + ...71958cc57845c8651cf1058ed9b30e4_cgraph.svg | 65 + ...8cc57845c8651cf1058ed9b30e4_cgraph_org.svg | 40 + ...1958cc57845c8651cf1058ed9b30e4_icgraph.svg | 2 +- ...de1bdf40d146c521b623d54e2df1cf_icgraph.svg | 2 +- ...1c78777a6cb9f7fdb9780a8c1aa8c0_icgraph.svg | 2 +- ...c845a163660550fa779516a8be8681a_cgraph.map | 5 + ...c845a163660550fa779516a8be8681a_cgraph.md5 | 1 + ...c845a163660550fa779516a8be8681a_cgraph.svg | 65 + ...a163660550fa779516a8be8681a_cgraph_org.svg | 40 + ...845a163660550fa779516a8be8681a_icgraph.svg | 2 +- ...109ed7b9c5e40768bc4edf62377aa8_icgraph.svg | 2 +- ...d614d86b6108a5a7b54fc9eee0d9a6_icgraph.svg | 2 +- ...9e2dee601ccaeab1e02cf28a14306b_icgraph.svg | 2 +- ...0591da2ff437cd6c7cc91bd09b4dff7_cgraph.map | 5 + ...0591da2ff437cd6c7cc91bd09b4dff7_cgraph.md5 | 1 + ...0591da2ff437cd6c7cc91bd09b4dff7_cgraph.svg | 65 + ...da2ff437cd6c7cc91bd09b4dff7_cgraph_org.svg | 40 + ...591da2ff437cd6c7cc91bd09b4dff7_icgraph.svg | 2 +- ...513321c0c184312c66087e7104d066_icgraph.svg | 2 +- ...7ccce1b3fabde562cfc7c5645dd6a3_icgraph.svg | 2 +- ...11c567c7cb7487d19019550c9a4e32_icgraph.svg | 2 +- ...d23c892c39f3c1e26d611059273081_icgraph.svg | 2 +- ...e64b0919798272dfe45d40eb2e96be_icgraph.svg | 2 +- ...atic_1_1_mock_m_q_t_t_broker-members.xhtml | 2 +- classfabomatic_1_1_mock_m_q_t_t_broker.xhtml | 6 +- classfabomatic_1_1_mock_mrfc522-members.xhtml | 4 +- classfabomatic_1_1_mock_mrfc522.xhtml | 165 +- ...b795aa73514e7810386f308c08f1411_cgraph.map | 6 +- ...b795aa73514e7810386f308c08f1411_cgraph.md5 | 2 +- ...b795aa73514e7810386f308c08f1411_cgraph.svg | 38 +- ...aa73514e7810386f308c08f1411_cgraph_org.svg | 38 +- ...9904c7fe8ef1d9ab3a0b32a60c0c17_icgraph.svg | 2 +- ...20d2c5f7680ea063bbb2f103696259a_cgraph.map | 5 + ...20d2c5f7680ea063bbb2f103696259a_cgraph.md5 | 1 + ...20d2c5f7680ea063bbb2f103696259a_cgraph.svg | 65 + ...c5f7680ea063bbb2f103696259a_cgraph_org.svg | 40 + ...5243105821375118132fe7a3e5d7ea3_cgraph.map | 5 + ...5243105821375118132fe7a3e5d7ea3_cgraph.md5 | 1 + ...5243105821375118132fe7a3e5d7ea3_cgraph.svg | 65 + ...105821375118132fe7a3e5d7ea3_cgraph_org.svg | 40 + ...243105821375118132fe7a3e5d7ea3_icgraph.svg | 2 +- ...fabomatic_1_1_mrfc522_driver-members.xhtml | 2 +- classfabomatic_1_1_mrfc522_driver.xhtml | 4 +- ...abomatic_1_1_r_f_i_d_wrapper-members.xhtml | 2 +- classfabomatic_1_1_r_f_i_d_wrapper.xhtml | 2 +- classfabomatic_1_1_saved_config-members.xhtml | 2 +- classfabomatic_1_1_saved_config.xhtml | 28 +- ...atic_1_1_tasks_1_1_scheduler-members.xhtml | 17 +- classfabomatic_1_1_tasks_1_1_scheduler.xhtml | 332 +-- ...c_1_1_tasks_1_1_scheduler__coll__graph.map | 8 +- ...c_1_1_tasks_1_1_scheduler__coll__graph.md5 | 2 +- ...c_1_1_tasks_1_1_scheduler__coll__graph.svg | 61 +- ...1_tasks_1_1_scheduler__coll__graph_org.svg | 61 +- ...19cf06b6427ba332296ffcceffcb8c_icgraph.map | 11 - ...19cf06b6427ba332296ffcceffcb8c_icgraph.md5 | 1 - ...19cf06b6427ba332296ffcceffcb8c_icgraph.svg | 178 -- ...06b6427ba332296ffcceffcb8c_icgraph_org.svg | 96 - ...acce29901dbfd56a0f49beb277e3e76_cgraph.map | 15 +- ...acce29901dbfd56a0f49beb277e3e76_cgraph.md5 | 2 +- ...acce29901dbfd56a0f49beb277e3e76_cgraph.svg | 128 +- ...29901dbfd56a0f49beb277e3e76_cgraph_org.svg | 71 +- ...cce29901dbfd56a0f49beb277e3e76_icgraph.map | 16 +- ...cce29901dbfd56a0f49beb277e3e76_icgraph.md5 | 2 +- ...cce29901dbfd56a0f49beb277e3e76_icgraph.svg | 79 +- ...9901dbfd56a0f49beb277e3e76_icgraph_org.svg | 79 +- ...1e971506199db303a90f2515dd6169_icgraph.map | 2 +- ...1e971506199db303a90f2515dd6169_icgraph.md5 | 1 + ...1e971506199db303a90f2515dd6169_icgraph.svg | 2 +- ...1506199db303a90f2515dd6169_icgraph_org.svg | 2 +- ...3cf39f760eb3248ceb7a4d805af198d_cgraph.map | 8 - ...3cf39f760eb3248ceb7a4d805af198d_cgraph.md5 | 1 - ...9f760eb3248ceb7a4d805af198d_cgraph_org.svg | 68 - ...19a5ae935d924c4c145ed07721e5db_icgraph.map | 0 ...19a5ae935d924c4c145ed07721e5db_icgraph.md5 | 0 ...19a5ae935d924c4c145ed07721e5db_icgraph.svg | 0 ...ae935d924c4c145ed07721e5db_icgraph_org.svg | 0 ...280eccd0bc57ff7fbc92ab54b54769_icgraph.map | 16 +- ...280eccd0bc57ff7fbc92ab54b54769_icgraph.md5 | 1 + ...280eccd0bc57ff7fbc92ab54b54769_icgraph.svg | 86 +- ...ccd0bc57ff7fbc92ab54b54769_icgraph_org.svg | 125 + ...01e3dad5251398494fbdd7ffc2cbeb_icgraph.md5 | 1 - ...558ef77dc2922dca6f3e332fd147c4_icgraph.md5 | 1 - ...f77dc2922dca6f3e332fd147c4_icgraph_org.svg | 143 - ...f9b0c44cc0bef222932a681ace0d406_cgraph.map | 8 + ...f9b0c44cc0bef222932a681ace0d406_cgraph.md5 | 1 + ...f9b0c44cc0bef222932a681ace0d406_cgraph.svg | 57 +- ...c44cc0bef222932a681ace0d406_cgraph_org.svg | 67 + ...9b0c44cc0bef222932a681ace0d406_icgraph.map | 0 ...9b0c44cc0bef222932a681ace0d406_icgraph.md5 | 0 ...9b0c44cc0bef222932a681ace0d406_icgraph.svg | 0 ...44cc0bef222932a681ace0d406_icgraph_org.svg | 0 ...fabomatic_1_1_tasks_1_1_task-members.xhtml | 23 +- classfabomatic_1_1_tasks_1_1_task.xhtml | 466 ++-- ...omatic_1_1_tasks_1_1_task__coll__graph.md5 | 2 +- ...omatic_1_1_tasks_1_1_task__coll__graph.svg | 2 +- ...ic_1_1_tasks_1_1_task__coll__graph_org.svg | 2 +- ...488d6b3730de3f77a52ce6bee56fdd8_cgraph.map | 11 +- ...488d6b3730de3f77a52ce6bee56fdd8_cgraph.md5 | 2 +- ...488d6b3730de3f77a52ce6bee56fdd8_cgraph.svg | 61 +- ...6b3730de3f77a52ce6bee56fdd8_cgraph_org.svg | 61 +- ...88d6b3730de3f77a52ce6bee56fdd8_icgraph.map | 20 +- ...88d6b3730de3f77a52ce6bee56fdd8_icgraph.md5 | 2 +- ...88d6b3730de3f77a52ce6bee56fdd8_icgraph.svg | 91 +- ...b3730de3f77a52ce6bee56fdd8_icgraph_org.svg | 89 +- ...521c3886fbc2cc540fb3809f03945a2_cgraph.map | 4 +- ...521c3886fbc2cc540fb3809f03945a2_cgraph.md5 | 2 +- ...521c3886fbc2cc540fb3809f03945a2_cgraph.svg | 26 +- ...3886fbc2cc540fb3809f03945a2_cgraph_org.svg | 26 +- ...da0e6d8fe7677e0faaab98995353ba_icgraph.map | 7 + ...da0e6d8fe7677e0faaab98995353ba_icgraph.md5 | 1 + ...da0e6d8fe7677e0faaab98995353ba_icgraph.svg | 85 + ...6d8fe7677e0faaab98995353ba_icgraph_org.svg | 60 + ...a1a85dc5747fdc56c3f7470eeaebff0_cgraph.map | 5 + ...a1a85dc5747fdc56c3f7470eeaebff0_cgraph.md5 | 1 + ...a1a85dc5747fdc56c3f7470eeaebff0_cgraph.svg | 66 + ...5dc5747fdc56c3f7470eeaebff0_cgraph_org.svg | 41 + ...1a85dc5747fdc56c3f7470eeaebff0_icgraph.map | 5 + ...1a85dc5747fdc56c3f7470eeaebff0_icgraph.md5 | 1 + ...1a85dc5747fdc56c3f7470eeaebff0_icgraph.svg | 66 + ...dc5747fdc56c3f7470eeaebff0_icgraph_org.svg | 41 + ...63191a702c898cda8af1ce8316bfb94_cgraph.map | 5 + ...63191a702c898cda8af1ce8316bfb94_cgraph.md5 | 1 + ...63191a702c898cda8af1ce8316bfb94_cgraph.svg | 64 + ...1a702c898cda8af1ce8316bfb94_cgraph_org.svg | 39 + ...fca69a8fdcc7eb5cc656b4e4fd80375_cgraph.map | 12 +- ...fca69a8fdcc7eb5cc656b4e4fd80375_cgraph.md5 | 2 +- ...fca69a8fdcc7eb5cc656b4e4fd80375_cgraph.svg | 80 +- ...9a8fdcc7eb5cc656b4e4fd80375_cgraph_org.svg | 80 +- conf_8hpp.xhtml | 2 +- conf_8hpp_source.xhtml | 2 +- dir_000000_000001.xhtml | 2 +- dir_000001_000000.xhtml | 2 +- dir_000001_000003.xhtml | 2 +- dir_000004_000000.xhtml | 2 +- dir_000004_000001.xhtml | 4 +- dir_000005_000000.xhtml | 2 +- dir_000005_000001.xhtml | 4 +- dir_000007_000001.xhtml | 8 +- dir_000008_000000.xhtml | 8 +- dir_000008_000001.xhtml | 8 +- ...07_000000.xhtml => dir_000009_000000.xhtml | 8 +- dir_000009_000001.xhtml | 8 +- dir_000010_000001.xhtml | 8 +- dir_000011_000001.xhtml | 84 + dir_13e138d54eb8818da29c3992edef070a.xhtml | 6 +- dir_13e138d54eb8818da29c3992edef070a_dep.map | 41 +- dir_13e138d54eb8818da29c3992edef070a_dep.md5 | 2 +- dir_13e138d54eb8818da29c3992edef070a_dep.svg | 152 +- ...e138d54eb8818da29c3992edef070a_dep_org.svg | 152 +- dir_24d5ee9663ee4cc920cf8960a9137137.xhtml | 2 +- dir_24d5ee9663ee4cc920cf8960a9137137_dep.map | 4 +- dir_24d5ee9663ee4cc920cf8960a9137137_dep.md5 | 2 +- dir_24d5ee9663ee4cc920cf8960a9137137_dep.svg | 4 +- ...d5ee9663ee4cc920cf8960a9137137_dep_org.svg | 4 +- dir_467c377f93108d0a0c83a3bb4de019c4.xhtml | 2 +- dir_5086f03806332e1622e6f6a3f9988048.xhtml | 2 +- dir_5086f03806332e1622e6f6a3f9988048_dep.map | 8 +- dir_5086f03806332e1622e6f6a3f9988048_dep.md5 | 2 +- dir_5086f03806332e1622e6f6a3f9988048_dep.svg | 8 +- ...86f03806332e1622e6f6a3f9988048_dep_org.svg | 8 +- dir_60c1e009daff386049faf4e676bb6db8.xhtml | 2 +- dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml | 2 +- dir_68267d1309a1af8e8297ef4c3efbcdba_dep.map | 4 +- dir_68267d1309a1af8e8297ef4c3efbcdba_dep.md5 | 2 +- dir_68267d1309a1af8e8297ef4c3efbcdba_dep.svg | 8 +- ...267d1309a1af8e8297ef4c3efbcdba_dep_org.svg | 8 +- dir_692d9127e28911cb1fa457de72508e0f.xhtml | 2 +- dir_6e948c0ad032dc45dbde47e830bb523f.xhtml | 2 +- dir_6e948c0ad032dc45dbde47e830bb523f_dep.map | 4 +- dir_6e948c0ad032dc45dbde47e830bb523f_dep.md5 | 2 +- dir_6e948c0ad032dc45dbde47e830bb523f_dep.svg | 4 +- ...948c0ad032dc45dbde47e830bb523f_dep_org.svg | 4 +- dir_b810b1e6ec0cbea7c4b9d596e7cd60d2.xhtml | 2 +- dir_b810b1e6ec0cbea7c4b9d596e7cd60d2_dep.map | 8 +- dir_b810b1e6ec0cbea7c4b9d596e7cd60d2_dep.md5 | 2 +- dir_b810b1e6ec0cbea7c4b9d596e7cd60d2_dep.svg | 10 +- ...10b1e6ec0cbea7c4b9d596e7cd60d2_dep_org.svg | 10 +- dir_ca44dfdffa4b3c6958d92d9df741e3e1.xhtml | 98 + dir_ca44dfdffa4b3c6958d92d9df741e3e1_dep.map | 7 + dir_ca44dfdffa4b3c6958d92d9df741e3e1_dep.md5 | 1 + dir_ca44dfdffa4b3c6958d92d9df741e3e1_dep.svg | 76 + ...44dfdffa4b3c6958d92d9df741e3e1_dep_org.svg | 51 + dir_d44c64559bbebec7f509842c48db8b23.xhtml | 2 +- dir_dbaa8d7e02b71692f61487f3a0357a30.xhtml | 2 +- dir_dbaa8d7e02b71692f61487f3a0357a30_dep.map | 2 +- dir_dbaa8d7e02b71692f61487f3a0357a30_dep.md5 | 2 +- dir_dbaa8d7e02b71692f61487f3a0357a30_dep.svg | 4 +- ...aa8d7e02b71692f61487f3a0357a30_dep_org.svg | 4 +- en-_u_s_8hpp.xhtml | 2 +- en-_u_s_8hpp_source.xhtml | 2 +- files.xhtml | 24 +- functions.xhtml | 4 +- functions_b.xhtml | 2 +- functions_c.xhtml | 2 +- functions_d.xhtml | 2 +- functions_e.xhtml | 4 +- functions_enum.xhtml | 2 +- functions_f.xhtml | 4 +- functions_func.xhtml | 4 +- functions_func_b.xhtml | 2 +- functions_func_c.xhtml | 2 +- functions_func_d.xhtml | 2 +- functions_func_e.xhtml | 4 +- functions_func_f.xhtml | 4 +- functions_func_g.xhtml | 14 +- functions_func_h.xhtml | 2 +- functions_func_i.xhtml | 2 +- functions_func_l.xhtml | 2 +- functions_func_m.xhtml | 2 +- functions_func_n.xhtml | 2 +- functions_func_o.xhtml | 2 +- functions_func_p.xhtml | 2 +- functions_func_r.xhtml | 4 +- functions_func_s.xhtml | 5 +- functions_func_t.xhtml | 4 +- functions_func_u.xhtml | 8 +- functions_func_w.xhtml | 2 +- functions_func_~.xhtml | 2 +- functions_g.xhtml | 14 +- functions_h.xhtml | 2 +- functions_i.xhtml | 2 +- functions_j.xhtml | 2 +- functions_l.xhtml | 6 +- functions_m.xhtml | 2 +- functions_n.xhtml | 4 +- functions_o.xhtml | 2 +- functions_p.xhtml | 2 +- functions_q.xhtml | 2 +- functions_r.xhtml | 4 +- functions_s.xhtml | 7 +- functions_t.xhtml | 6 +- functions_type.xhtml | 2 +- functions_u.xhtml | 10 +- functions_vars.xhtml | 14 +- functions_w.xhtml | 2 +- functions_~.xhtml | 2 +- globals.xhtml | 10 +- globals_8hpp.xhtml | 2 +- globals_8hpp__incl.map | 413 +-- globals_8hpp__incl.md5 | 2 +- globals_8hpp__incl.svg | 2305 ++++++++-------- globals_8hpp__incl_org.svg | 2307 +++++++++-------- globals_8hpp_source.xhtml | 4 +- globals_defs.xhtml | 5 +- globals_enum.xhtml | 2 +- globals_func.xhtml | 6 +- globals_type.xhtml | 2 +- globals_vars.xhtml | 3 +- graph_legend.xhtml | 2 +- hierarchy.xhtml | 2 +- index.xhtml | 2 +- inherits.xhtml | 2 +- it-_i_t_8hpp.xhtml | 2 +- it-_i_t_8hpp_source.xhtml | 2 +- lang_8hpp.xhtml | 2 +- lang_8hpp_source.xhtml | 2 +- main_8cpp.xhtml | 185 +- main_8cpp__incl.map | 401 +-- main_8cpp__incl.md5 | 2 +- main_8cpp__incl.svg | 2225 ++++++++-------- main_8cpp__incl_org.svg | 2227 ++++++++-------- ...fc01d736fe50cf5b977f755b675f11d_cgraph.map | 248 +- ...fc01d736fe50cf5b977f755b675f11d_cgraph.md5 | 2 +- ...fc01d736fe50cf5b977f755b675f11d_cgraph.svg | 1387 +++++----- ...d736fe50cf5b977f755b675f11d_cgraph_org.svg | 1387 +++++----- ...e461d27b9c48d5921c00d521181f12f_cgraph.map | 16 +- ...e461d27b9c48d5921c00d521181f12f_cgraph.md5 | 2 +- ...e461d27b9c48d5921c00d521181f12f_cgraph.svg | 124 +- ...d27b9c48d5921c00d521181f12f_cgraph_org.svg | 67 +- main_8cpp_source.xhtml | 205 +- menudata.js | 4 +- namespacefabomatic.xhtml | 46 +- namespacefabomatic_1_1_board.xhtml | 4 +- ...spacefabomatic_1_1_m_q_t_t_interface.xhtml | 2 +- namespacefabomatic_1_1_tasks.xhtml | 80 +- ...c20f560f5934822d39ba116a16f3ab6_cgraph.map | 4 +- ...c20f560f5934822d39ba116a16f3ab6_cgraph.md5 | 2 +- ...c20f560f5934822d39ba116a16f3ab6_cgraph.svg | 30 +- ...560f5934822d39ba116a16f3ab6_cgraph_org.svg | 30 +- ...20f560f5934822d39ba116a16f3ab6_icgraph.map | 2 +- ...20f560f5934822d39ba116a16f3ab6_icgraph.md5 | 2 +- ...20f560f5934822d39ba116a16f3ab6_icgraph.svg | 6 +- ...60f5934822d39ba116a16f3ab6_icgraph_org.svg | 4 +- ...4a932b189725b84a436888d9da5dc8_icgraph.map | 135 + ...4a932b189725b84a436888d9da5dc8_icgraph.md5 | 1 + ...4a932b189725b84a436888d9da5dc8_icgraph.svg | 1334 ++++++++++ ...2b189725b84a436888d9da5dc8_icgraph_org.svg | 1252 +++++++++ namespacefabomatic_1_1card.xhtml | 86 +- ...091ec171625c69f9d4eab20ebaefec_icgraph.map | 2 +- ...091ec171625c69f9d4eab20ebaefec_icgraph.md5 | 2 +- ...091ec171625c69f9d4eab20ebaefec_icgraph.svg | 2 +- ...c171625c69f9d4eab20ebaefec_icgraph_org.svg | 2 +- namespacefabomatic_1_1conf.xhtml | 2 +- namespacefabomatic_1_1conf_1_1buzzer.xhtml | 2 +- namespacefabomatic_1_1conf_1_1cards.xhtml | 2 +- namespacefabomatic_1_1conf_1_1common.xhtml | 2 +- namespacefabomatic_1_1conf_1_1debug.xhtml | 6 +- ...fabomatic_1_1conf_1_1default__config.xhtml | 10 +- namespacefabomatic_1_1conf_1_1lcd.xhtml | 4 +- namespacefabomatic_1_1conf_1_1machine.xhtml | 10 +- namespacefabomatic_1_1conf_1_1mqtt.xhtml | 8 +- ...spacefabomatic_1_1conf_1_1rfid__tags.xhtml | 6 +- namespacefabomatic_1_1conf_1_1tasks.xhtml | 2 +- namespacefabomatic_1_1esp32.xhtml | 16 +- namespacefabomatic_1_1secrets.xhtml | 2 +- namespacefabomatic_1_1secrets_1_1cards.xhtml | 2 +- ...efabomatic_1_1secrets_1_1credentials.xhtml | 2 +- namespacefabomatic_1_1strings.xhtml | 2 +- ...pacefabomatic_1_1strings_1_1en___u_s.xhtml | 2 +- ...pacefabomatic_1_1strings_1_1it___i_t.xhtml | 2 +- namespacefabomatic_1_1tests.xhtml | 1133 ++++---- ...af84220af96359f7802e901c747d6c2_cgraph.map | 7 - ...af84220af96359f7802e901c747d6c2_cgraph.md5 | 1 - ...af84220af96359f7802e901c747d6c2_cgraph.svg | 84 - ...220af96359f7802e901c747d6c2_cgraph_org.svg | 59 - ...600320f41c9fa343c66058ecb12b5ee_cgraph.map | 279 +- ...600320f41c9fa343c66058ecb12b5ee_cgraph.md5 | 2 +- ...600320f41c9fa343c66058ecb12b5ee_cgraph.svg | 1586 +++++------ ...20f41c9fa343c66058ecb12b5ee_cgraph_org.svg | 1584 +++++------ ...00320f41c9fa343c66058ecb12b5ee_icgraph.svg | 2 +- ...94b4767ecf1e1d11cc31dafb2541d23_cgraph.map | 278 +- ...94b4767ecf1e1d11cc31dafb2541d23_cgraph.md5 | 2 +- ...94b4767ecf1e1d11cc31dafb2541d23_cgraph.svg | 1481 +++++------ ...767ecf1e1d11cc31dafb2541d23_cgraph_org.svg | 1479 +++++------ ...37b3023f617a6c0c675e6484f85ba50_cgraph.map | 5 + ...37b3023f617a6c0c675e6484f85ba50_cgraph.md5 | 1 + ...37b3023f617a6c0c675e6484f85ba50_cgraph.svg | 65 + ...023f617a6c0c675e6484f85ba50_cgraph_org.svg | 40 + ...38b9060c27d36e89506199205b342cb_cgraph.map | 102 +- ...38b9060c27d36e89506199205b342cb_cgraph.md5 | 2 +- ...38b9060c27d36e89506199205b342cb_cgraph.svg | 402 +-- ...060c27d36e89506199205b342cb_cgraph_org.svg | 404 +-- ...bfe59139821e4fd59963629dc052483_cgraph.map | 33 +- ...bfe59139821e4fd59963629dc052483_cgraph.md5 | 2 +- ...bfe59139821e4fd59963629dc052483_cgraph.svg | 177 +- ...9139821e4fd59963629dc052483_cgraph_org.svg | 177 +- ...58e2287db01a4622581246a19dac397_cgraph.map | 255 +- ...58e2287db01a4622581246a19dac397_cgraph.md5 | 2 +- ...58e2287db01a4622581246a19dac397_cgraph.svg | 1466 ++++++----- ...287db01a4622581246a19dac397_cgraph_org.svg | 1466 ++++++----- ...90a5ef67d3ca76c79c4eeeb8fb9b90_icgraph.map | 5 + ...90a5ef67d3ca76c79c4eeeb8fb9b90_icgraph.md5 | 1 + ...90a5ef67d3ca76c79c4eeeb8fb9b90_icgraph.svg | 65 + ...ef67d3ca76c79c4eeeb8fb9b90_icgraph_org.svg | 40 + ...a7645a865dc822746f972ea6f43224d_cgraph.map | 277 +- ...a7645a865dc822746f972ea6f43224d_cgraph.md5 | 2 +- ...a7645a865dc822746f972ea6f43224d_cgraph.svg | 1516 +++++------ ...5a865dc822746f972ea6f43224d_cgraph_org.svg | 1516 +++++------ ...f3dff17fd964aba76c35c514957a0a5_cgraph.map | 275 +- ...f3dff17fd964aba76c35c514957a0a5_cgraph.md5 | 2 +- ...f3dff17fd964aba76c35c514957a0a5_cgraph.svg | 1456 ++++++----- ...f17fd964aba76c35c514957a0a5_cgraph_org.svg | 1456 ++++++----- ...cd22311b16fc7c256a30ba4c2f6f387_cgraph.map | 154 +- ...cd22311b16fc7c256a30ba4c2f6f387_cgraph.md5 | 2 +- ...cd22311b16fc7c256a30ba4c2f6f387_cgraph.svg | 866 ++++--- ...311b16fc7c256a30ba4c2f6f387_cgraph_org.svg | 864 +++--- ...8a4242d48bfa4a0337df522d303c367_cgraph.map | 166 +- ...8a4242d48bfa4a0337df522d303c367_cgraph.md5 | 2 +- ...8a4242d48bfa4a0337df522d303c367_cgraph.svg | 822 +++--- ...42d48bfa4a0337df522d303c367_cgraph_org.svg | 820 +++--- ...5c3d2a5cfa25e610ac054894d766f73_cgraph.map | 42 +- ...5c3d2a5cfa25e610ac054894d766f73_cgraph.md5 | 2 +- ...5c3d2a5cfa25e610ac054894d766f73_cgraph.svg | 172 +- ...2a5cfa25e610ac054894d766f73_cgraph_org.svg | 174 +- ...a34631c2dc01cbdbbce146895c94e12_cgraph.map | 279 +- ...a34631c2dc01cbdbbce146895c94e12_cgraph.md5 | 2 +- ...a34631c2dc01cbdbbce146895c94e12_cgraph.svg | 1470 ++++++----- ...31c2dc01cbdbbce146895c94e12_cgraph_org.svg | 1470 ++++++----- ...bbef7cf45ab43901130143647b0f495_cgraph.map | 2 +- ...bbef7cf45ab43901130143647b0f495_cgraph.md5 | 2 +- ...bbef7cf45ab43901130143647b0f495_cgraph.svg | 2 +- ...7cf45ab43901130143647b0f495_cgraph_org.svg | 2 +- ...b0f4e1439b281ffef8be51db9a81f9d_cgraph.map | 285 +- ...b0f4e1439b281ffef8be51db9a81f9d_cgraph.md5 | 2 +- ...b0f4e1439b281ffef8be51db9a81f9d_cgraph.svg | 1638 ++++++------ ...e1439b281ffef8be51db9a81f9d_cgraph_org.svg | 1636 ++++++------ ...a7f55ee91c2d2a647fca6c8cc106c97_cgraph.map | 73 +- ...a7f55ee91c2d2a647fca6c8cc106c97_cgraph.md5 | 2 +- ...a7f55ee91c2d2a647fca6c8cc106c97_cgraph.svg | 369 +-- ...5ee91c2d2a647fca6c8cc106c97_cgraph_org.svg | 369 +-- ...1005faec6496778a7981b3695005b4e_cgraph.map | 14 +- ...1005faec6496778a7981b3695005b4e_cgraph.md5 | 2 +- ...1005faec6496778a7981b3695005b4e_cgraph.svg | 60 +- ...faec6496778a7981b3695005b4e_cgraph_org.svg | 60 +- ...f323d841fd7207901e373cdc073d4af_cgraph.map | 40 +- ...f323d841fd7207901e373cdc073d4af_cgraph.md5 | 2 +- ...f323d841fd7207901e373cdc073d4af_cgraph.svg | 169 +- ...d841fd7207901e373cdc073d4af_cgraph_org.svg | 169 +- ...4bd9063425820acc6c488119d90d22a_cgraph.map | 2 +- ...4bd9063425820acc6c488119d90d22a_cgraph.md5 | 2 +- ...4bd9063425820acc6c488119d90d22a_cgraph.svg | 2 +- ...063425820acc6c488119d90d22a_cgraph_org.svg | 2 +- ...bd9063425820acc6c488119d90d22a_icgraph.map | 12 +- ...bd9063425820acc6c488119d90d22a_icgraph.md5 | 2 +- ...bd9063425820acc6c488119d90d22a_icgraph.svg | 72 +- ...63425820acc6c488119d90d22a_icgraph_org.svg | 72 +- ...b3e51f6d2841cd2869df4c0629f694d_cgraph.map | 26 +- ...b3e51f6d2841cd2869df4c0629f694d_cgraph.md5 | 2 +- ...b3e51f6d2841cd2869df4c0629f694d_cgraph.svg | 108 +- ...1f6d2841cd2869df4c0629f694d_cgraph_org.svg | 110 +- ...c03a7ee459718d314b930fdd75d3cee_cgraph.map | 183 +- ...c03a7ee459718d314b930fdd75d3cee_cgraph.md5 | 2 +- ...c03a7ee459718d314b930fdd75d3cee_cgraph.svg | 996 +++---- ...7ee459718d314b930fdd75d3cee_cgraph_org.svg | 996 +++---- ...8fa7ace86309b5f699540d8898660c7_cgraph.map | 263 +- ...8fa7ace86309b5f699540d8898660c7_cgraph.md5 | 2 +- ...8fa7ace86309b5f699540d8898660c7_cgraph.svg | 1428 +++++----- ...ace86309b5f699540d8898660c7_cgraph_org.svg | 1428 +++++----- ...a92fef9250d918ee02c79dbf2de2546_cgraph.map | 281 +- ...a92fef9250d918ee02c79dbf2de2546_cgraph.md5 | 2 +- ...a92fef9250d918ee02c79dbf2de2546_cgraph.svg | 1514 +++++------ ...ef9250d918ee02c79dbf2de2546_cgraph_org.svg | 1512 +++++------ ...c7ad2690e92eb8ab98b6fadaa4df2bd_cgraph.map | 122 +- ...c7ad2690e92eb8ab98b6fadaa4df2bd_cgraph.md5 | 2 +- ...c7ad2690e92eb8ab98b6fadaa4df2bd_cgraph.svg | 728 +++--- ...2690e92eb8ab98b6fadaa4df2bd_cgraph_org.svg | 728 +++--- ...e5c190499522bddad3f3cc69274f16c_cgraph.map | 278 +- ...e5c190499522bddad3f3cc69274f16c_cgraph.md5 | 2 +- ...e5c190499522bddad3f3cc69274f16c_cgraph.svg | 1477 +++++------ ...90499522bddad3f3cc69274f16c_cgraph_org.svg | 1477 +++++------ ...25d1f233a2f797801a9a659c5044cb7_cgraph.map | 74 +- ...25d1f233a2f797801a9a659c5044cb7_cgraph.md5 | 2 +- ...25d1f233a2f797801a9a659c5044cb7_cgraph.svg | 286 +- ...f233a2f797801a9a659c5044cb7_cgraph_org.svg | 286 +- ...3440db527e478f13eaa71bbd46120c3_cgraph.map | 76 +- ...3440db527e478f13eaa71bbd46120c3_cgraph.md5 | 2 +- ...3440db527e478f13eaa71bbd46120c3_cgraph.svg | 328 +-- ...db527e478f13eaa71bbd46120c3_cgraph_org.svg | 328 +-- ...374c0d1cef777c26dc13b4abc9c52b6_cgraph.map | 98 +- ...374c0d1cef777c26dc13b4abc9c52b6_cgraph.md5 | 2 +- ...374c0d1cef777c26dc13b4abc9c52b6_cgraph.svg | 448 ++-- ...0d1cef777c26dc13b4abc9c52b6_cgraph_org.svg | 448 ++-- ...6a02975f3cc660ebccdde8f217aa035_cgraph.map | 84 +- ...6a02975f3cc660ebccdde8f217aa035_cgraph.md5 | 2 +- ...6a02975f3cc660ebccdde8f217aa035_cgraph.svg | 416 +-- ...975f3cc660ebccdde8f217aa035_cgraph_org.svg | 416 +-- ...bb86caf0357ce1dd9ffe2945dcfc6e4_cgraph.map | 14 +- ...bb86caf0357ce1dd9ffe2945dcfc6e4_cgraph.md5 | 2 +- ...bb86caf0357ce1dd9ffe2945dcfc6e4_cgraph.svg | 129 +- ...caf0357ce1dd9ffe2945dcfc6e4_cgraph_org.svg | 70 +- ...56f9324b5710d12bea42757af0289f2_cgraph.map | 6 +- ...56f9324b5710d12bea42757af0289f2_cgraph.md5 | 2 +- ...56f9324b5710d12bea42757af0289f2_cgraph.svg | 97 +- ...324b5710d12bea42757af0289f2_cgraph_org.svg | 38 +- ...a30fd4002cc95e50c035f2d3dcdb44d_cgraph.map | 68 +- ...a30fd4002cc95e50c035f2d3dcdb44d_cgraph.md5 | 2 +- ...a30fd4002cc95e50c035f2d3dcdb44d_cgraph.svg | 278 +- ...d4002cc95e50c035f2d3dcdb44d_cgraph_org.svg | 278 +- ...7de89faffd3bb8805727b8a1092a198_cgraph.map | 168 +- ...7de89faffd3bb8805727b8a1092a198_cgraph.md5 | 2 +- ...7de89faffd3bb8805727b8a1092a198_cgraph.svg | 658 ++--- ...9faffd3bb8805727b8a1092a198_cgraph_org.svg | 658 ++--- ...8ee1c3cd4edf1a1ba27899da63b611a_cgraph.map | 111 +- ...8ee1c3cd4edf1a1ba27899da63b611a_cgraph.md5 | 2 +- ...8ee1c3cd4edf1a1ba27899da63b611a_cgraph.svg | 613 +++-- ...c3cd4edf1a1ba27899da63b611a_cgraph_org.svg | 613 +++-- namespacemembers.xhtml | 6 +- namespacemembers_b.xhtml | 85 + namespacemembers_c.xhtml | 2 +- namespacemembers_d.xhtml | 2 +- namespacemembers_e.xhtml | 4 +- namespacemembers_enum.xhtml | 2 +- namespacemembers_f.xhtml | 2 +- namespacemembers_func.xhtml | 8 +- namespacemembers_g.xhtml | 2 +- namespacemembers_h.xhtml | 2 +- namespacemembers_i.xhtml | 2 +- namespacemembers_l.xhtml | 2 +- namespacemembers_m.xhtml | 2 +- namespacemembers_n.xhtml | 2 +- namespacemembers_o.xhtml | 2 +- namespacemembers_p.xhtml | 2 +- namespacemembers_r.xhtml | 2 +- namespacemembers_s.xhtml | 4 +- namespacemembers_t.xhtml | 6 +- namespacemembers_type.xhtml | 7 +- namespacemembers_u.xhtml | 2 +- namespacemembers_vars.xhtml | 4 +- namespacemembers_w.xhtml | 2 +- namespaces.xhtml | 2 +- pins_8hpp.xhtml | 2 +- pins_8hpp_source.xhtml | 2 +- search/all_0.js | 23 +- search/all_10.js | 2 +- search/all_11.js | 26 +- search/all_12.js | 140 +- search/all_13.js | 12 +- search/all_4.js | 2 +- search/all_5.js | 2 +- search/all_6.js | 12 +- search/all_8.js | 2 +- search/all_a.js | 33 +- search/all_c.js | 2 +- search/defines_2.js | 2 +- search/defines_3.js | 4 + search/files_d.js | 13 +- search/functions_0.js | 7 +- search/functions_10.js | 39 +- search/functions_11.js | 6 +- search/functions_4.js | 2 +- search/functions_5.js | 2 +- search/functions_6.js | 12 +- search/functions_9.js | 2 +- search/functions_e.js | 2 +- search/functions_f.js | 73 +- search/searchdata.js | 2 +- search/typedefs_3.js | 2 +- search/typedefs_4.js | 3 +- search/variables_11.js | 2 +- search/variables_12.js | 21 +- search/variables_13.js | 2 +- search/variables_4.js | 2 +- search/variables_a.js | 4 +- search/variables_c.js | 2 +- secrets_8hpp.xhtml | 2 +- secrets_8hpp_8example.xhtml | 2 +- secrets_8hpp_8example_source.xhtml | 2 +- secrets_8hpp__incl.map | 100 +- secrets_8hpp__incl.md5 | 2 +- secrets_8hpp__incl.svg | 272 +- secrets_8hpp__incl_org.svg | 274 +- secrets_8hpp_source.xhtml | 2 +- struct_machine_i_d-members.xhtml | 2 +- struct_machine_i_d.xhtml | 2 +- structfabomatic_1_1_board_info-members.xhtml | 2 +- structfabomatic_1_1_board_info.xhtml | 2 +- ...ctfabomatic_1_1_buffered_msg-members.xhtml | 2 +- structfabomatic_1_1_buffered_msg.xhtml | 2 +- structfabomatic_1_1_cached_card-members.xhtml | 2 +- structfabomatic_1_1_cached_card.xhtml | 22 +- ...ctfabomatic_1_1_cached_cards-members.xhtml | 4 +- structfabomatic_1_1_cached_cards.xhtml | 94 +- ...8c3db6758b1e630855e673a44c585f_icgraph.map | 2 +- ...8c3db6758b1e630855e673a44c585f_icgraph.md5 | 2 +- ...8c3db6758b1e630855e673a44c585f_icgraph.svg | 2 +- ...b6758b1e630855e673a44c585f_icgraph_org.svg | 2 +- ...802081604574a8a905b5f98e80746b_icgraph.map | 2 +- ...802081604574a8a905b5f98e80746b_icgraph.md5 | 2 +- ...802081604574a8a905b5f98e80746b_icgraph.svg | 2 +- ...81604574a8a905b5f98e80746b_icgraph_org.svg | 2 +- structfabomatic_1_1_fab_user-members.xhtml | 2 +- structfabomatic_1_1_fab_user.xhtml | 16 +- ...fabomatic_1_1_machine_config-members.xhtml | 2 +- structfabomatic_1_1_machine_config.xhtml | 2 +- ...mock_m_q_t_t_broker_1_1query-members.xhtml | 2 +- ...tic_1_1_mock_m_q_t_t_broker_1_1query.xhtml | 2 +- ..._mock_mrfc522_1_1_uid_driver-members.xhtml | 2 +- ...atic_1_1_mock_mrfc522_1_1_uid_driver.xhtml | 4 +- ...rfc522_driver_1_1_uid_driver-members.xhtml | 2 +- ...ic_1_1_mrfc522_driver_1_1_uid_driver.xhtml | 2 +- structfabomatic_1_1pins__config-members.xhtml | 2 +- structfabomatic_1_1pins__config.xhtml | 6 +- ...s__config_1_1buttons__config-members.xhtml | 2 +- ...c_1_1pins__config_1_1buttons__config.xhtml | 2 +- ...ns__config_1_1buzzer__config-members.xhtml | 2 +- ...ic_1_1pins__config_1_1buzzer__config.xhtml | 4 +- ...1pins__config_1_1lcd__config-members.xhtml | 2 +- ...matic_1_1pins__config_1_1lcd__config.xhtml | 2 +- ...1pins__config_1_1led__config-members.xhtml | 2 +- ...matic_1_1pins__config_1_1led__config.xhtml | 2 +- ...s__config_1_1mfrc522__config-members.xhtml | 2 +- ...c_1_1pins__config_1_1mfrc522__config.xhtml | 2 +- ...ins__config_1_1relay__config-members.xhtml | 2 +- ...tic_1_1pins__config_1_1relay__config.xhtml | 2 +- test__chrono_8cpp.xhtml | 249 ++ test__chrono_8cpp__incl.map | 29 + test__chrono_8cpp__incl.md5 | 1 + test__chrono_8cpp__incl.svg | 280 ++ test__chrono_8cpp__incl_org.svg | 255 ++ ...fc01d736fe50cf5b977f755b675f11d_cgraph.map | 5 + ...fc01d736fe50cf5b977f755b675f11d_cgraph.md5 | 1 + ...fc01d736fe50cf5b977f755b675f11d_cgraph.svg | 65 + ...d736fe50cf5b977f755b675f11d_cgraph_org.svg | 40 + test__chrono_8cpp_source.xhtml | 183 ++ test__common_8cpp.xhtml | 3 +- test__common_8cpp__incl.map | 387 +-- test__common_8cpp__incl.md5 | 2 +- test__common_8cpp__incl.svg | 2027 ++++++++------- test__common_8cpp__incl_org.svg | 2029 ++++++++------- test__common_8cpp_source.xhtml | 117 +- test__common_8h.xhtml | 2 +- test__common_8h__incl.map | 379 +-- test__common_8h__incl.md5 | 2 +- test__common_8h__incl.svg | 1941 +++++++------- test__common_8h__incl_org.svg | 1943 +++++++------- test__common_8h_source.xhtml | 8 +- test__logic_8cpp.xhtml | 118 +- test__logic_8cpp__incl.map | 389 +-- test__logic_8cpp__incl.md5 | 2 +- test__logic_8cpp__incl.svg | 2127 +++++++-------- test__logic_8cpp__incl_org.svg | 2129 +++++++-------- ...fc01d736fe50cf5b977f755b675f11d_cgraph.map | 314 +-- ...fc01d736fe50cf5b977f755b675f11d_cgraph.md5 | 2 +- ...fc01d736fe50cf5b977f755b675f11d_cgraph.svg | 1747 +++++++------ ...d736fe50cf5b977f755b675f11d_cgraph_org.svg | 1747 +++++++------ ...5c834d6178047ce9e1bce7cbfea2836_cgraph.map | 34 +- ...5c834d6178047ce9e1bce7cbfea2836_cgraph.md5 | 2 +- ...5c834d6178047ce9e1bce7cbfea2836_cgraph.svg | 126 +- ...4d6178047ce9e1bce7cbfea2836_cgraph_org.svg | 128 +- test__logic_8cpp_source.xhtml | 609 ++--- test__mqtt_8cpp.xhtml | 76 +- test__mqtt_8cpp__incl.map | 391 +-- test__mqtt_8cpp__incl.md5 | 2 +- test__mqtt_8cpp__incl.svg | 2145 +++++++-------- test__mqtt_8cpp__incl_org.svg | 2147 +++++++-------- ...fc01d736fe50cf5b977f755b675f11d_cgraph.map | 247 +- ...fc01d736fe50cf5b977f755b675f11d_cgraph.md5 | 2 +- ...fc01d736fe50cf5b977f755b675f11d_cgraph.svg | 1264 ++++----- ...d736fe50cf5b977f755b675f11d_cgraph_org.svg | 1264 ++++----- test__mqtt_8cpp_source.xhtml | 271 +- test__savedconfig_8cpp.xhtml | 48 +- test__savedconfig_8cpp__incl.map | 365 +-- test__savedconfig_8cpp__incl.md5 | 2 +- test__savedconfig_8cpp__incl.svg | 1615 ++++++------ test__savedconfig_8cpp__incl_org.svg | 1617 ++++++------ ...fc01d736fe50cf5b977f755b675f11d_cgraph.map | 26 +- ...fc01d736fe50cf5b977f755b675f11d_cgraph.md5 | 2 +- ...fc01d736fe50cf5b977f755b675f11d_cgraph.svg | 108 +- ...d736fe50cf5b977f755b675f11d_cgraph_org.svg | 110 +- test__savedconfig_8cpp_source.xhtml | 67 +- test__tasks_8cpp.xhtml | 59 +- test__tasks_8cpp__incl.map | 51 +- test__tasks_8cpp__incl.md5 | 2 +- test__tasks_8cpp__incl.svg | 199 +- test__tasks_8cpp__incl_org.svg | 199 +- ...fc01d736fe50cf5b977f755b675f11d_cgraph.map | 73 +- ...fc01d736fe50cf5b977f755b675f11d_cgraph.md5 | 2 +- ...fc01d736fe50cf5b977f755b675f11d_cgraph.svg | 307 ++- ...d736fe50cf5b977f755b675f11d_cgraph_org.svg | 307 ++- test__tasks_8cpp_source.xhtml | 315 +-- 1061 files changed, 98498 insertions(+), 83645 deletions(-) rename classfabomatic_1_1_auth_provider_a83eb4a5350f9d6ac79f2721b81f6ce5d_cgraph.map => classfabomatic_1_1_auth_provider_a402ef003255e1f0cc0892ef5dae2ac9b_cgraph.map (100%) rename classfabomatic_1_1_auth_provider_a83eb4a5350f9d6ac79f2721b81f6ce5d_cgraph.md5 => classfabomatic_1_1_auth_provider_a402ef003255e1f0cc0892ef5dae2ac9b_cgraph.md5 (100%) rename classfabomatic_1_1_auth_provider_a83eb4a5350f9d6ac79f2721b81f6ce5d_cgraph.svg => classfabomatic_1_1_auth_provider_a402ef003255e1f0cc0892ef5dae2ac9b_cgraph.svg (100%) rename classfabomatic_1_1_auth_provider_a83eb4a5350f9d6ac79f2721b81f6ce5d_cgraph_org.svg => classfabomatic_1_1_auth_provider_a402ef003255e1f0cc0892ef5dae2ac9b_cgraph_org.svg (100%) rename classfabomatic_1_1_auth_provider_a220558f8443c82ecc235fadb5ea44236_cgraph.map => classfabomatic_1_1_auth_provider_a9f07c23e632c8d0d61b9d338c1c3c74b_cgraph.map (100%) rename classfabomatic_1_1_auth_provider_a220558f8443c82ecc235fadb5ea44236_cgraph.md5 => classfabomatic_1_1_auth_provider_a9f07c23e632c8d0d61b9d338c1c3c74b_cgraph.md5 (100%) rename classfabomatic_1_1_auth_provider_a220558f8443c82ecc235fadb5ea44236_cgraph.svg => classfabomatic_1_1_auth_provider_a9f07c23e632c8d0d61b9d338c1c3c74b_cgraph.svg (100%) rename classfabomatic_1_1_auth_provider_a220558f8443c82ecc235fadb5ea44236_cgraph_org.svg => classfabomatic_1_1_auth_provider_a9f07c23e632c8d0d61b9d338c1c3c74b_cgraph_org.svg (100%) create mode 100644 classfabomatic_1_1_machine_a1161d52e85bff96812852f50f53335c9_cgraph.map create mode 100644 classfabomatic_1_1_machine_a1161d52e85bff96812852f50f53335c9_cgraph.md5 create mode 100644 classfabomatic_1_1_machine_a1161d52e85bff96812852f50f53335c9_cgraph.svg create mode 100644 classfabomatic_1_1_machine_a1161d52e85bff96812852f50f53335c9_cgraph_org.svg create mode 100644 classfabomatic_1_1_machine_a86cd6dfd9fefa7221a49cc07c78fc851_cgraph.map create mode 100644 classfabomatic_1_1_machine_a86cd6dfd9fefa7221a49cc07c78fc851_cgraph.md5 create mode 100644 classfabomatic_1_1_machine_a86cd6dfd9fefa7221a49cc07c78fc851_cgraph.svg create mode 100644 classfabomatic_1_1_machine_a86cd6dfd9fefa7221a49cc07c78fc851_cgraph_org.svg create mode 100644 classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_cgraph.map create mode 100644 classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_cgraph.md5 create mode 100644 classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_cgraph.svg create mode 100644 classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_cgraph_org.svg create mode 100644 classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_cgraph.map create mode 100644 classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_cgraph.md5 create mode 100644 classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_cgraph.svg create mode 100644 classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_cgraph_org.svg create mode 100644 classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_cgraph.map create mode 100644 classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_cgraph.md5 create mode 100644 classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_cgraph.svg create mode 100644 classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_cgraph_org.svg create mode 100644 classfabomatic_1_1_mock_mrfc522_a920d2c5f7680ea063bbb2f103696259a_cgraph.map create mode 100644 classfabomatic_1_1_mock_mrfc522_a920d2c5f7680ea063bbb2f103696259a_cgraph.md5 create mode 100644 classfabomatic_1_1_mock_mrfc522_a920d2c5f7680ea063bbb2f103696259a_cgraph.svg create mode 100644 classfabomatic_1_1_mock_mrfc522_a920d2c5f7680ea063bbb2f103696259a_cgraph_org.svg create mode 100644 classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_cgraph.map create mode 100644 classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_cgraph.md5 create mode 100644 classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_cgraph.svg create mode 100644 classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_cgraph_org.svg delete mode 100644 classfabomatic_1_1_tasks_1_1_scheduler_a0619cf06b6427ba332296ffcceffcb8c_icgraph.map delete mode 100644 classfabomatic_1_1_tasks_1_1_scheduler_a0619cf06b6427ba332296ffcceffcb8c_icgraph.md5 delete mode 100644 classfabomatic_1_1_tasks_1_1_scheduler_a0619cf06b6427ba332296ffcceffcb8c_icgraph.svg delete mode 100644 classfabomatic_1_1_tasks_1_1_scheduler_a0619cf06b6427ba332296ffcceffcb8c_icgraph_org.svg rename classfabomatic_1_1_tasks_1_1_scheduler_ae901e3dad5251398494fbdd7ffc2cbeb_icgraph.map => classfabomatic_1_1_tasks_1_1_scheduler_a701e971506199db303a90f2515dd6169_icgraph.map (83%) create mode 100644 classfabomatic_1_1_tasks_1_1_scheduler_a701e971506199db303a90f2515dd6169_icgraph.md5 rename classfabomatic_1_1_tasks_1_1_scheduler_ae901e3dad5251398494fbdd7ffc2cbeb_icgraph.svg => classfabomatic_1_1_tasks_1_1_scheduler_a701e971506199db303a90f2515dd6169_icgraph.svg (97%) rename classfabomatic_1_1_tasks_1_1_scheduler_ae901e3dad5251398494fbdd7ffc2cbeb_icgraph_org.svg => classfabomatic_1_1_tasks_1_1_scheduler_a701e971506199db303a90f2515dd6169_icgraph_org.svg (97%) delete mode 100644 classfabomatic_1_1_tasks_1_1_scheduler_a83cf39f760eb3248ceb7a4d805af198d_cgraph.map delete mode 100644 classfabomatic_1_1_tasks_1_1_scheduler_a83cf39f760eb3248ceb7a4d805af198d_cgraph.md5 delete mode 100644 classfabomatic_1_1_tasks_1_1_scheduler_a83cf39f760eb3248ceb7a4d805af198d_cgraph_org.svg rename classfabomatic_1_1_tasks_1_1_scheduler_a36f6c3f66951bd53e6873459bed0b76e_icgraph.map => classfabomatic_1_1_tasks_1_1_scheduler_a8d19a5ae935d924c4c145ed07721e5db_icgraph.map (100%) rename classfabomatic_1_1_tasks_1_1_scheduler_a36f6c3f66951bd53e6873459bed0b76e_icgraph.md5 => classfabomatic_1_1_tasks_1_1_scheduler_a8d19a5ae935d924c4c145ed07721e5db_icgraph.md5 (100%) rename classfabomatic_1_1_tasks_1_1_scheduler_a36f6c3f66951bd53e6873459bed0b76e_icgraph.svg => classfabomatic_1_1_tasks_1_1_scheduler_a8d19a5ae935d924c4c145ed07721e5db_icgraph.svg (100%) rename classfabomatic_1_1_tasks_1_1_scheduler_a36f6c3f66951bd53e6873459bed0b76e_icgraph_org.svg => classfabomatic_1_1_tasks_1_1_scheduler_a8d19a5ae935d924c4c145ed07721e5db_icgraph_org.svg (100%) rename classfabomatic_1_1_tasks_1_1_scheduler_afd558ef77dc2922dca6f3e332fd147c4_icgraph.map => classfabomatic_1_1_tasks_1_1_scheduler_ae1280eccd0bc57ff7fbc92ab54b54769_icgraph.map (69%) create mode 100644 classfabomatic_1_1_tasks_1_1_scheduler_ae1280eccd0bc57ff7fbc92ab54b54769_icgraph.md5 rename classfabomatic_1_1_tasks_1_1_scheduler_afd558ef77dc2922dca6f3e332fd147c4_icgraph.svg => classfabomatic_1_1_tasks_1_1_scheduler_ae1280eccd0bc57ff7fbc92ab54b54769_icgraph.svg (63%) create mode 100644 classfabomatic_1_1_tasks_1_1_scheduler_ae1280eccd0bc57ff7fbc92ab54b54769_icgraph_org.svg delete mode 100644 classfabomatic_1_1_tasks_1_1_scheduler_ae901e3dad5251398494fbdd7ffc2cbeb_icgraph.md5 delete mode 100644 classfabomatic_1_1_tasks_1_1_scheduler_afd558ef77dc2922dca6f3e332fd147c4_icgraph.md5 delete mode 100644 classfabomatic_1_1_tasks_1_1_scheduler_afd558ef77dc2922dca6f3e332fd147c4_icgraph_org.svg create mode 100644 classfabomatic_1_1_tasks_1_1_scheduler_aff9b0c44cc0bef222932a681ace0d406_cgraph.map create mode 100644 classfabomatic_1_1_tasks_1_1_scheduler_aff9b0c44cc0bef222932a681ace0d406_cgraph.md5 rename classfabomatic_1_1_tasks_1_1_scheduler_a83cf39f760eb3248ceb7a4d805af198d_cgraph.svg => classfabomatic_1_1_tasks_1_1_scheduler_aff9b0c44cc0bef222932a681ace0d406_cgraph.svg (51%) create mode 100644 classfabomatic_1_1_tasks_1_1_scheduler_aff9b0c44cc0bef222932a681ace0d406_cgraph_org.svg rename classfabomatic_1_1_tasks_1_1_scheduler_a83cf39f760eb3248ceb7a4d805af198d_icgraph.map => classfabomatic_1_1_tasks_1_1_scheduler_aff9b0c44cc0bef222932a681ace0d406_icgraph.map (100%) rename classfabomatic_1_1_tasks_1_1_scheduler_a83cf39f760eb3248ceb7a4d805af198d_icgraph.md5 => classfabomatic_1_1_tasks_1_1_scheduler_aff9b0c44cc0bef222932a681ace0d406_icgraph.md5 (100%) rename classfabomatic_1_1_tasks_1_1_scheduler_a83cf39f760eb3248ceb7a4d805af198d_icgraph.svg => classfabomatic_1_1_tasks_1_1_scheduler_aff9b0c44cc0bef222932a681ace0d406_icgraph.svg (100%) rename classfabomatic_1_1_tasks_1_1_scheduler_a83cf39f760eb3248ceb7a4d805af198d_icgraph_org.svg => classfabomatic_1_1_tasks_1_1_scheduler_aff9b0c44cc0bef222932a681ace0d406_icgraph_org.svg (100%) create mode 100644 classfabomatic_1_1_tasks_1_1_task_a99da0e6d8fe7677e0faaab98995353ba_icgraph.map create mode 100644 classfabomatic_1_1_tasks_1_1_task_a99da0e6d8fe7677e0faaab98995353ba_icgraph.md5 create mode 100644 classfabomatic_1_1_tasks_1_1_task_a99da0e6d8fe7677e0faaab98995353ba_icgraph.svg create mode 100644 classfabomatic_1_1_tasks_1_1_task_a99da0e6d8fe7677e0faaab98995353ba_icgraph_org.svg create mode 100644 classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_cgraph.map create mode 100644 classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_cgraph.md5 create mode 100644 classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_cgraph.svg create mode 100644 classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_cgraph_org.svg create mode 100644 classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_icgraph.map create mode 100644 classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_icgraph.md5 create mode 100644 classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_icgraph.svg create mode 100644 classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_icgraph_org.svg create mode 100644 classfabomatic_1_1_tasks_1_1_task_ac63191a702c898cda8af1ce8316bfb94_cgraph.map create mode 100644 classfabomatic_1_1_tasks_1_1_task_ac63191a702c898cda8af1ce8316bfb94_cgraph.md5 create mode 100644 classfabomatic_1_1_tasks_1_1_task_ac63191a702c898cda8af1ce8316bfb94_cgraph.svg create mode 100644 classfabomatic_1_1_tasks_1_1_task_ac63191a702c898cda8af1ce8316bfb94_cgraph_org.svg rename dir_000007_000000.xhtml => dir_000009_000000.xhtml (80%) create mode 100644 dir_000011_000001.xhtml create mode 100644 dir_ca44dfdffa4b3c6958d92d9df741e3e1.xhtml create mode 100644 dir_ca44dfdffa4b3c6958d92d9df741e3e1_dep.map create mode 100644 dir_ca44dfdffa4b3c6958d92d9df741e3e1_dep.md5 create mode 100644 dir_ca44dfdffa4b3c6958d92d9df741e3e1_dep.svg create mode 100644 dir_ca44dfdffa4b3c6958d92d9df741e3e1_dep_org.svg create mode 100644 namespacefabomatic_1_1_tasks_aad4a932b189725b84a436888d9da5dc8_icgraph.map create mode 100644 namespacefabomatic_1_1_tasks_aad4a932b189725b84a436888d9da5dc8_icgraph.md5 create mode 100644 namespacefabomatic_1_1_tasks_aad4a932b189725b84a436888d9da5dc8_icgraph.svg create mode 100644 namespacefabomatic_1_1_tasks_aad4a932b189725b84a436888d9da5dc8_icgraph_org.svg delete mode 100644 namespacefabomatic_1_1tests_a0af84220af96359f7802e901c747d6c2_cgraph.map delete mode 100644 namespacefabomatic_1_1tests_a0af84220af96359f7802e901c747d6c2_cgraph.md5 delete mode 100644 namespacefabomatic_1_1tests_a0af84220af96359f7802e901c747d6c2_cgraph.svg delete mode 100644 namespacefabomatic_1_1tests_a0af84220af96359f7802e901c747d6c2_cgraph_org.svg create mode 100644 namespacefabomatic_1_1tests_a437b3023f617a6c0c675e6484f85ba50_cgraph.map create mode 100644 namespacefabomatic_1_1tests_a437b3023f617a6c0c675e6484f85ba50_cgraph.md5 create mode 100644 namespacefabomatic_1_1tests_a437b3023f617a6c0c675e6484f85ba50_cgraph.svg create mode 100644 namespacefabomatic_1_1tests_a437b3023f617a6c0c675e6484f85ba50_cgraph_org.svg create mode 100644 namespacefabomatic_1_1tests_a5690a5ef67d3ca76c79c4eeeb8fb9b90_icgraph.map create mode 100644 namespacefabomatic_1_1tests_a5690a5ef67d3ca76c79c4eeeb8fb9b90_icgraph.md5 create mode 100644 namespacefabomatic_1_1tests_a5690a5ef67d3ca76c79c4eeeb8fb9b90_icgraph.svg create mode 100644 namespacefabomatic_1_1tests_a5690a5ef67d3ca76c79c4eeeb8fb9b90_icgraph_org.svg create mode 100644 namespacemembers_b.xhtml create mode 100644 search/defines_3.js create mode 100644 test__chrono_8cpp.xhtml create mode 100644 test__chrono_8cpp__incl.map create mode 100644 test__chrono_8cpp__incl.md5 create mode 100644 test__chrono_8cpp__incl.svg create mode 100644 test__chrono_8cpp__incl_org.svg create mode 100644 test__chrono_8cpp_a4fc01d736fe50cf5b977f755b675f11d_cgraph.map create mode 100644 test__chrono_8cpp_a4fc01d736fe50cf5b977f755b675f11d_cgraph.md5 create mode 100644 test__chrono_8cpp_a4fc01d736fe50cf5b977f755b675f11d_cgraph.svg create mode 100644 test__chrono_8cpp_a4fc01d736fe50cf5b977f755b675f11d_cgraph_org.svg create mode 100644 test__chrono_8cpp_source.xhtml diff --git a/_auth_provider_8cpp.xhtml b/_auth_provider_8cpp.xhtml index 210f37ee..d57f791b 100644 --- a/_auth_provider_8cpp.xhtml +++ b/_auth_provider_8cpp.xhtml @@ -110,7 +110,7 @@ Variables diff --git a/_auth_provider_8cpp__incl.map b/_auth_provider_8cpp__incl.map index 0c562b3e..b0b37083 100644 --- a/_auth_provider_8cpp__incl.map +++ b/_auth_provider_8cpp__incl.map @@ -1,144 +1,149 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_auth_provider_8cpp__incl.md5 b/_auth_provider_8cpp__incl.md5 index bfff59c8..9b2de99a 100644 --- a/_auth_provider_8cpp__incl.md5 +++ b/_auth_provider_8cpp__incl.md5 @@ -1 +1 @@ -bcc39748702dca77c685c071254c086f \ No newline at end of file +7e8ca64502dbbf44ec47996e10019e95 \ No newline at end of file diff --git a/_auth_provider_8cpp__incl.svg b/_auth_provider_8cpp__incl.svg index e35c1727..8468f816 100644 --- a/_auth_provider_8cpp__incl.svg +++ b/_auth_provider_8cpp__incl.svg @@ -46,7 +46,7 @@ @@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -AuthProvider.cpp + +AuthProvider.cpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -AuthProvider.hpp + +AuthProvider.hpp @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,89 +85,89 @@ var sectionId = 'dynsection-0'; Node4 - -string + +string - + Node1->Node4 - - - + + + - - -Node13 - - -cstdint + + +Node14 + + +cstdint - - -Node1->Node13 - - - + + +Node1->Node14 + + + - - -Node16 - - -Logging.hpp + + +Node17 + + +Logging.hpp - - -Node1->Node16 - - - + + +Node1->Node17 + + + - - -Node28 - - -algorithm + + +Node30 + + +algorithm - - -Node1->Node28 - - - + + +Node1->Node30 + + + - - -Node29 - - -FabBackend.hpp + + +Node31 + + +FabBackend.hpp - - -Node1->Node29 - - - + + +Node1->Node31 + + + @@ -175,8 +175,8 @@ var sectionId = 'dynsection-0'; Node3 - -list + +list @@ -184,8 +184,8 @@ var sectionId = 'dynsection-0'; Node2->Node3 - - + + @@ -193,8 +193,8 @@ var sectionId = 'dynsection-0'; Node2->Node4 - - + + @@ -211,8 +211,8 @@ var sectionId = 'dynsection-0'; Node2->Node5 - - + + @@ -229,17 +229,17 @@ var sectionId = 'dynsection-0'; Node2->Node6 - - + + Node7 - - -FabUser.hpp + + +optional @@ -247,737 +247,755 @@ var sectionId = 'dynsection-0'; Node2->Node7 - - + + - - -Node19 - - -secrets.hpp + + +Node8 + + +FabUser.hpp - - -Node2->Node19 - - - + + +Node2->Node8 + + + - - -Node25 - - -WhiteList.hpp + + +Node21 + + +secrets.hpp - - -Node2->Node25 - - - + + +Node2->Node21 + + + Node27 - - -CachedCards.hpp + + +WhiteList.hpp - + Node2->Node27 - - - + + + - - -Node7->Node4 - - - + + +Node29 + + +CachedCards.hpp - - -Node8 - - -Arduino.h + + +Node2->Node29 + + + - - -Node7->Node8 - - - + + +Node8->Node4 + + + Node9 - - -card.hpp + + +Arduino.h - - -Node7->Node9 - - - + + +Node8->Node9 + + + Node10 - - -sstream + + +card.hpp - - -Node7->Node10 - - - + + +Node8->Node10 + + + - - -Node12 - - -conf.hpp + + +Node11 + + +sstream - - -Node7->Node12 - - - + + +Node8->Node11 + + + - - -Node7->Node13 - - - + + +Node13 + + +conf.hpp - - -Node18 - - -array + + +Node8->Node13 + + + - - -Node7->Node18 - - - + + +Node8->Node14 + + + - - -Node9->Node8 - - - + + +Node20 + + +array - - -Node9->Node10 - - - + + +Node8->Node20 + + + - - -Node11 - - -iomanip + + +Node10->Node9 + + + - - -Node9->Node11 - - - + + +Node10->Node11 + + + - - -Node9->Node12 - - - + + +Node12 + + +iomanip - - -Node9->Node16 - - - + + +Node10->Node12 + + + - - -Node12->Node4 - - - + + +Node10->Node13 + + + - - -Node12->Node13 - - - + + +Node10->Node17 + + + - - -Node14 - - -chrono + + +Node19 + + +esp_mac.h + + + + + +Node10->Node19 + + + + + + + + +Node13->Node4 + + + - - -Node12->Node14 - - - + + +Node13->Node14 + + + Node15 - - -MachineID.hpp + + +chrono - - -Node12->Node15 - - - + + +Node13->Node15 + + + - - -Node15->Node13 - - - + + +Node16 + + +MachineID.hpp - - -Node17 - - -esp_log.h + + +Node13->Node16 + + + - - -Node16->Node17 - - - + + +Node16->Node14 + + + - - -Node19->Node5 - - - + + +Node18 + + +esp_log.h - - -Node19->Node7 - - - + + +Node17->Node18 + + + - - -Node19->Node12 - - - + + +Node21->Node5 + + + - - -Node19->Node13 - - - + + +Node21->Node8 + + + - - -Node19->Node18 - - - + + +Node21->Node13 + + + - - -Node20 - - -MachineConfig.hpp + + +Node21->Node14 + + + - - -Node19->Node20 - - - + + +Node21->Node20 + + + - - -Node24 - - -Machine.hpp + + +Node22 + + +MachineConfig.hpp - - -Node19->Node24 - - - + + +Node21->Node22 + + + - - -Node20->Node4 - - - + + +Node26 + + +Machine.hpp - - -Node20->Node12 - - - + + +Node21->Node26 + + + - - -Node20->Node13 - - - + + +Node22->Node4 + + + - - -Node20->Node14 - - - + + +Node22->Node13 + + + - - -Node20->Node15 - - - + + +Node22->Node14 + + + - - -Node21 - - -pins.hpp + + +Node22->Node15 + + + - - -Node20->Node21 - - - + + +Node22->Node16 + + + - - -Node21->Node13 - - - + + +Node23 + + +pins.hpp - - -Node22 - - -Adafruit_NeoPixel.h + + +Node22->Node23 + + + - - -Node21->Node22 - - - + + +Node23->Node14 + + + - - -Node23 - - -PinsConfig.hpp + + +Node24 + + +Adafruit_NeoPixel.h - - -Node21->Node23 - - - + + +Node23->Node24 + + + - - -Node23->Node13 - - - + + +Node25 + + +PinsConfig.hpp - - -Node23->Node18 - - - + + +Node23->Node25 + + + - - -Node24->Node7 - - - + + +Node25->Node14 + + + - - -Node24->Node13 - - - + + +Node25->Node20 + + + - - -Node24->Node14 - - - + + +Node26->Node7 + + + - - -Node24->Node18 - - - + + +Node26->Node8 + + + - - -Node24->Node20 - - - + + +Node26->Node14 + + + - - -Node25->Node5 - - - + + +Node26->Node15 + + + - - -Node25->Node6 - - - + + +Node26->Node20 + + + - - -Node25->Node7 - - - + + +Node26->Node22 + + + - - -Node25->Node12 - - - + + +Node27->Node5 + + + - - -Node25->Node18 - - - + + +Node27->Node6 + + + - - -Node26 - - -unordered_map + + +Node27->Node8 + + + - - -Node25->Node26 - - - + + +Node27->Node13 + + + - - -Node27->Node7 - - - + + +Node27->Node20 + + + - - -Node27->Node9 - - - + + +Node28 + + +unordered_map - - -Node27->Node12 - - - + + +Node27->Node28 + + + - - -Node27->Node18 - - - + + +Node29->Node7 + + + - - -Node29->Node4 - - - + + +Node29->Node8 + + + - - -Node29->Node7 - - - + + +Node29->Node10 + + + - - -Node29->Node12 - - - + + +Node29->Node13 + + + - - -Node29->Node14 - - - + + +Node29->Node20 + + + - - -Node29->Node18 - - - + + +Node31->Node4 + + + - - -Node30 - - -functional + + +Node31->Node8 + + + - - -Node29->Node30 - - - + + +Node31->Node13 + + + - - -Node31 - - -WiFi.h + + +Node31->Node15 + + + - - -Node29->Node31 - - - + + +Node31->Node20 + + + @@ -985,17 +1003,17 @@ var sectionId = 'dynsection-0'; Node32 - -ArduinoJson.h + +functional - - -Node29->Node32 - - - + + +Node31->Node32 + + + @@ -1003,233 +1021,242 @@ var sectionId = 'dynsection-0'; Node33 - -MQTTClient.h + +WiFi.h - - -Node29->Node33 - - - + + +Node31->Node33 + + + Node34 - - -MQTTtypes.hpp + + +ArduinoJson.h - - -Node29->Node34 - - - + + +Node31->Node34 + + + - - -Node36 - - -SavedConfig.hpp + + +Node35 + + +MQTTClient.h - - -Node29->Node36 - - - + + +Node31->Node35 + + + - - -Node40 - - -BufferedMsg.hpp + + +Node36 + + +MQTTtypes.hpp - - -Node29->Node40 - - - + + +Node31->Node36 + + + - - -Node34->Node4 - - - + + +Node38 + + +SavedConfig.hpp - - -Node34->Node5 - - - + + +Node31->Node38 + + + - - -Node34->Node7 - - - + + +Node41 + + +BufferedMsg.hpp - - -Node34->Node9 - - - + + +Node31->Node41 + + + - - -Node34->Node24 - - - + + +Node36->Node4 + + + - - -Node34->Node32 - - - + + +Node36->Node5 + + + - - -Node35 - - -memory + + +Node36->Node8 + + + - - -Node34->Node35 - - - + + +Node36->Node10 + + + - - -Node36->Node4 - - - + + +Node36->Node26 + + + - - -Node36->Node12 - - - + + +Node36->Node34 + + + + + + + + +Node37 + + +memory - - -Node36->Node13 - - - + + +Node36->Node37 + + + - - -Node36->Node20 - - - + + +Node38->Node4 + + + - - -Node36->Node27 - - - + + +Node38->Node7 + + + - - -Node36->Node32 - - - + + +Node38->Node13 + + + - - -Node37 - - -optional + + +Node38->Node14 + + + - - -Node36->Node37 - - - + + +Node38->Node22 + + + - - -Node38 - - -mutex + + +Node38->Node29 + + + - - -Node36->Node38 - - - + + +Node38->Node34 + + + @@ -1237,98 +1264,116 @@ var sectionId = 'dynsection-0'; Node39 - -EEPROM.h + +mutex - - -Node36->Node39 - - - + + +Node38->Node39 + + + - - -Node36->Node40 - - - + + +Node40 + + +EEPROM.h - - -Node40->Node4 - - - + + +Node38->Node40 + + + - - -Node40->Node15 - - - + + +Node38->Node41 + + + - - -Node40->Node32 - - - + + +Node41->Node4 + + + - - -Node40->Node34 - - - + + +Node41->Node7 + + + - - -Node40->Node35 - - - + + +Node41->Node16 + + + - - -Node40->Node37 - - - + + +Node41->Node34 + + + - - -Node41 - - -queue + + +Node41->Node36 + + + + + + + + +Node41->Node37 + + + + + + + + +Node42 + + +queue - - -Node40->Node41 - - - + + +Node41->Node42 + + + diff --git a/_auth_provider_8cpp__incl_org.svg b/_auth_provider_8cpp__incl_org.svg index 92fdf893..8cdac5a1 100644 --- a/_auth_provider_8cpp__incl_org.svg +++ b/_auth_provider_8cpp__incl_org.svg @@ -4,16 +4,16 @@ - + AuthProvider.cpp Node1 - -AuthProvider.cpp + +AuthProvider.cpp @@ -21,8 +21,8 @@ Node2 - -AuthProvider.hpp + +AuthProvider.hpp @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,89 +39,89 @@ Node4 - -string + +string - + Node1->Node4 - - - + + + - - -Node13 - - -cstdint + + +Node14 + + +cstdint - - -Node1->Node13 - - - + + +Node1->Node14 + + + - - -Node16 - - -Logging.hpp + + +Node17 + + +Logging.hpp - - -Node1->Node16 - - - + + +Node1->Node17 + + + - - -Node28 - - -algorithm + + +Node30 + + +algorithm - - -Node1->Node28 - - - + + +Node1->Node30 + + + - - -Node29 - - -FabBackend.hpp + + +Node31 + + +FabBackend.hpp - - -Node1->Node29 - - - + + +Node1->Node31 + + + @@ -129,8 +129,8 @@ Node3 - -list + +list @@ -138,8 +138,8 @@ Node2->Node3 - - + + @@ -147,8 +147,8 @@ Node2->Node4 - - + + @@ -165,8 +165,8 @@ Node2->Node5 - - + + @@ -183,17 +183,17 @@ Node2->Node6 - - + + Node7 - - -FabUser.hpp + + +optional @@ -201,737 +201,755 @@ Node2->Node7 - - + + - - -Node19 - - -secrets.hpp + + +Node8 + + +FabUser.hpp - - -Node2->Node19 - - - + + +Node2->Node8 + + + - - -Node25 - - -WhiteList.hpp + + +Node21 + + +secrets.hpp - - -Node2->Node25 - - - + + +Node2->Node21 + + + Node27 - - -CachedCards.hpp + + +WhiteList.hpp - + Node2->Node27 - - - + + + - - -Node7->Node4 - - - + + +Node29 + + +CachedCards.hpp - - -Node8 - - -Arduino.h + + +Node2->Node29 + + + - - -Node7->Node8 - - - + + +Node8->Node4 + + + Node9 - - -card.hpp + + +Arduino.h - - -Node7->Node9 - - - + + +Node8->Node9 + + + Node10 - - -sstream + + +card.hpp - - -Node7->Node10 - - - + + +Node8->Node10 + + + - - -Node12 - - -conf.hpp + + +Node11 + + +sstream - - -Node7->Node12 - - - + + +Node8->Node11 + + + - - -Node7->Node13 - - - + + +Node13 + + +conf.hpp - - -Node18 - - -array + + +Node8->Node13 + + + - - -Node7->Node18 - - - + + +Node8->Node14 + + + - - -Node9->Node8 - - - + + +Node20 + + +array - - -Node9->Node10 - - - + + +Node8->Node20 + + + - - -Node11 - - -iomanip + + +Node10->Node9 + + + - - -Node9->Node11 - - - + + +Node10->Node11 + + + - - -Node9->Node12 - - - + + +Node12 + + +iomanip - - -Node9->Node16 - - - + + +Node10->Node12 + + + - - -Node12->Node4 - - - + + +Node10->Node13 + + + - - -Node12->Node13 - - - + + +Node10->Node17 + + + - - -Node14 - - -chrono + + +Node19 + + +esp_mac.h + + + + + +Node10->Node19 + + + + + + + + +Node13->Node4 + + + - - -Node12->Node14 - - - + + +Node13->Node14 + + + Node15 - - -MachineID.hpp + + +chrono - - -Node12->Node15 - - - + + +Node13->Node15 + + + - - -Node15->Node13 - - - + + +Node16 + + +MachineID.hpp - - -Node17 - - -esp_log.h + + +Node13->Node16 + + + - - -Node16->Node17 - - - + + +Node16->Node14 + + + - - -Node19->Node5 - - - + + +Node18 + + +esp_log.h - - -Node19->Node7 - - - + + +Node17->Node18 + + + - - -Node19->Node12 - - - + + +Node21->Node5 + + + - - -Node19->Node13 - - - + + +Node21->Node8 + + + - - -Node19->Node18 - - - + + +Node21->Node13 + + + - - -Node20 - - -MachineConfig.hpp + + +Node21->Node14 + + + - - -Node19->Node20 - - - + + +Node21->Node20 + + + - - -Node24 - - -Machine.hpp + + +Node22 + + +MachineConfig.hpp - - -Node19->Node24 - - - + + +Node21->Node22 + + + - - -Node20->Node4 - - - + + +Node26 + + +Machine.hpp - - -Node20->Node12 - - - + + +Node21->Node26 + + + - - -Node20->Node13 - - - + + +Node22->Node4 + + + - - -Node20->Node14 - - - + + +Node22->Node13 + + + - - -Node20->Node15 - - - + + +Node22->Node14 + + + - - -Node21 - - -pins.hpp + + +Node22->Node15 + + + - - -Node20->Node21 - - - + + +Node22->Node16 + + + - - -Node21->Node13 - - - + + +Node23 + + +pins.hpp - - -Node22 - - -Adafruit_NeoPixel.h + + +Node22->Node23 + + + - - -Node21->Node22 - - - + + +Node23->Node14 + + + - - -Node23 - - -PinsConfig.hpp + + +Node24 + + +Adafruit_NeoPixel.h - - -Node21->Node23 - - - + + +Node23->Node24 + + + - - -Node23->Node13 - - - + + +Node25 + + +PinsConfig.hpp - - -Node23->Node18 - - - + + +Node23->Node25 + + + - - -Node24->Node7 - - - + + +Node25->Node14 + + + - - -Node24->Node13 - - - + + +Node25->Node20 + + + - - -Node24->Node14 - - - + + +Node26->Node7 + + + - - -Node24->Node18 - - - + + +Node26->Node8 + + + - - -Node24->Node20 - - - + + +Node26->Node14 + + + - - -Node25->Node5 - - - + + +Node26->Node15 + + + - - -Node25->Node6 - - - + + +Node26->Node20 + + + - - -Node25->Node7 - - - + + +Node26->Node22 + + + - - -Node25->Node12 - - - + + +Node27->Node5 + + + - - -Node25->Node18 - - - + + +Node27->Node6 + + + - - -Node26 - - -unordered_map + + +Node27->Node8 + + + - - -Node25->Node26 - - - + + +Node27->Node13 + + + - - -Node27->Node7 - - - + + +Node27->Node20 + + + - - -Node27->Node9 - - - + + +Node28 + + +unordered_map - - -Node27->Node12 - - - + + +Node27->Node28 + + + - - -Node27->Node18 - - - + + +Node29->Node7 + + + - - -Node29->Node4 - - - + + +Node29->Node8 + + + - - -Node29->Node7 - - - + + +Node29->Node10 + + + - - -Node29->Node12 - - - + + +Node29->Node13 + + + - - -Node29->Node14 - - - + + +Node29->Node20 + + + - - -Node29->Node18 - - - + + +Node31->Node4 + + + - - -Node30 - - -functional + + +Node31->Node8 + + + - - -Node29->Node30 - - - + + +Node31->Node13 + + + - - -Node31 - - -WiFi.h + + +Node31->Node15 + + + - - -Node29->Node31 - - - + + +Node31->Node20 + + + @@ -939,17 +957,17 @@ Node32 - -ArduinoJson.h + +functional - - -Node29->Node32 - - - + + +Node31->Node32 + + + @@ -957,233 +975,242 @@ Node33 - -MQTTClient.h + +WiFi.h - - -Node29->Node33 - - - + + +Node31->Node33 + + + Node34 - - -MQTTtypes.hpp + + +ArduinoJson.h - - -Node29->Node34 - - - + + +Node31->Node34 + + + - - -Node36 - - -SavedConfig.hpp + + +Node35 + + +MQTTClient.h - - -Node29->Node36 - - - + + +Node31->Node35 + + + - - -Node40 - - -BufferedMsg.hpp + + +Node36 + + +MQTTtypes.hpp - - -Node29->Node40 - - - + + +Node31->Node36 + + + - - -Node34->Node4 - - - + + +Node38 + + +SavedConfig.hpp - - -Node34->Node5 - - - + + +Node31->Node38 + + + - - -Node34->Node7 - - - + + +Node41 + + +BufferedMsg.hpp - - -Node34->Node9 - - - + + +Node31->Node41 + + + - - -Node34->Node24 - - - + + +Node36->Node4 + + + - - -Node34->Node32 - - - + + +Node36->Node5 + + + - - -Node35 - - -memory + + +Node36->Node8 + + + - - -Node34->Node35 - - - + + +Node36->Node10 + + + - - -Node36->Node4 - - - + + +Node36->Node26 + + + - - -Node36->Node12 - - - + + +Node36->Node34 + + + + + + + + +Node37 + + +memory - - -Node36->Node13 - - - + + +Node36->Node37 + + + - - -Node36->Node20 - - - + + +Node38->Node4 + + + - - -Node36->Node27 - - - + + +Node38->Node7 + + + - - -Node36->Node32 - - - + + +Node38->Node13 + + + - - -Node37 - - -optional + + +Node38->Node14 + + + - - -Node36->Node37 - - - + + +Node38->Node22 + + + - - -Node38 - - -mutex + + +Node38->Node29 + + + - - -Node36->Node38 - - - + + +Node38->Node34 + + + @@ -1191,98 +1218,116 @@ Node39 - -EEPROM.h + +mutex - - -Node36->Node39 - - - + + +Node38->Node39 + + + - - -Node36->Node40 - - - + + +Node40 + + +EEPROM.h - - -Node40->Node4 - - - + + +Node38->Node40 + + + - - -Node40->Node15 - - - + + +Node38->Node41 + + + - - -Node40->Node32 - - - + + +Node41->Node4 + + + - - -Node40->Node34 - - - + + +Node41->Node7 + + + - - -Node40->Node35 - - - + + +Node41->Node16 + + + - - -Node40->Node37 - - - + + +Node41->Node34 + + + - - -Node41 - - -queue + + +Node41->Node36 + + + + + + + + +Node41->Node37 + + + + + + + + +Node42 + + +queue - - -Node40->Node41 - - - + + +Node41->Node42 + + + diff --git a/_auth_provider_8cpp_source.xhtml b/_auth_provider_8cpp_source.xhtml index 357638a1..7b781d75 100644 --- a/_auth_provider_8cpp_source.xhtml +++ b/_auth_provider_8cpp_source.xhtml @@ -106,7 +106,7 @@ $(document).ready(function() { init_codefold(0); });
18 AuthProvider::AuthProvider(WhiteList list) : whitelist{list}, cache{} {}
19
- +
25 {
26 // Search for the card in the cache
27 const auto pos = std::find(cache.cards.cbegin(), cache.cards.cend(), uid);
@@ -210,7 +210,7 @@ $(document).ready(function() { init_codefold(0); });
127
-
131 auto AuthProvider::uidInWhitelist(card::uid_t candidate_uid) const -> std::optional<WhiteListEntry>
+
131 constexpr auto AuthProvider::uidInWhitelist(card::uid_t candidate_uid) const -> std::optional<WhiteListEntry>
132 {
133 if (candidate_uid == card::INVALID)
134 {
@@ -235,7 +235,7 @@ $(document).ready(function() { init_codefold(0); });
153
-
157 auto AuthProvider::uidInCache(card::uid_t candidate_uid) const -> std::optional<CachedCard>
+
157 constexpr auto AuthProvider::uidInCache(card::uid_t candidate_uid) const -> std::optional<CachedCard>
158 {
159 return cache.find_uid(candidate_uid);
160 }
@@ -285,17 +285,17 @@ $(document).ready(function() { init_codefold(0); }); -
static const char *const TAG
Definition Logging.hpp:6
+
static const char *const TAG
Definition Logging.hpp:9
- -
auto uidInCache(card::uid_t uid) const -> std::optional< CachedCard >
Checks if the card ID is whitelisted.
-
auto uidInWhitelist(card::uid_t uid) const -> std::optional< WhiteListEntry >
Checks if the card ID is whitelisted.
+ +
constexpr auto uidInCache(card::uid_t uid) const -> std::optional< CachedCard >
Checks if the card ID is whitelisted.
+
constexpr auto updateCache(card::uid_t candidate_uid, FabUser::UserLevel level) const -> void
Cache the user request.
auto setWhitelist(WhiteList list) -> void
Sets the whitelist.
-
auto updateCache(card::uid_t candidate_uid, FabUser::UserLevel level) const -> void
Cache the user request.
+
constexpr auto uidInWhitelist(card::uid_t uid) const -> std::optional< WhiteListEntry >
Checks if the card ID is whitelisted.
auto loadCache() -> void
Loads the cache from EEPROM.
auto saveCache() const -> bool
Saves the cache of RFID to EEPROM.
auto tryLogin(card::uid_t uid, FabBackend &server) const -> std::optional< FabUser >
Verifies the card ID against the server (if available) or the whitelist.
- +
This class is used to exchange messages with the MQTT broker and the backend.
auto checkCard(const card::uid_t uid) -> std::unique_ptr< MQTTInterface::UserResponse >
Checks if the card ID is known to the server.
auto connect() -> bool
Establishes a connection to the WiFi network and the MQTT server.
@@ -307,16 +307,16 @@ $(document).ready(function() { init_codefold(0); });
static auto LoadFromEEPROM() -> std::optional< SavedConfig >
Loads the configuration from EEPROM if available and matching revision number.
FabBackend server
UserResult
Result code for user authentication result.
-
static constexpr uid_t INVALID
Definition card.hpp:15
-
u_int64_t uid_t
Definition card.hpp:14
-
auto uid_str(const card::uid_t uid) -> const std::string
Returns a string representation of the UID.
Definition card.hpp:22
+
static constexpr uid_t INVALID
Definition card.hpp:16
+
u_int64_t uid_t
Definition card.hpp:15
+
auto uid_str(const card::uid_t uid) -> const std::string
Returns a string representation of the UID.
Definition card.hpp:23
static constexpr uint8_t CACHE_LEN
Number of cached UID, persisted in flash.
Definition conf.hpp:37
std::array< WhiteListEntry, conf::cards::LEN > WhiteList
Definition WhiteList.hpp:20
-
constexpr auto size() const -> size_t
-
std::array< card::uid_t, conf::rfid_tags::CACHE_LEN > cards
-
std::array< FabUser::UserLevel, conf::rfid_tags::CACHE_LEN > levels
-
constexpr auto set_at(int idx, const card::uid_t &uid, const FabUser::UserLevel &level) -> void
+
constexpr auto size() const -> size_t
+
std::array< card::uid_t, conf::rfid_tags::CACHE_LEN > cards
+
std::array< FabUser::UserLevel, conf::rfid_tags::CACHE_LEN > levels
+
constexpr auto set_at(int idx, const card::uid_t &uid, const FabUser::UserLevel &level) -> void
Represents a user with access level, name, RFID tag, and auth result.
Definition FabUser.hpp:16
UserLevel user_level
Definition FabUser.hpp:28
@@ -328,7 +328,7 @@ $(document).ready(function() { init_codefold(0); });
diff --git a/_auth_provider_8hpp.xhtml b/_auth_provider_8hpp.xhtml index f5521fc7..0d322882 100644 --- a/_auth_provider_8hpp.xhtml +++ b/_auth_provider_8hpp.xhtml @@ -85,6 +85,7 @@ $(function() { #include <string>
#include <string_view>
#include <tuple>
+#include <optional>
#include "FabUser.hpp"
#include "secrets.hpp"
#include "WhiteList.hpp"
@@ -116,7 +117,7 @@ Namespaces diff --git a/_auth_provider_8hpp__incl.map b/_auth_provider_8hpp__incl.map index e6a7da81..b9b1d004 100644 --- a/_auth_provider_8hpp__incl.map +++ b/_auth_provider_8hpp__incl.map @@ -1,87 +1,93 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_auth_provider_8hpp__incl.md5 b/_auth_provider_8hpp__incl.md5 index 50fdb2ef..42682784 100644 --- a/_auth_provider_8hpp__incl.md5 +++ b/_auth_provider_8hpp__incl.md5 @@ -1 +1 @@ -9d71c19665da40145d41ca4016ff92d7 \ No newline at end of file +f0cbfc4d59ee092817d9417cf02ee5f2 \ No newline at end of file diff --git a/_auth_provider_8hpp__incl.svg b/_auth_provider_8hpp__incl.svg index d35b30a7..d7cfbf99 100644 --- a/_auth_provider_8hpp__incl.svg +++ b/_auth_provider_8hpp__incl.svg @@ -46,7 +46,7 @@
@@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -AuthProvider.hpp + +AuthProvider.hpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -list + +list @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,8 +85,8 @@ var sectionId = 'dynsection-0'; Node3 - -string + +string @@ -94,8 +94,8 @@ var sectionId = 'dynsection-0'; Node1->Node3 - - + + @@ -103,8 +103,8 @@ var sectionId = 'dynsection-0'; Node4 - -string_view + +string_view @@ -112,8 +112,8 @@ var sectionId = 'dynsection-0'; Node1->Node4 - - + + @@ -121,8 +121,8 @@ var sectionId = 'dynsection-0'; Node5 - -tuple + +tuple @@ -130,17 +130,17 @@ var sectionId = 'dynsection-0'; Node1->Node5 - - + + Node6 - - -FabUser.hpp + + +optional @@ -148,674 +148,728 @@ var sectionId = 'dynsection-0'; Node1->Node6 - - + + - - -Node18 - - -secrets.hpp + + +Node7 + + +FabUser.hpp - - -Node1->Node18 - - - + + +Node1->Node7 + + + - - -Node24 - - -WhiteList.hpp + + +Node20 + + +secrets.hpp - - -Node1->Node24 - - - + + +Node1->Node20 + + + Node26 - - -CachedCards.hpp + + +WhiteList.hpp - + Node1->Node26 - - - + + + - - -Node6->Node3 - - - + + +Node28 + + +CachedCards.hpp - - -Node7 - - -Arduino.h + + +Node1->Node28 + + + - - -Node6->Node7 - - - + + +Node7->Node3 + + + Node8 - - -card.hpp + + +Arduino.h - - -Node6->Node8 - - - + + +Node7->Node8 + + + Node9 - - -sstream + + +card.hpp - - -Node6->Node9 - - - + + +Node7->Node9 + + + - - -Node11 - - -conf.hpp + + +Node10 + + +sstream - - -Node6->Node11 - - - + + +Node7->Node10 + + + Node12 - - -cstdint + + +conf.hpp - - -Node6->Node12 - - - + + +Node7->Node12 + + + - - -Node17 - - -array + + +Node13 + + +cstdint - - -Node6->Node17 - - - + + +Node7->Node13 + + + - - -Node8->Node7 - - - + + +Node19 + + +array - - -Node8->Node9 - - - + + +Node7->Node19 + + + - - -Node10 - - -iomanip + + +Node9->Node8 + + + - - -Node8->Node10 - - - + + +Node9->Node10 + + + - - -Node8->Node11 - - - + + +Node11 + + +iomanip - - -Node15 - - -Logging.hpp + + +Node9->Node11 + + + + + + + + +Node9->Node12 + + + - - -Node8->Node15 - - - + + +Node16 + + +Logging.hpp - - -Node11->Node3 - - - + + +Node9->Node16 + + + - - -Node11->Node12 - - - + + +Node18 + + +esp_mac.h - - -Node13 - - -chrono + + +Node9->Node18 + + + - - -Node11->Node13 - - - + + +Node12->Node3 + + + + + + + + +Node12->Node13 + + + Node14 - - -MachineID.hpp + + +chrono + + + + + +Node12->Node14 + + + - - -Node11->Node14 - - - + + +Node15 + + +MachineID.hpp - - -Node14->Node12 - - - + + +Node12->Node15 + + + - - -Node16 - - -esp_log.h + + +Node15->Node13 + + + - - -Node15->Node16 - - - + + +Node17 + + +esp_log.h - - -Node18->Node4 - - - + + +Node16->Node17 + + + - - -Node18->Node6 - - - + + +Node20->Node4 + + + - - -Node18->Node11 - - - + + +Node20->Node7 + + + - - -Node18->Node12 - - - + + +Node20->Node12 + + + - - -Node18->Node17 - - - + + +Node20->Node13 + + + - - -Node19 - - -MachineConfig.hpp + + +Node20->Node19 + + + - - -Node18->Node19 - - - + + +Node21 + + +MachineConfig.hpp - - -Node23 - - -Machine.hpp + + +Node20->Node21 + + + - - -Node18->Node23 - - - + + +Node25 + + +Machine.hpp - - -Node19->Node3 - - - + + +Node20->Node25 + + + - - -Node19->Node11 - - - + + +Node21->Node3 + + + - - -Node19->Node12 - - - + + +Node21->Node12 + + + - - -Node19->Node13 - - - + + +Node21->Node13 + + + - - -Node19->Node14 - - - + + +Node21->Node14 + + + - - -Node20 - - -pins.hpp + + +Node21->Node15 + + + - - -Node19->Node20 - - - + + +Node22 + + +pins.hpp - - -Node20->Node12 - - - + + +Node21->Node22 + + + - - -Node21 - - -Adafruit_NeoPixel.h + + +Node22->Node13 + + + - - -Node20->Node21 - - - + + +Node23 + + +Adafruit_NeoPixel.h - - -Node22 - - -PinsConfig.hpp + + +Node22->Node23 + + + - - -Node20->Node22 - - - + + +Node24 + + +PinsConfig.hpp - - -Node22->Node12 - - - + + +Node22->Node24 + + + - - -Node22->Node17 - - - + + +Node24->Node13 + + + - - -Node23->Node6 - - - + + +Node24->Node19 + + + - - -Node23->Node12 - - - + + +Node25->Node6 + + + - - -Node23->Node13 - - - + + +Node25->Node7 + + + - - -Node23->Node17 - - - + + +Node25->Node13 + + + - - -Node23->Node19 - - - + + +Node25->Node14 + + + - - -Node24->Node4 - - - + + +Node25->Node19 + + + - - -Node24->Node5 - - - + + +Node25->Node21 + + + - - -Node24->Node6 - - - + + +Node26->Node4 + + + - - -Node24->Node11 - - - + + +Node26->Node5 + + + - - -Node24->Node17 - - - + + +Node26->Node7 + + + - - -Node25 - - -unordered_map + + +Node26->Node12 + + + + + + + + +Node26->Node19 + + + + + + + + +Node27 + + +unordered_map + + + + + +Node26->Node27 + + + - - -Node24->Node25 - - - + + +Node28->Node6 + + + - - -Node26->Node6 - - - + + +Node28->Node7 + + + - - -Node26->Node8 - - - + + +Node28->Node9 + + + - - -Node26->Node11 - - - + + +Node28->Node12 + + + - - -Node26->Node17 - - - + + +Node28->Node19 + + + diff --git a/_auth_provider_8hpp__incl_org.svg b/_auth_provider_8hpp__incl_org.svg index e8586c94..20a9574f 100644 --- a/_auth_provider_8hpp__incl_org.svg +++ b/_auth_provider_8hpp__incl_org.svg @@ -4,16 +4,16 @@ - + AuthProvider.hpp Node1 - -AuthProvider.hpp + +AuthProvider.hpp @@ -21,8 +21,8 @@ Node2 - -list + +list @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node3 - -string + +string @@ -48,8 +48,8 @@ Node1->Node3 - - + + @@ -57,8 +57,8 @@ Node4 - -string_view + +string_view @@ -66,8 +66,8 @@ Node1->Node4 - - + + @@ -75,8 +75,8 @@ Node5 - -tuple + +tuple @@ -84,17 +84,17 @@ Node1->Node5 - - + + Node6 - - -FabUser.hpp + + +optional @@ -102,674 +102,728 @@ Node1->Node6 - - + + - - -Node18 - - -secrets.hpp + + +Node7 + + +FabUser.hpp - - -Node1->Node18 - - - + + +Node1->Node7 + + + - - -Node24 - - -WhiteList.hpp + + +Node20 + + +secrets.hpp - - -Node1->Node24 - - - + + +Node1->Node20 + + + Node26 - - -CachedCards.hpp + + +WhiteList.hpp - + Node1->Node26 - - - + + + - - -Node6->Node3 - - - + + +Node28 + + +CachedCards.hpp - - -Node7 - - -Arduino.h + + +Node1->Node28 + + + - - -Node6->Node7 - - - + + +Node7->Node3 + + + Node8 - - -card.hpp + + +Arduino.h - - -Node6->Node8 - - - + + +Node7->Node8 + + + Node9 - - -sstream + + +card.hpp - - -Node6->Node9 - - - + + +Node7->Node9 + + + - - -Node11 - - -conf.hpp + + +Node10 + + +sstream - - -Node6->Node11 - - - + + +Node7->Node10 + + + Node12 - - -cstdint + + +conf.hpp - - -Node6->Node12 - - - + + +Node7->Node12 + + + - - -Node17 - - -array + + +Node13 + + +cstdint - - -Node6->Node17 - - - + + +Node7->Node13 + + + - - -Node8->Node7 - - - + + +Node19 + + +array - - -Node8->Node9 - - - + + +Node7->Node19 + + + - - -Node10 - - -iomanip + + +Node9->Node8 + + + - - -Node8->Node10 - - - + + +Node9->Node10 + + + - - -Node8->Node11 - - - + + +Node11 + + +iomanip - - -Node15 - - -Logging.hpp + + +Node9->Node11 + + + + + + + + +Node9->Node12 + + + - - -Node8->Node15 - - - + + +Node16 + + +Logging.hpp - - -Node11->Node3 - - - + + +Node9->Node16 + + + - - -Node11->Node12 - - - + + +Node18 + + +esp_mac.h - - -Node13 - - -chrono + + +Node9->Node18 + + + - - -Node11->Node13 - - - + + +Node12->Node3 + + + + + + + + +Node12->Node13 + + + Node14 - - -MachineID.hpp + + +chrono + + + + + +Node12->Node14 + + + - - -Node11->Node14 - - - + + +Node15 + + +MachineID.hpp - - -Node14->Node12 - - - + + +Node12->Node15 + + + - - -Node16 - - -esp_log.h + + +Node15->Node13 + + + - - -Node15->Node16 - - - + + +Node17 + + +esp_log.h - - -Node18->Node4 - - - + + +Node16->Node17 + + + - - -Node18->Node6 - - - + + +Node20->Node4 + + + - - -Node18->Node11 - - - + + +Node20->Node7 + + + - - -Node18->Node12 - - - + + +Node20->Node12 + + + - - -Node18->Node17 - - - + + +Node20->Node13 + + + - - -Node19 - - -MachineConfig.hpp + + +Node20->Node19 + + + - - -Node18->Node19 - - - + + +Node21 + + +MachineConfig.hpp - - -Node23 - - -Machine.hpp + + +Node20->Node21 + + + - - -Node18->Node23 - - - + + +Node25 + + +Machine.hpp - - -Node19->Node3 - - - + + +Node20->Node25 + + + - - -Node19->Node11 - - - + + +Node21->Node3 + + + - - -Node19->Node12 - - - + + +Node21->Node12 + + + - - -Node19->Node13 - - - + + +Node21->Node13 + + + - - -Node19->Node14 - - - + + +Node21->Node14 + + + - - -Node20 - - -pins.hpp + + +Node21->Node15 + + + - - -Node19->Node20 - - - + + +Node22 + + +pins.hpp - - -Node20->Node12 - - - + + +Node21->Node22 + + + - - -Node21 - - -Adafruit_NeoPixel.h + + +Node22->Node13 + + + - - -Node20->Node21 - - - + + +Node23 + + +Adafruit_NeoPixel.h - - -Node22 - - -PinsConfig.hpp + + +Node22->Node23 + + + - - -Node20->Node22 - - - + + +Node24 + + +PinsConfig.hpp - - -Node22->Node12 - - - + + +Node22->Node24 + + + - - -Node22->Node17 - - - + + +Node24->Node13 + + + - - -Node23->Node6 - - - + + +Node24->Node19 + + + - - -Node23->Node12 - - - + + +Node25->Node6 + + + - - -Node23->Node13 - - - + + +Node25->Node7 + + + - - -Node23->Node17 - - - + + +Node25->Node13 + + + - - -Node23->Node19 - - - + + +Node25->Node14 + + + - - -Node24->Node4 - - - + + +Node25->Node19 + + + - - -Node24->Node5 - - - + + +Node25->Node21 + + + - - -Node24->Node6 - - - + + +Node26->Node4 + + + - - -Node24->Node11 - - - + + +Node26->Node5 + + + - - -Node24->Node17 - - - + + +Node26->Node7 + + + - - -Node25 - - -unordered_map + + +Node26->Node12 + + + + + + + + +Node26->Node19 + + + + + + + + +Node27 + + +unordered_map + + + + + +Node26->Node27 + + + - - -Node24->Node25 - - - + + +Node28->Node6 + + + - - -Node26->Node6 - - - + + +Node28->Node7 + + + - - -Node26->Node8 - - - + + +Node28->Node9 + + + - - -Node26->Node11 - - - + + +Node28->Node12 + + + - - -Node26->Node17 - - - + + +Node28->Node19 + + + diff --git a/_auth_provider_8hpp_source.xhtml b/_auth_provider_8hpp_source.xhtml index b70d0768..66aab5c5 100644 --- a/_auth_provider_8hpp_source.xhtml +++ b/_auth_provider_8hpp_source.xhtml @@ -90,64 +90,65 @@ $(document).ready(function() { init_codefold(0); });
5#include <string>
6#include <string_view>
7#include <tuple>
-
8
-
9#include "FabUser.hpp"
-
10#include "secrets.hpp"
-
11#include "WhiteList.hpp"
-
12#include "CachedCards.hpp"
-
13
-
14namespace fabomatic
-
15{
-
- -
18 {
-
19 private:
- - -
22 mutable size_t cache_idx{0};
-
23 [[nodiscard]] auto uidInWhitelist(card::uid_t uid) const -> std::optional<WhiteListEntry>;
-
24 [[nodiscard]] auto uidInCache(card::uid_t uid) const -> std::optional<CachedCard>;
-
25 [[nodiscard]] auto searchCache(card::uid_t candidate_uid) const -> std::optional<CachedCard>;
-
26 auto updateCache(card::uid_t candidate_uid, FabUser::UserLevel level) const -> void;
-
27
-
28 public:
-
29 AuthProvider() = delete;
- -
31 [[nodiscard]] auto tryLogin(card::uid_t uid, FabBackend &server) const -> std::optional<FabUser>;
-
32 auto setWhitelist(WhiteList list) -> void;
-
33 auto saveCache() const -> bool;
-
34 auto loadCache() -> void;
-
35 };
+
8#include <optional>
+
9
+
10#include "FabUser.hpp"
+
11#include "secrets.hpp"
+
12#include "WhiteList.hpp"
+
13#include "CachedCards.hpp"
+
14
+
15namespace fabomatic
+
16{
+
+ +
19 {
+
20 private:
+ + +
23 mutable size_t cache_idx{0};
+
24 [[nodiscard]] constexpr auto uidInWhitelist(card::uid_t uid) const -> std::optional<WhiteListEntry>;
+
25 [[nodiscard]] constexpr auto uidInCache(card::uid_t uid) const -> std::optional<CachedCard>;
+
26 [[nodiscard]] constexpr auto searchCache(card::uid_t candidate_uid) const -> std::optional<CachedCard>;
+
27 constexpr auto updateCache(card::uid_t candidate_uid, FabUser::UserLevel level) const -> void;
+
28
+
29 public:
+
30 AuthProvider() = delete;
+ +
32 [[nodiscard]] auto tryLogin(card::uid_t uid, FabBackend &server) const -> std::optional<FabUser>;
+
33 auto setWhitelist(WhiteList list) -> void;
+
34 auto saveCache() const -> bool;
+
35 auto loadCache() -> void;
+
36 };
-
36} // namespace fabomatic
-
37#endif // AUTHPROVIDER_HPP_
+
37} // namespace fabomatic
+
38#endif // AUTHPROVIDER_HPP_
-
This class manages authentication of a RFID tag through cache, whitelist or network request.
+
This class manages authentication of a RFID tag through cache, whitelist or network request.
- -
auto uidInCache(card::uid_t uid) const -> std::optional< CachedCard >
Checks if the card ID is whitelisted.
-
auto uidInWhitelist(card::uid_t uid) const -> std::optional< WhiteListEntry >
Checks if the card ID is whitelisted.
- + +
constexpr auto uidInCache(card::uid_t uid) const -> std::optional< CachedCard >
Checks if the card ID is whitelisted.
+
constexpr auto updateCache(card::uid_t candidate_uid, FabUser::UserLevel level) const -> void
Cache the user request.
+
auto setWhitelist(WhiteList list) -> void
Sets the whitelist.
-
auto updateCache(card::uid_t candidate_uid, FabUser::UserLevel level) const -> void
Cache the user request.
+
constexpr auto uidInWhitelist(card::uid_t uid) const -> std::optional< WhiteListEntry >
Checks if the card ID is whitelisted.
auto loadCache() -> void
Loads the cache from EEPROM.
auto saveCache() const -> bool
Saves the cache of RFID to EEPROM.
-
auto searchCache(card::uid_t candidate_uid) const -> std::optional< CachedCard >
+
constexpr auto searchCache(card::uid_t candidate_uid) const -> std::optional< CachedCard >
auto tryLogin(card::uid_t uid, FabBackend &server) const -> std::optional< FabUser >
Verifies the card ID against the server (if available) or the whitelist.
- +
This class is used to exchange messages with the MQTT broker and the backend.
-
u_int64_t uid_t
Definition card.hpp:14
+
u_int64_t uid_t
Definition card.hpp:15
std::array< WhiteListEntry, conf::cards::LEN > WhiteList
Definition WhiteList.hpp:20
-
This struct contains CACHE_LEN RFID tags with their authentication by the backend.
+
This struct contains CACHE_LEN RFID tags with their authentication by the backend.
diff --git a/_base_rfid_wrapper_8hpp.xhtml b/_base_rfid_wrapper_8hpp.xhtml index 60789d0b..d0d98c6a 100644 --- a/_base_rfid_wrapper_8hpp.xhtml +++ b/_base_rfid_wrapper_8hpp.xhtml @@ -110,7 +110,7 @@ Namespaces diff --git a/_base_rfid_wrapper_8hpp__incl.map b/_base_rfid_wrapper_8hpp__incl.map index 894b48f9..b0282671 100644 --- a/_base_rfid_wrapper_8hpp__incl.map +++ b/_base_rfid_wrapper_8hpp__incl.map @@ -1,19 +1,21 @@ - - - - - + + + + + - + - + - + - - - + + + + + @@ -24,5 +26,5 @@ - + diff --git a/_base_rfid_wrapper_8hpp__incl.md5 b/_base_rfid_wrapper_8hpp__incl.md5 index 51946148..a1370c5c 100644 --- a/_base_rfid_wrapper_8hpp__incl.md5 +++ b/_base_rfid_wrapper_8hpp__incl.md5 @@ -1 +1 @@ -80d21e38203675e5bbcaddd771f252f1 \ No newline at end of file +cdf62d7974e192a806b2dbb2f6a58269 \ No newline at end of file diff --git a/_base_rfid_wrapper_8hpp__incl.svg b/_base_rfid_wrapper_8hpp__incl.svg index 4d25701c..82b7ae59 100644 --- a/_base_rfid_wrapper_8hpp__incl.svg +++ b/_base_rfid_wrapper_8hpp__incl.svg @@ -22,8 +22,8 @@ Node1 - -BaseRfidWrapper.hpp + +BaseRfidWrapper.hpp @@ -31,8 +31,8 @@ Node2 - -optional + +optional @@ -40,8 +40,8 @@ Node1->Node2 - - + + @@ -49,8 +49,8 @@ Node3 - -card.hpp + +card.hpp @@ -58,8 +58,8 @@ Node1->Node3 - - + + @@ -76,8 +76,8 @@ Node3->Node4 - - + + @@ -94,8 +94,8 @@ Node3->Node5 - - + + @@ -112,8 +112,8 @@ Node3->Node6 - - + + @@ -130,8 +130,8 @@ Node3->Node7 - - + + @@ -139,8 +139,8 @@ Node12 - -Logging.hpp + +Logging.hpp @@ -148,8 +148,26 @@ Node3->Node12 - - + + + + + + + +Node14 + + +esp_mac.h + + + + + +Node3->Node14 + + + @@ -247,8 +265,8 @@ Node12->Node13 - - + + diff --git a/_base_rfid_wrapper_8hpp__incl_org.svg b/_base_rfid_wrapper_8hpp__incl_org.svg index 6facf88f..f2fc28f6 100644 --- a/_base_rfid_wrapper_8hpp__incl_org.svg +++ b/_base_rfid_wrapper_8hpp__incl_org.svg @@ -12,8 +12,8 @@ Node1 - -BaseRfidWrapper.hpp + +BaseRfidWrapper.hpp @@ -21,8 +21,8 @@ Node2 - -optional + +optional @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node3 - -card.hpp + +card.hpp @@ -48,8 +48,8 @@ Node1->Node3 - - + + @@ -66,8 +66,8 @@ Node3->Node4 - - + + @@ -84,8 +84,8 @@ Node3->Node5 - - + + @@ -102,8 +102,8 @@ Node3->Node6 - - + + @@ -120,8 +120,8 @@ Node3->Node7 - - + + @@ -129,8 +129,8 @@ Node12 - -Logging.hpp + +Logging.hpp @@ -138,8 +138,26 @@ Node3->Node12 - - + + + + + + + +Node14 + + +esp_mac.h + + + + + +Node3->Node14 + + + @@ -237,8 +255,8 @@ Node12->Node13 - - + + diff --git a/_base_rfid_wrapper_8hpp_source.xhtml b/_base_rfid_wrapper_8hpp_source.xhtml index 59d1a747..5d6cfd94 100644 --- a/_base_rfid_wrapper_8hpp_source.xhtml +++ b/_base_rfid_wrapper_8hpp_source.xhtml @@ -121,11 +121,11 @@ $(document).ready(function() { init_codefold(0); });
virtual auto rfidInit() const -> bool=0
virtual auto getUid() const -> card::uid_t=0
-
std::chrono::milliseconds milliseconds
+
std::chrono::milliseconds milliseconds
diff --git a/_board_info_8hpp.xhtml b/_board_info_8hpp.xhtml index 64380575..a7269451 100644 --- a/_board_info_8hpp.xhtml +++ b/_board_info_8hpp.xhtml @@ -109,7 +109,7 @@ Namespaces diff --git a/_board_info_8hpp__incl.map b/_board_info_8hpp__incl.map index 5e74b62d..8a876919 100644 --- a/_board_info_8hpp__incl.map +++ b/_board_info_8hpp__incl.map @@ -1,56 +1,60 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_board_info_8hpp__incl.md5 b/_board_info_8hpp__incl.md5 index edfb23ed..2a8806d4 100644 --- a/_board_info_8hpp__incl.md5 +++ b/_board_info_8hpp__incl.md5 @@ -1 +1 @@ -7687c19b40f68d47a27801edd10be454 \ No newline at end of file +d572192061530f9d736df414163725d5 \ No newline at end of file diff --git a/_board_info_8hpp__incl.svg b/_board_info_8hpp__incl.svg index 369f5ea2..b876589c 100644 --- a/_board_info_8hpp__incl.svg +++ b/_board_info_8hpp__incl.svg @@ -46,7 +46,7 @@
@@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -BoardInfo.hpp + +BoardInfo.hpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -Machine.hpp + +Machine.hpp @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,8 +85,8 @@ var sectionId = 'dynsection-0'; Node3 - -FabUser.hpp + +FabUser.hpp @@ -94,8 +94,8 @@ var sectionId = 'dynsection-0'; Node2->Node3 - - + + @@ -103,17 +103,17 @@ var sectionId = 'dynsection-0'; Node9 - -cstdint + +cstdint - + Node2->Node9 - - - + + + @@ -121,53 +121,71 @@ var sectionId = 'dynsection-0'; Node11 - -chrono + +chrono - + Node2->Node11 - - - + + + - - -Node15 - - -array + + +Node16 + + +array - - -Node2->Node15 - - - + + +Node2->Node16 + + + - - -Node16 - - -MachineConfig.hpp + + +Node17 + + +MachineConfig.hpp - - -Node2->Node16 - - - + + +Node2->Node17 + + + + + + + + +Node21 + + +optional + + + + + +Node2->Node21 + + + @@ -175,8 +193,8 @@ var sectionId = 'dynsection-0'; Node4 - -Arduino.h + +Arduino.h @@ -184,8 +202,8 @@ var sectionId = 'dynsection-0'; Node3->Node4 - - + + @@ -193,8 +211,8 @@ var sectionId = 'dynsection-0'; Node5 - -card.hpp + +card.hpp @@ -202,8 +220,8 @@ var sectionId = 'dynsection-0'; Node3->Node5 - - + + @@ -211,17 +229,17 @@ var sectionId = 'dynsection-0'; Node6 - -sstream + +sstream - + Node3->Node6 - - - + + + @@ -229,26 +247,26 @@ var sectionId = 'dynsection-0'; Node8 - -conf.hpp + +conf.hpp - + Node3->Node8 - - - + + + - + Node3->Node9 - - - + + + @@ -256,26 +274,26 @@ var sectionId = 'dynsection-0'; Node10 - -string + +string - + Node3->Node10 - - - + + + - - -Node3->Node15 - - - + + +Node3->Node16 + + + @@ -283,8 +301,8 @@ var sectionId = 'dynsection-0'; Node5->Node4 - - + + @@ -292,8 +310,8 @@ var sectionId = 'dynsection-0'; Node5->Node6 - - + + @@ -301,8 +319,8 @@ var sectionId = 'dynsection-0'; Node7 - -iomanip + +iomanip @@ -310,8 +328,8 @@ var sectionId = 'dynsection-0'; Node5->Node7 - - + + @@ -319,8 +337,8 @@ var sectionId = 'dynsection-0'; Node5->Node8 - - + + @@ -328,8 +346,8 @@ var sectionId = 'dynsection-0'; Node13 - -Logging.hpp + +Logging.hpp @@ -337,8 +355,26 @@ var sectionId = 'dynsection-0'; Node5->Node13 - - + + + + + + + +Node15 + + +esp_mac.h + + + + + +Node5->Node15 + + + @@ -346,8 +382,8 @@ var sectionId = 'dynsection-0'; Node8->Node9 - - + + @@ -355,8 +391,8 @@ var sectionId = 'dynsection-0'; Node8->Node10 - - + + @@ -364,8 +400,8 @@ var sectionId = 'dynsection-0'; Node8->Node11 - - + + @@ -373,8 +409,8 @@ var sectionId = 'dynsection-0'; Node12 - -MachineID.hpp + +MachineID.hpp @@ -382,8 +418,8 @@ var sectionId = 'dynsection-0'; Node8->Node12 - - + + @@ -391,8 +427,8 @@ var sectionId = 'dynsection-0'; Node12->Node9 - - + + @@ -400,8 +436,8 @@ var sectionId = 'dynsection-0'; Node14 - -esp_log.h + +esp_log.h @@ -409,134 +445,134 @@ var sectionId = 'dynsection-0'; Node13->Node14 - - + + - - -Node16->Node8 - - - + + +Node17->Node8 + + + - - -Node16->Node9 - - - + + +Node17->Node9 + + + - - -Node16->Node10 - - - + + +Node17->Node10 + + + - - -Node16->Node11 - - - + + +Node17->Node11 + + + - - -Node16->Node12 - - - + + +Node17->Node12 + + + - - -Node17 - - -pins.hpp + + +Node18 + + +pins.hpp - - -Node16->Node17 - - - + + +Node17->Node18 + + + - - -Node17->Node9 - - - + + +Node18->Node9 + + + - - -Node18 - - -Adafruit_NeoPixel.h + + +Node19 + + +Adafruit_NeoPixel.h - - -Node17->Node18 - - - + + +Node18->Node19 + + + - - -Node19 - - -PinsConfig.hpp + + +Node20 + + +PinsConfig.hpp - - -Node17->Node19 - - - + + +Node18->Node20 + + + - - -Node19->Node9 - - - + + +Node20->Node9 + + + - - -Node19->Node15 - - - + + +Node20->Node16 + + + diff --git a/_board_info_8hpp__incl_org.svg b/_board_info_8hpp__incl_org.svg index 87c98773..431cd0a4 100644 --- a/_board_info_8hpp__incl_org.svg +++ b/_board_info_8hpp__incl_org.svg @@ -4,16 +4,16 @@ - + BoardInfo.hpp Node1 - -BoardInfo.hpp + +BoardInfo.hpp @@ -21,8 +21,8 @@ Node2 - -Machine.hpp + +Machine.hpp @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node3 - -FabUser.hpp + +FabUser.hpp @@ -48,8 +48,8 @@ Node2->Node3 - - + + @@ -57,17 +57,17 @@ Node9 - -cstdint + +cstdint - + Node2->Node9 - - - + + + @@ -75,53 +75,71 @@ Node11 - -chrono + +chrono - + Node2->Node11 - - - + + + - - -Node15 - - -array + + +Node16 + + +array - - -Node2->Node15 - - - + + +Node2->Node16 + + + - - -Node16 - - -MachineConfig.hpp + + +Node17 + + +MachineConfig.hpp - - -Node2->Node16 - - - + + +Node2->Node17 + + + + + + + + +Node21 + + +optional + + + + + +Node2->Node21 + + + @@ -129,8 +147,8 @@ Node4 - -Arduino.h + +Arduino.h @@ -138,8 +156,8 @@ Node3->Node4 - - + + @@ -147,8 +165,8 @@ Node5 - -card.hpp + +card.hpp @@ -156,8 +174,8 @@ Node3->Node5 - - + + @@ -165,17 +183,17 @@ Node6 - -sstream + +sstream - + Node3->Node6 - - - + + + @@ -183,26 +201,26 @@ Node8 - -conf.hpp + +conf.hpp - + Node3->Node8 - - - + + + - + Node3->Node9 - - - + + + @@ -210,26 +228,26 @@ Node10 - -string + +string - + Node3->Node10 - - - + + + - - -Node3->Node15 - - - + + +Node3->Node16 + + + @@ -237,8 +255,8 @@ Node5->Node4 - - + + @@ -246,8 +264,8 @@ Node5->Node6 - - + + @@ -255,8 +273,8 @@ Node7 - -iomanip + +iomanip @@ -264,8 +282,8 @@ Node5->Node7 - - + + @@ -273,8 +291,8 @@ Node5->Node8 - - + + @@ -282,8 +300,8 @@ Node13 - -Logging.hpp + +Logging.hpp @@ -291,8 +309,26 @@ Node5->Node13 - - + + + + + + + +Node15 + + +esp_mac.h + + + + + +Node5->Node15 + + + @@ -300,8 +336,8 @@ Node8->Node9 - - + + @@ -309,8 +345,8 @@ Node8->Node10 - - + + @@ -318,8 +354,8 @@ Node8->Node11 - - + + @@ -327,8 +363,8 @@ Node12 - -MachineID.hpp + +MachineID.hpp @@ -336,8 +372,8 @@ Node8->Node12 - - + + @@ -345,8 +381,8 @@ Node12->Node9 - - + + @@ -354,8 +390,8 @@ Node14 - -esp_log.h + +esp_log.h @@ -363,134 +399,134 @@ Node13->Node14 - - + + - - -Node16->Node8 - - - + + +Node17->Node8 + + + - - -Node16->Node9 - - - + + +Node17->Node9 + + + - - -Node16->Node10 - - - + + +Node17->Node10 + + + - - -Node16->Node11 - - - + + +Node17->Node11 + + + - - -Node16->Node12 - - - + + +Node17->Node12 + + + - - -Node17 - - -pins.hpp + + +Node18 + + +pins.hpp - - -Node16->Node17 - - - + + +Node17->Node18 + + + - - -Node17->Node9 - - - + + +Node18->Node9 + + + - - -Node18 - - -Adafruit_NeoPixel.h + + +Node19 + + +Adafruit_NeoPixel.h - - -Node17->Node18 - - - + + +Node18->Node19 + + + - - -Node19 - - -PinsConfig.hpp + + +Node20 + + +PinsConfig.hpp - - -Node17->Node19 - - - + + +Node18->Node20 + + + - - -Node19->Node9 - - - + + +Node20->Node9 + + + - - -Node19->Node15 - - - + + +Node20->Node16 + + + diff --git a/_board_info_8hpp_source.xhtml b/_board_info_8hpp_source.xhtml index 313cb11a..04874173 100644 --- a/_board_info_8hpp_source.xhtml +++ b/_board_info_8hpp_source.xhtml @@ -110,7 +110,7 @@ $(document).ready(function() { init_codefold(0); });
22} // namespace fabomatic
23#endif // BOARDINFO_HPP
- +
Helper struct representing the display state.
Definition BoardInfo.hpp:10
@@ -120,7 +120,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_board_logic_8cpp.xhtml b/_board_logic_8cpp.xhtml index 75700aab..7d903046 100644 --- a/_board_logic_8cpp.xhtml +++ b/_board_logic_8cpp.xhtml @@ -98,6 +98,7 @@ $(function() { #include "pins.hpp"
#include "secrets.hpp"
#include "language/lang.hpp"
+#include <driver/gpio.h>
Include dependency graph for BoardLogic.cpp:
@@ -141,7 +142,7 @@ Typedefs
diff --git a/_board_logic_8cpp__incl.map b/_board_logic_8cpp__incl.map index d9cfe3df..2fb232d2 100644 --- a/_board_logic_8cpp__incl.map +++ b/_board_logic_8cpp__incl.map @@ -1,190 +1,195 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_board_logic_8cpp__incl.md5 b/_board_logic_8cpp__incl.md5 index 51028a33..8d2883f0 100644 --- a/_board_logic_8cpp__incl.md5 +++ b/_board_logic_8cpp__incl.md5 @@ -1 +1 @@ -f1687e1bd9307d04b3ce97bd377075be \ No newline at end of file +c98efbee4308f25486a70319d2c383ac \ No newline at end of file diff --git a/_board_logic_8cpp__incl.svg b/_board_logic_8cpp__incl.svg index 590ac68e..1f7fe99d 100644 --- a/_board_logic_8cpp__incl.svg +++ b/_board_logic_8cpp__incl.svg @@ -46,7 +46,7 @@ @@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -BoardLogic.cpp + +BoardLogic.cpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -sstream + +sstream @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,8 +85,8 @@ var sectionId = 'dynsection-0'; Node3 - -Arduino.h + +Arduino.h @@ -94,8 +94,8 @@ var sectionId = 'dynsection-0'; Node1->Node3 - - + + @@ -103,8 +103,8 @@ var sectionId = 'dynsection-0'; Node4 - -WiFi.h + +WiFi.h @@ -112,8 +112,8 @@ var sectionId = 'dynsection-0'; Node1->Node4 - - + + @@ -121,8 +121,8 @@ var sectionId = 'dynsection-0'; Node5 - -Adafruit_NeoPixel.h + +Adafruit_NeoPixel.h @@ -130,8 +130,8 @@ var sectionId = 'dynsection-0'; Node1->Node5 - - + + @@ -139,8 +139,8 @@ var sectionId = 'dynsection-0'; Node6 - -AuthProvider.hpp + +AuthProvider.hpp @@ -148,206 +148,224 @@ var sectionId = 'dynsection-0'; Node1->Node6 - - + + - - -Node14 - - -conf.hpp - - - - - -Node1->Node14 - - - - - - - - -Node18 - - -Logging.hpp + + +Node15 + + +conf.hpp - - -Node1->Node18 - - - + + +Node1->Node15 + + + - - -Node21 - - -secrets.hpp + + +Node19 + + +Logging.hpp - - -Node1->Node21 - - - + + +Node1->Node19 + + + Node23 - - -pins.hpp + + +secrets.hpp - + Node1->Node23 - - - + + + Node25 - - -Machine.hpp + + +pins.hpp - + Node1->Node25 - - - + + + - - -Node29 - - -BaseRfidWrapper.hpp + + +Node27 + + +Machine.hpp - - -Node1->Node29 - - - + + +Node1->Node27 + + + Node31 - - -BoardLogic.hpp + + +BaseRfidWrapper.hpp - + Node1->Node31 - - - + + + Node32 - - -FabBackend.hpp + + +BoardLogic.hpp - + Node1->Node32 - - - + + + - - -Node38 - - -SavedConfig.hpp + + +Node33 + + +FabBackend.hpp - - -Node1->Node38 - - - + + +Node1->Node33 + + + - - -Node49 - - -Tasks.hpp + + +Node39 + + +SavedConfig.hpp - - -Node1->Node49 - - - + + +Node1->Node39 + + + Node50 - - -language/lang.hpp + + +Tasks.hpp - + Node1->Node50 - - - + + + + + + + + +Node51 + + +language/lang.hpp + + + + + +Node1->Node51 + + + + + + + + +Node52 + + +driver/gpio.h + + + + + +Node1->Node52 + + + @@ -355,8 +373,8 @@ var sectionId = 'dynsection-0'; Node7 - -list + +list @@ -364,8 +382,8 @@ var sectionId = 'dynsection-0'; Node6->Node7 - - + + @@ -373,8 +391,8 @@ var sectionId = 'dynsection-0'; Node8 - -string + +string @@ -382,8 +400,8 @@ var sectionId = 'dynsection-0'; Node6->Node8 - - + + @@ -391,8 +409,8 @@ var sectionId = 'dynsection-0'; Node9 - -string_view + +string_view @@ -400,8 +418,8 @@ var sectionId = 'dynsection-0'; Node6->Node9 - - + + @@ -409,8 +427,8 @@ var sectionId = 'dynsection-0'; Node10 - -tuple + +tuple @@ -418,17 +436,17 @@ var sectionId = 'dynsection-0'; Node6->Node10 - - + + Node11 - - -FabUser.hpp + + +optional @@ -436,827 +454,854 @@ var sectionId = 'dynsection-0'; Node6->Node11 - - + + - - -Node6->Node21 - - - + + +Node12 + + +FabUser.hpp - - -Node26 - - -WhiteList.hpp + + +Node6->Node12 + + + - - -Node6->Node26 - - - + + +Node6->Node23 + + + Node28 - - -CachedCards.hpp + + +WhiteList.hpp - + Node6->Node28 - - - + + + - - -Node11->Node2 - - - + + +Node30 + + +CachedCards.hpp - - -Node11->Node3 - - - + + +Node6->Node30 + + + - - -Node11->Node8 - - - + + +Node12->Node2 + + + - - -Node12 - - -card.hpp + + +Node12->Node3 + + + - - -Node11->Node12 - - - + + +Node12->Node8 + + + - - -Node11->Node14 - - - + + +Node13 + + +card.hpp - - -Node15 - - -cstdint + + +Node12->Node13 + + + - - -Node11->Node15 - - - + + +Node12->Node15 + + + - - -Node20 - - -array + + +Node16 + + +cstdint - - -Node11->Node20 - - - + + +Node12->Node16 + + + - - -Node12->Node2 - - - + + +Node22 + + +array - - -Node12->Node3 - - - + + +Node12->Node22 + + + - - -Node13 - - -iomanip + + +Node13->Node2 + + + - - -Node12->Node13 - - - + + +Node13->Node3 + + + - - -Node12->Node14 - - - + + +Node14 + + +iomanip - - -Node12->Node18 - - - + + +Node13->Node14 + + + - - -Node14->Node8 - - - + + +Node13->Node15 + + + - - -Node14->Node15 - - - + + +Node13->Node19 + + + - - -Node16 - - -chrono + + +Node21 + + +esp_mac.h + + + + + +Node13->Node21 + + + - - -Node14->Node16 - - - + + +Node15->Node8 + + + + + + + + +Node15->Node16 + + + Node17 - - -MachineID.hpp + + +chrono - - -Node14->Node17 - - - + + +Node15->Node17 + + + - - -Node17->Node15 - - - + + +Node18 + + +MachineID.hpp - - -Node19 - - -esp_log.h + + +Node15->Node18 + + + - - -Node18->Node19 - - - + + +Node18->Node16 + + + - - -Node21->Node9 - - - + + +Node20 + + +esp_log.h - - -Node21->Node11 - - - + + +Node19->Node20 + + + - - -Node21->Node14 - - - + + +Node23->Node9 + + + - - -Node21->Node15 - - - + + +Node23->Node12 + + + - - -Node21->Node20 - - - + + +Node23->Node15 + + + - - -Node22 - - -MachineConfig.hpp + + +Node23->Node16 + + + - - -Node21->Node22 - - - + + +Node23->Node22 + + + - - -Node21->Node25 - - - + + +Node24 + + +MachineConfig.hpp - - -Node22->Node8 - - - + + +Node23->Node24 + + + - - -Node22->Node14 - - - + + +Node23->Node27 + + + - - -Node22->Node15 - - - + + +Node24->Node8 + + + - - -Node22->Node16 - - - + + +Node24->Node15 + + + - - -Node22->Node17 - - - + + +Node24->Node16 + + + - - -Node22->Node23 - - - + + +Node24->Node17 + + + - - -Node23->Node5 - - - + + +Node24->Node18 + + + - - -Node23->Node15 - - - + + +Node24->Node25 + + + - - -Node24 - - -PinsConfig.hpp + + +Node25->Node5 + + + - - -Node23->Node24 - - - + + +Node25->Node16 + + + - - -Node24->Node15 - - - + + +Node26 + + +PinsConfig.hpp - - -Node24->Node20 - - - + + +Node25->Node26 + + + - - -Node25->Node11 - - - + + +Node26->Node16 + + + - - -Node25->Node15 - - - + + +Node26->Node22 + + + - - -Node25->Node16 - - - + + +Node27->Node11 + + + - - -Node25->Node20 - - - + + +Node27->Node12 + + + - - -Node25->Node22 - - - + + +Node27->Node16 + + + - - -Node26->Node9 - - - + + +Node27->Node17 + + + - - -Node26->Node10 - - - + + +Node27->Node22 + + + - - -Node26->Node11 - - - + + +Node27->Node24 + + + - - -Node26->Node14 - - - + + +Node28->Node9 + + + - - -Node26->Node20 - - - + + +Node28->Node10 + + + - - -Node27 - - -unordered_map + + +Node28->Node12 + + + - - -Node26->Node27 - - - + + +Node28->Node15 + + + - - -Node28->Node11 - - - + + +Node28->Node22 + + + - - -Node28->Node12 - - - + + +Node29 + + +unordered_map - - -Node28->Node14 - - - + + +Node28->Node29 + + + - - -Node28->Node20 - - - + + +Node30->Node11 + + + - - -Node29->Node12 - - - + + +Node30->Node12 + + + - - -Node30 - - -optional + + +Node30->Node13 + + + - - -Node29->Node30 - - - + + +Node30->Node15 + + + - - -Node31->Node6 - - - + + +Node30->Node22 + + + - + Node31->Node11 - - - + + + - - -Node31->Node12 - - - + + +Node31->Node13 + + + - - -Node31->Node21 - - - + + +Node32->Node6 + + + - - -Node31->Node23 - - - + + +Node32->Node12 + + + - - -Node31->Node25 - - - + + +Node32->Node13 + + + - - -Node31->Node29 - - - + + +Node32->Node23 + + + - - -Node31->Node32 - - - + + +Node32->Node25 + + + - - -Node43 - - -LCDWrapper.hpp + + +Node32->Node27 + + + - - -Node31->Node43 - - - + + +Node32->Node31 + + + - - -Node46 - - -Led.hpp + + +Node32->Node33 + + + + + + + + +Node44 + + +LCDWrapper.hpp - - -Node31->Node46 - - - + + +Node32->Node44 + + + Node47 - - -Buzzer.hpp + + +Led.hpp - - -Node31->Node47 - - - + + +Node32->Node47 + + + - - -Node32->Node4 - - - + + +Node48 + + +Buzzer.hpp - - -Node32->Node8 - - - + + +Node32->Node48 + + + - - -Node32->Node11 - - - + + +Node33->Node4 + + + - - -Node32->Node14 - - - + + +Node33->Node8 + + + - - -Node32->Node16 - - - + + +Node33->Node12 + + + - - -Node32->Node20 - - - + + +Node33->Node15 + + + - - -Node33 - - -functional + + +Node33->Node17 + + + - - -Node32->Node33 - - - + + +Node33->Node22 + + + @@ -1264,17 +1309,17 @@ var sectionId = 'dynsection-0'; Node34 - -ArduinoJson.h + +functional - - -Node32->Node34 - - - + + +Node33->Node34 + + + @@ -1282,215 +1327,215 @@ var sectionId = 'dynsection-0'; Node35 - -MQTTClient.h + +ArduinoJson.h - - -Node32->Node35 - - - + + +Node33->Node35 + + + Node36 - - -MQTTtypes.hpp + + +MQTTClient.h - - -Node32->Node36 - - - + + +Node33->Node36 + + + - - -Node32->Node38 - - - + + +Node37 + + +MQTTtypes.hpp - - -Node41 - - -BufferedMsg.hpp + + +Node33->Node37 + + + - - -Node32->Node41 - - - + + +Node33->Node39 + + + - - -Node36->Node8 - - - + + +Node42 + + +BufferedMsg.hpp - - -Node36->Node9 - - - + + +Node33->Node42 + + + - - -Node36->Node11 - - - + + +Node37->Node8 + + + - - -Node36->Node12 - - - + + +Node37->Node9 + + + - - -Node36->Node25 - - - + + +Node37->Node12 + + + - - -Node36->Node34 - - - + + +Node37->Node13 + + + - - -Node37 - - -memory + + +Node37->Node27 + + + - - -Node36->Node37 - - - + + +Node37->Node35 + + + - - -Node38->Node8 - - - + + +Node38 + + +memory - - -Node38->Node14 - - - + + +Node37->Node38 + + + - - -Node38->Node15 - - - + + +Node39->Node8 + + + - - -Node38->Node22 - - - + + +Node39->Node11 + + + - - -Node38->Node28 - - - + + +Node39->Node15 + + + - - -Node38->Node30 - - - + + +Node39->Node16 + + + - - -Node38->Node34 - - - + + +Node39->Node24 + + + - - -Node39 - - -mutex + + +Node39->Node30 + + + - - -Node38->Node39 - - - + + +Node39->Node35 + + + @@ -1498,251 +1543,251 @@ var sectionId = 'dynsection-0'; Node40 - -EEPROM.h + +mutex - - -Node38->Node40 - - - + + +Node39->Node40 + + + - - -Node38->Node41 - - - + + +Node41 + + +EEPROM.h - - -Node41->Node8 - - - + + +Node39->Node41 + + + - - -Node41->Node17 - - - + + +Node39->Node42 + + + - - -Node41->Node30 - - - + + +Node42->Node8 + + + - - -Node41->Node34 - - - + + +Node42->Node11 + + + - - -Node41->Node36 - - - + + +Node42->Node18 + + + - - -Node41->Node37 - - - + + +Node42->Node35 + + + - - -Node42 - - -queue + + +Node42->Node37 + + + - - -Node41->Node42 - - - + + +Node42->Node38 + + + - - -Node43->Node16 - - - + + +Node44->Node17 + + + - - -Node43->Node20 - - - + + +Node44->Node22 + + + - - -Node43->Node23 - - - + + +Node44->Node25 + + + - - -Node43->Node25 - - - + + +Node44->Node27 + + + - - -Node44 - - -BoardInfo.hpp + + +Node45 + + +BoardInfo.hpp - - -Node43->Node44 - - - + + +Node44->Node45 + + + - - -Node45 - - -LiquidCrystal.h + + +Node46 + + +LiquidCrystal.h - - -Node43->Node45 - - - + + +Node44->Node46 + + + - - -Node44->Node25 - - - + + +Node45->Node27 + + + - - -Node46->Node3 - - - + + +Node47->Node3 + + + - - -Node46->Node5 - - - + + +Node47->Node5 + + + - - -Node46->Node23 - - - + + +Node47->Node25 + + + - - -Node46->Node37 - - - + + +Node47->Node38 + + + - - -Node48 - - -inttypes.h + + +Node50->Node3 + + + - - -Node47->Node48 - - - + + +Node50->Node7 + + + - - -Node49->Node16 - - - + + +Node50->Node17 + + + - - -Node49->Node33 - - - + + +Node50->Node34 + + + diff --git a/_board_logic_8cpp__incl_org.svg b/_board_logic_8cpp__incl_org.svg index 5cc54143..3067170b 100644 --- a/_board_logic_8cpp__incl_org.svg +++ b/_board_logic_8cpp__incl_org.svg @@ -4,16 +4,16 @@ - + BoardLogic.cpp Node1 - -BoardLogic.cpp + +BoardLogic.cpp @@ -21,8 +21,8 @@ Node2 - -sstream + +sstream @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node3 - -Arduino.h + +Arduino.h @@ -48,8 +48,8 @@ Node1->Node3 - - + + @@ -57,8 +57,8 @@ Node4 - -WiFi.h + +WiFi.h @@ -66,8 +66,8 @@ Node1->Node4 - - + + @@ -75,8 +75,8 @@ Node5 - -Adafruit_NeoPixel.h + +Adafruit_NeoPixel.h @@ -84,8 +84,8 @@ Node1->Node5 - - + + @@ -93,8 +93,8 @@ Node6 - -AuthProvider.hpp + +AuthProvider.hpp @@ -102,206 +102,224 @@ Node1->Node6 - - + + - - -Node14 - - -conf.hpp - - - - - -Node1->Node14 - - - - - - - - -Node18 - - -Logging.hpp + + +Node15 + + +conf.hpp - - -Node1->Node18 - - - + + +Node1->Node15 + + + - - -Node21 - - -secrets.hpp + + +Node19 + + +Logging.hpp - - -Node1->Node21 - - - + + +Node1->Node19 + + + Node23 - - -pins.hpp + + +secrets.hpp - + Node1->Node23 - - - + + + Node25 - - -Machine.hpp + + +pins.hpp - + Node1->Node25 - - - + + + - - -Node29 - - -BaseRfidWrapper.hpp + + +Node27 + + +Machine.hpp - - -Node1->Node29 - - - + + +Node1->Node27 + + + Node31 - - -BoardLogic.hpp + + +BaseRfidWrapper.hpp - + Node1->Node31 - - - + + + Node32 - - -FabBackend.hpp + + +BoardLogic.hpp - + Node1->Node32 - - - + + + - - -Node38 - - -SavedConfig.hpp + + +Node33 + + +FabBackend.hpp - - -Node1->Node38 - - - + + +Node1->Node33 + + + - - -Node49 - - -Tasks.hpp + + +Node39 + + +SavedConfig.hpp - - -Node1->Node49 - - - + + +Node1->Node39 + + + Node50 - - -language/lang.hpp + + +Tasks.hpp - + Node1->Node50 - - - + + + + + + + + +Node51 + + +language/lang.hpp + + + + + +Node1->Node51 + + + + + + + + +Node52 + + +driver/gpio.h + + + + + +Node1->Node52 + + + @@ -309,8 +327,8 @@ Node7 - -list + +list @@ -318,8 +336,8 @@ Node6->Node7 - - + + @@ -327,8 +345,8 @@ Node8 - -string + +string @@ -336,8 +354,8 @@ Node6->Node8 - - + + @@ -345,8 +363,8 @@ Node9 - -string_view + +string_view @@ -354,8 +372,8 @@ Node6->Node9 - - + + @@ -363,8 +381,8 @@ Node10 - -tuple + +tuple @@ -372,17 +390,17 @@ Node6->Node10 - - + + Node11 - - -FabUser.hpp + + +optional @@ -390,827 +408,854 @@ Node6->Node11 - - + + - - -Node6->Node21 - - - + + +Node12 + + +FabUser.hpp - - -Node26 - - -WhiteList.hpp + + +Node6->Node12 + + + - - -Node6->Node26 - - - + + +Node6->Node23 + + + Node28 - - -CachedCards.hpp + + +WhiteList.hpp - + Node6->Node28 - - - + + + - - -Node11->Node2 - - - + + +Node30 + + +CachedCards.hpp - - -Node11->Node3 - - - + + +Node6->Node30 + + + - - -Node11->Node8 - - - + + +Node12->Node2 + + + - - -Node12 - - -card.hpp + + +Node12->Node3 + + + - - -Node11->Node12 - - - + + +Node12->Node8 + + + - - -Node11->Node14 - - - + + +Node13 + + +card.hpp - - -Node15 - - -cstdint + + +Node12->Node13 + + + - - -Node11->Node15 - - - + + +Node12->Node15 + + + - - -Node20 - - -array + + +Node16 + + +cstdint - - -Node11->Node20 - - - + + +Node12->Node16 + + + - - -Node12->Node2 - - - + + +Node22 + + +array - - -Node12->Node3 - - - + + +Node12->Node22 + + + - - -Node13 - - -iomanip + + +Node13->Node2 + + + - - -Node12->Node13 - - - + + +Node13->Node3 + + + - - -Node12->Node14 - - - + + +Node14 + + +iomanip - - -Node12->Node18 - - - + + +Node13->Node14 + + + - - -Node14->Node8 - - - + + +Node13->Node15 + + + - - -Node14->Node15 - - - + + +Node13->Node19 + + + - - -Node16 - - -chrono + + +Node21 + + +esp_mac.h + + + + + +Node13->Node21 + + + - - -Node14->Node16 - - - + + +Node15->Node8 + + + + + + + + +Node15->Node16 + + + Node17 - - -MachineID.hpp + + +chrono - - -Node14->Node17 - - - + + +Node15->Node17 + + + - - -Node17->Node15 - - - + + +Node18 + + +MachineID.hpp - - -Node19 - - -esp_log.h + + +Node15->Node18 + + + - - -Node18->Node19 - - - + + +Node18->Node16 + + + - - -Node21->Node9 - - - + + +Node20 + + +esp_log.h - - -Node21->Node11 - - - + + +Node19->Node20 + + + - - -Node21->Node14 - - - + + +Node23->Node9 + + + - - -Node21->Node15 - - - + + +Node23->Node12 + + + - - -Node21->Node20 - - - + + +Node23->Node15 + + + - - -Node22 - - -MachineConfig.hpp + + +Node23->Node16 + + + - - -Node21->Node22 - - - + + +Node23->Node22 + + + - - -Node21->Node25 - - - + + +Node24 + + +MachineConfig.hpp - - -Node22->Node8 - - - + + +Node23->Node24 + + + - - -Node22->Node14 - - - + + +Node23->Node27 + + + - - -Node22->Node15 - - - + + +Node24->Node8 + + + - - -Node22->Node16 - - - + + +Node24->Node15 + + + - - -Node22->Node17 - - - + + +Node24->Node16 + + + - - -Node22->Node23 - - - + + +Node24->Node17 + + + - - -Node23->Node5 - - - + + +Node24->Node18 + + + - - -Node23->Node15 - - - + + +Node24->Node25 + + + - - -Node24 - - -PinsConfig.hpp + + +Node25->Node5 + + + - - -Node23->Node24 - - - + + +Node25->Node16 + + + - - -Node24->Node15 - - - + + +Node26 + + +PinsConfig.hpp - - -Node24->Node20 - - - + + +Node25->Node26 + + + - - -Node25->Node11 - - - + + +Node26->Node16 + + + - - -Node25->Node15 - - - + + +Node26->Node22 + + + - - -Node25->Node16 - - - + + +Node27->Node11 + + + - - -Node25->Node20 - - - + + +Node27->Node12 + + + - - -Node25->Node22 - - - + + +Node27->Node16 + + + - - -Node26->Node9 - - - + + +Node27->Node17 + + + - - -Node26->Node10 - - - + + +Node27->Node22 + + + - - -Node26->Node11 - - - + + +Node27->Node24 + + + - - -Node26->Node14 - - - + + +Node28->Node9 + + + - - -Node26->Node20 - - - + + +Node28->Node10 + + + - - -Node27 - - -unordered_map + + +Node28->Node12 + + + - - -Node26->Node27 - - - + + +Node28->Node15 + + + - - -Node28->Node11 - - - + + +Node28->Node22 + + + - - -Node28->Node12 - - - + + +Node29 + + +unordered_map - - -Node28->Node14 - - - + + +Node28->Node29 + + + - - -Node28->Node20 - - - + + +Node30->Node11 + + + - - -Node29->Node12 - - - + + +Node30->Node12 + + + - - -Node30 - - -optional + + +Node30->Node13 + + + - - -Node29->Node30 - - - + + +Node30->Node15 + + + - - -Node31->Node6 - - - + + +Node30->Node22 + + + - + Node31->Node11 - - - + + + - - -Node31->Node12 - - - + + +Node31->Node13 + + + - - -Node31->Node21 - - - + + +Node32->Node6 + + + - - -Node31->Node23 - - - + + +Node32->Node12 + + + - - -Node31->Node25 - - - + + +Node32->Node13 + + + - - -Node31->Node29 - - - + + +Node32->Node23 + + + - - -Node31->Node32 - - - + + +Node32->Node25 + + + - - -Node43 - - -LCDWrapper.hpp + + +Node32->Node27 + + + - - -Node31->Node43 - - - + + +Node32->Node31 + + + - - -Node46 - - -Led.hpp + + +Node32->Node33 + + + + + + + + +Node44 + + +LCDWrapper.hpp - - -Node31->Node46 - - - + + +Node32->Node44 + + + Node47 - - -Buzzer.hpp + + +Led.hpp - - -Node31->Node47 - - - + + +Node32->Node47 + + + - - -Node32->Node4 - - - + + +Node48 + + +Buzzer.hpp - - -Node32->Node8 - - - + + +Node32->Node48 + + + - - -Node32->Node11 - - - + + +Node33->Node4 + + + - - -Node32->Node14 - - - + + +Node33->Node8 + + + - - -Node32->Node16 - - - + + +Node33->Node12 + + + - - -Node32->Node20 - - - + + +Node33->Node15 + + + - - -Node33 - - -functional + + +Node33->Node17 + + + - - -Node32->Node33 - - - + + +Node33->Node22 + + + @@ -1218,17 +1263,17 @@ Node34 - -ArduinoJson.h + +functional - - -Node32->Node34 - - - + + +Node33->Node34 + + + @@ -1236,215 +1281,215 @@ Node35 - -MQTTClient.h + +ArduinoJson.h - - -Node32->Node35 - - - + + +Node33->Node35 + + + Node36 - - -MQTTtypes.hpp + + +MQTTClient.h - - -Node32->Node36 - - - + + +Node33->Node36 + + + - - -Node32->Node38 - - - + + +Node37 + + +MQTTtypes.hpp - - -Node41 - - -BufferedMsg.hpp + + +Node33->Node37 + + + - - -Node32->Node41 - - - + + +Node33->Node39 + + + - - -Node36->Node8 - - - + + +Node42 + + +BufferedMsg.hpp - - -Node36->Node9 - - - + + +Node33->Node42 + + + - - -Node36->Node11 - - - + + +Node37->Node8 + + + - - -Node36->Node12 - - - + + +Node37->Node9 + + + - - -Node36->Node25 - - - + + +Node37->Node12 + + + - - -Node36->Node34 - - - + + +Node37->Node13 + + + - - -Node37 - - -memory + + +Node37->Node27 + + + - - -Node36->Node37 - - - + + +Node37->Node35 + + + - - -Node38->Node8 - - - + + +Node38 + + +memory - - -Node38->Node14 - - - + + +Node37->Node38 + + + - - -Node38->Node15 - - - + + +Node39->Node8 + + + - - -Node38->Node22 - - - + + +Node39->Node11 + + + - - -Node38->Node28 - - - + + +Node39->Node15 + + + - - -Node38->Node30 - - - + + +Node39->Node16 + + + - - -Node38->Node34 - - - + + +Node39->Node24 + + + - - -Node39 - - -mutex + + +Node39->Node30 + + + - - -Node38->Node39 - - - + + +Node39->Node35 + + + @@ -1452,251 +1497,251 @@ Node40 - -EEPROM.h + +mutex - - -Node38->Node40 - - - + + +Node39->Node40 + + + - - -Node38->Node41 - - - + + +Node41 + + +EEPROM.h - - -Node41->Node8 - - - + + +Node39->Node41 + + + - - -Node41->Node17 - - - + + +Node39->Node42 + + + - - -Node41->Node30 - - - + + +Node42->Node8 + + + - - -Node41->Node34 - - - + + +Node42->Node11 + + + - - -Node41->Node36 - - - + + +Node42->Node18 + + + - - -Node41->Node37 - - - + + +Node42->Node35 + + + - - -Node42 - - -queue + + +Node42->Node37 + + + - - -Node41->Node42 - - - + + +Node42->Node38 + + + - - -Node43->Node16 - - - + + +Node44->Node17 + + + - - -Node43->Node20 - - - + + +Node44->Node22 + + + - - -Node43->Node23 - - - + + +Node44->Node25 + + + - - -Node43->Node25 - - - + + +Node44->Node27 + + + - - -Node44 - - -BoardInfo.hpp + + +Node45 + + +BoardInfo.hpp - - -Node43->Node44 - - - + + +Node44->Node45 + + + - - -Node45 - - -LiquidCrystal.h + + +Node46 + + +LiquidCrystal.h - - -Node43->Node45 - - - + + +Node44->Node46 + + + - - -Node44->Node25 - - - + + +Node45->Node27 + + + - - -Node46->Node3 - - - + + +Node47->Node3 + + + - - -Node46->Node5 - - - + + +Node47->Node5 + + + - - -Node46->Node23 - - - + + +Node47->Node25 + + + - - -Node46->Node37 - - - + + +Node47->Node38 + + + - - -Node48 - - -inttypes.h + + +Node50->Node3 + + + - - -Node47->Node48 - - - + + +Node50->Node7 + + + - - -Node49->Node16 - - - + + +Node50->Node17 + + + - - -Node49->Node33 - - - + + +Node50->Node34 + + + diff --git a/_board_logic_8cpp_source.xhtml b/_board_logic_8cpp_source.xhtml index f55af56b..b7d4774e 100644 --- a/_board_logic_8cpp_source.xhtml +++ b/_board_logic_8cpp_source.xhtml @@ -105,680 +105,681 @@ $(document).ready(function() { init_codefold(0); });
20#ifndef GIT_VERSION
21#define GIT_VERSION "??????"
22#endif
-
23
-
24namespace fabomatic
-
25{
-
26 using milliseconds = std::chrono::milliseconds;
-
27
-
- -
29 {
-
30 if (rfid.has_value())
-
31 return rfid.value().get();
-
32
-
33 ESP_LOGE(TAG, "RFID not initialized");
-
34 while (true)
-
35 {
-
36 Tasks::delay(1s);
-
37 };
-
38 }
-
-
39
-
- -
42 {
-
43 ESP_LOGD(TAG, "BoardLogic::refreshFromServer() called");
-
44
-
45 if (server.connect())
-
46 {
-
47 // Check the configured machine data from the server
-
48 const auto result = server.checkMachine();
-
49 if (result->request_ok)
-
50 {
-
51 if (result->is_valid)
-
52 {
-
53 machine.setMaintenanceNeeded(result->maintenance);
-
54 machine.setAllowed(result->allowed);
-
55 machine.setAutologoffDelay(std::chrono::minutes(result->logoff));
-
56 machine.setGracePeriod(std::chrono::minutes(result->grace));
-
57 machine.setMachineName(result->name);
-
58 machine.setMaintenanceInfo(result->description);
-
59 MachineType mt = static_cast<MachineType>(result->type);
- -
61
-
62 ESP_LOGD(TAG, "Machine data updated:%s", machine.toString().c_str());
-
63 }
-
64 else
-
65 {
-
66 ESP_LOGW(TAG, "The configured machine ID %u is unknown to the server\r\n", machine.getMachineId().id);
-
67 }
-
68 }
-
69 }
-
70 }
-
-
71
-
- -
74 {
-
75 ESP_LOGD(TAG, "New card present");
-
76
- -
78 {
-
79 return;
-
80 }
- -
82
-
83 if (machine.isFree())
-
84 {
-
85 // machine is free
-
86 if (!authorize(uid))
-
87 {
-
88 ESP_LOGI(TAG, "Login failed for %s", card::uid_str(uid).c_str());
-
89 }
- - -
92 return;
-
93 }
-
94
-
95 // machine is busy
-
96 if (machine.getActiveUser().card_uid == uid)
-
97 {
-
98 // we can logout. we should require that the card stays in the field for some seconds, to prevent accidental logout. maybe sound a buzzer?
-
99 logout();
-
100 }
-
101 else
-
102 {
-
103 // user is not the same, display who is using it
-
104 changeStatus(Status::AlreadyInUse);
-
105 }
- -
107 return;
-
108 }
-
-
109
-
- -
112 {
-
113 const auto result = server.finishUse(machine.getActiveUser().card_uid,
- -
115
-
116 ESP_LOGI(TAG, "Logout, result finishUse: %d", result->request_ok);
-
117
-
118 machine.logout();
-
119 changeStatus(Status::LoggedOut);
-
120 beepOk();
- -
122 }
-
-
123
-
-
126 bool BoardLogic::longTap(const card::uid_t card, const std::string &short_prompt) const
-
127 {
-
128 constexpr auto STEPS_COUNT = 6;
-
129 constexpr milliseconds delay_per_step = std::chrono::duration_cast<std::chrono::milliseconds>(conf::machine::LONG_TAP_DURATION) / STEPS_COUNT;
- -
131
-
132 for (auto step = 0; step < STEPS_COUNT; step++)
-
133 {
-
134 std::stringstream ss;
-
135 ss << short_prompt << " " << step << "/" << STEPS_COUNT;
-
136 getLcd().setRow(1, ss.str());
-
137 getLcd().update(bi);
-
138
-
139 const auto start = std::chrono::system_clock::now();
-
140 if (!getRfid().cardStillThere(card, delay_per_step))
-
141 {
-
142 getLcd().setRow(1, strings::S_CANCELLED);
-
143 getLcd().update(bi);
-
144 return false;
-
145 }
-
146
-
147 // cardStillThere may have returned immediately, so we need to wait a bit
-
148 const auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now() - start);
-
149 if (delay_per_step - elapsed > 10ms)
-
150 {
-
151 Tasks::delay(delay_per_step - elapsed);
-
152 }
-
153 }
-
154
-
155 getLcd().setRow(1, strings::S_CONFIRMED);
-
156 getLcd().update(bi);
-
157 return true;
-
158 }
-
-
159
-
- -
164 {
-
165 changeStatus(Status::Verifying);
-
166 FabUser user;
-
167
-
168 user.authenticated = false;
-
169 user.holder_name = "?";
-
170 user.card_uid = uid;
- -
172
-
173 const auto response = auth.tryLogin(uid, server);
-
174 if (!response.has_value() || response.value().user_level == FabUser::UserLevel::Unknown)
-
175 {
-
176 ESP_LOGI(TAG, "Failed login for %s", card::uid_str(uid).c_str());
-
177 changeStatus(Status::LoginDenied);
-
178 beepFail();
-
179 return false;
-
180 }
-
181
-
182 user = response.value();
-
183
-
184 if (!machine.isAllowed())
-
185 {
-
186 ESP_LOGI(TAG, "Login refused due to machine not allowed");
-
187 changeStatus(Status::NotAllowed);
-
188 beepFail();
-
189 return false;
-
190 }
-
191
- -
193 {
- - -
196 {
-
197 changeStatus(Status::MaintenanceNeeded);
-
198 beepFail();
- -
200 return false;
-
201 }
- -
203 {
-
204 beepOk();
-
205 changeStatus(Status::MaintenanceQuery);
-
206
-
207 if (longTap(user.card_uid, strings::S_LONGTAP_PROMPT))
-
208 {
-
209 const auto maint_resp = server.registerMaintenance(user.card_uid);
-
210 if (!maint_resp->request_ok)
-
211 {
-
212 beepFail();
-
213 changeStatus(Status::Error);
- -
215 // Allow bypass for admins
- -
217 {
- -
219 }
-
220 }
-
221 else
-
222 {
-
223 changeStatus(Status::MaintenanceDone);
- -
225 beepOk();
- -
227 }
-
228 // Proceed to log-on the staff member to the machine in all cases
-
229 }
-
230 }
-
231 }
-
232
-
233 if (machine.login(user))
-
234 {
-
235 const auto result = server.startUse(machine.getActiveUser().card_uid);
-
236 ESP_LOGI(TAG, "Login, result startUse: %d", result->request_ok);
-
237 changeStatus(Status::LoggedIn);
-
238 beepOk();
-
239 }
-
240 else
-
241 {
-
242 changeStatus(Status::NotAllowed);
-
243 beepFail();
- -
245 }
-
246
-
247 return true;
-
248 }
-
-
249
-
- -
252 {
-
253 ESP_LOGD(TAG, "Board initialization...");
-
254
-
255 auto success = getLcd().begin();
-
256 success &= getRfid().rfidInit();
-
257
-
258 // Setup buzzer pin for ESP32
-
259 if constexpr (pins.buzzer.pin != NO_PIN)
-
260 {
-
261 pinMode(pins.buzzer.pin, OUTPUT);
-
262 gpio_set_drive_capability(static_cast<gpio_num_t>(pins.buzzer.pin), GPIO_DRIVE_CAP_2);
-
263 }
-
264
-
265 ESP_LOGI(TAG, "Board initialization complete, success = %d", success);
-
266
-
267 return success;
-
268 }
-
-
269
-
- -
273 {
-
274 if (status != new_state)
-
275 {
-
276 ESP_LOGI(TAG, "** Changing board state to %d", static_cast<int>(new_state));
-
277 }
-
278
-
279 status = new_state;
-
280 updateLCD();
-
281 }
-
-
282
-
- -
285 {
-
286 std::stringstream buffer; // Null terminated strings
-
287 std::string user_name, machine_name, uid_str;
-
288
-
289 auto &lcd = getLcd();
-
290 lcd.showConnection(true);
-
291 lcd.showPower(true);
-
292
-
293 user_name = machine.getActiveUser().holder_name;
-
294 machine_name = machine.isConfigured() ? machine.getMachineName() : "-";
-
295
-
296 if (rfid.has_value())
-
297 {
-
298 auto uid = rfid.value().get().getUid();
-
299 uid_str = card::uid_str(uid);
-
300 }
-
301 else
-
302 {
-
303 uid_str = "????????";
-
304 }
-
305 std::stringstream idv;
-
306 idv << "ID:" << this->getMachine().getMachineId()
-
307 << " V" << GIT_VERSION;
-
308
-
309 switch (status)
-
310 {
-
311 case Status::Clear:
-
312 lcd.clear();
-
313 break;
-
314 case Status::MachineFree:
-
315 lcd.setRow(0, machine_name);
-
316 if (!machine.isAllowed())
-
317 {
-
318 lcd.setRow(1, strings::S_MACHINE_BLOCKED);
-
319 }
-
320 else if (machine.isMaintenanceNeeded())
-
321 {
-
322 lcd.setRow(0, strings::S_MACHINE_MAINTENANCE);
-
323 lcd.setRow(1, machine.getMaintenanceInfo());
-
324 }
-
325 else
-
326 {
-
327 lcd.setRow(1, strings::S_CARD_PROMPT);
-
328 }
-
329 break;
-
330 case Status::AlreadyInUse:
-
331 lcd.setRow(0, strings::S_USED_BY);
-
332 lcd.setRow(1, user_name);
-
333 break;
-
334 case Status::LoggedIn:
-
335 lcd.setRow(0, strings::S_START_USE);
-
336 lcd.setRow(1, user_name);
-
337 break;
-
338 case Status::LoginDenied:
-
339 lcd.setRow(0, strings::S_LOGIN_DENIED);
-
340 lcd.setRow(1, uid_str);
-
341 break;
-
342 case Status::LoggedOut:
-
343 lcd.setRow(0, strings::S_GOODBYE);
-
344 lcd.setRow(1, user_name);
-
345 break;
-
346 case Status::Connecting:
-
347 lcd.setRow(0, strings::S_CONNECTING_MQTT_1);
-
348 lcd.setRow(1, strings::S_CONNECTING_MQTT_2);
-
349 break;
-
350 case Status::Connected:
-
351 lcd.setRow(0, strings::S_CONNECTED);
-
352 lcd.setRow(1, "");
-
353 break;
-
354 case Status::MachineInUse:
-
355 buffer << strings::S_HELLO << " " << user_name;
-
356 lcd.setRow(0, buffer.str());
-
357 lcd.setRow(1, lcd.convertSecondsToHHMMSS(machine.getUsageDuration()));
-
358 break;
-
359 case Status::Busy:
-
360 lcd.setRow(0, strings::S_WORKING);
-
361 lcd.setRow(1, "");
-
362 break;
-
363 case Status::Offline:
-
364 lcd.setRow(0, strings::S_OFFLINE_MODE);
-
365 lcd.setRow(1, "");
-
366 break;
-
367 case Status::NotAllowed:
-
368 lcd.setRow(0, strings::S_BLOCKED_ADMIN_1);
-
369 lcd.setRow(1, strings::S_BLOCKED_ADMIN_2);
-
370 break;
-
371 case Status::Verifying:
-
372 lcd.setRow(0, strings::S_VERIFYING_1);
-
373 lcd.setRow(1, strings::S_VERIFYING_2);
-
374 break;
-
375 case Status::MaintenanceNeeded:
-
376 lcd.setRow(0, strings::S_BLOCKED_MAINTENANCE_1);
-
377 lcd.setRow(1, strings::S_BLOCKED_MAINTENANCE_2);
-
378 break;
-
379 case Status::MaintenanceQuery:
-
380 lcd.setRow(0, strings::S_PROMPT_MAINTENANCE_1);
-
381 lcd.setRow(1, strings::S_PROMPT_MAINTENANCE_2);
-
382 break;
-
383 case Status::MaintenanceDone:
-
384 lcd.setRow(0, strings::S_MAINTENANCE_REGISTERED_1);
-
385 lcd.setRow(1, strings::S_MAINTENANCE_REGISTERED_2);
-
386 break;
-
387 case Status::Error:
-
388 lcd.setRow(0, strings::S_GENERIC_ERROR);
-
389 lcd.setRow(1, idv.str());
-
390 break;
-
391 case Status::ErrorHardware:
-
392 lcd.setRow(0, strings::S_HW_ERROR);
-
393 lcd.setRow(1, idv.str());
-
394 break;
-
395 case Status::PortalFailed:
-
396 lcd.setRow(0, strings::S_PORTAL_ERROR);
-
397 lcd.setRow(1, WiFi.softAPIP().toString().c_str());
-
398 break;
-
399 case Status::PortalSuccess:
-
400 lcd.setRow(0, strings::S_PORTAL_SUCCESS);
-
401 lcd.setRow(1, idv.str());
-
402 break;
-
403 case Status::PortalStarting:
-
404 lcd.setRow(0, strings::S_OPEN_PORTAL);
-
405 lcd.setRow(1, WiFi.softAPIP().toString().c_str());
-
406 break;
-
407 case Status::Booting:
-
408 lcd.setRow(0, strings::S_BOOTING);
-
409 lcd.setRow(1, idv.str());
-
410 break;
-
411 case Status::ShuttingDown:
-
412 lcd.setRow(0, machine_name);
-
413 lcd.setRow(1, strings::S_SHUTTING_DOWN);
-
414 break;
-
415 case Status::OTAStarting:
-
416 lcd.setRow(0, strings::UPDATE_OTA_1);
-
417 lcd.setRow(1, strings::UPDATE_OTA_2);
-
418 break;
-
419 case Status::FactoryDefaults:
-
420 lcd.setRow(0, strings::FACTORY_RESET_DONE_1);
-
421 lcd.setRow(1, strings::FACTORY_RESET_DONE_2);
-
422 break;
-
423 case Status::OTAError:
-
424 lcd.setRow(0, strings::S_OTA_ERROR);
-
425 lcd.setRow(1, "");
-
426 break;
-
427 default:
-
428 lcd.setRow(0, strings::S_STATUS_ERROR_1);
-
429 buffer << strings::S_STATUS_ERROR_2 << static_cast<int>(status);
-
430 lcd.setRow(1, buffer.str());
-
431 break;
-
432 }
- -
434 lcd.update(bi, false);
-
435 }
-
-
436
-
- -
440 {
-
441 return status;
-
442 }
-
-
443
-
- -
445 {
-
446 buzzer.beepOk();
-
447 }
-
-
448
-
- -
450 {
- -
452 }
-
-
453
-
- -
456 {
-
457 this->rfid = rfid;
-
458 this->lcd = lcd;
-
459 return reconfigure();
-
460 }
-
-
461
-
- -
464 {
-
465 auto success = true;
-
466
-
467 // Load configuration
-
468 auto config = SavedConfig::LoadFromEEPROM();
-
469 if (!config)
-
470 {
-
471 ESP_LOGW(TAG, "No configuration found in EEPROM, using defaults.");
-
472 auto new_config = SavedConfig::DefaultConfig();
-
473 success &= new_config.SaveToEEPROM();
-
474 config = new_config;
-
475 }
-
476
-
477 ESP_LOGD(TAG, "Configuration found in EEPROM: %s", config->toString().c_str());
-
478
-
479 server.configure(config.value());
-
480
-
481 MachineID mid = config.value().getMachineID();
-
482 MachineConfig machine_conf(mid,
- - -
485 pins.relay,
-
486 std::string{config.value().mqtt_switch_topic},
- - -
489
-
490 machine.configure(machine_conf, server);
- -
492 auth.loadCache();
-
493
-
494 return success;
-
495 }
-
-
496
-
-
498 void BoardLogic::blinkLed(uint8_t r, uint8_t g, uint8_t b)
-
499 {
-
500 led.set(Led::Status::Blinking);
-
501
-
502 if (server.isOnline())
-
503 {
- -
505 {
-
506 led.setColor(64, 0, 0); // Red
-
507 }
-
508 else
-
509 {
-
510 if (machine.isFree())
-
511 {
- -
513 {
-
514 led.setColor(64, 0, 64); // Purple
-
515 }
-
516 else
-
517 {
-
518 led.setColor(0, 64, 0); // Green
-
519 }
-
520 }
-
521 else
-
522 {
-
523 led.setColor(0, 0, 64); // Blue
-
524 }
-
525 }
-
526 }
-
527 else
-
528 {
-
529 led.setColor(128, 255, 0); // Orange
-
530 }
-
531
-
532 // User override
-
533 if (r != 0 || g != 0 || b != 0)
-
534 {
-
535 led.setColor(r, g, b);
-
536 }
-
537
-
538 // Color override
-
539 if (status == Status::ErrorHardware || status == Status::Error)
-
540 {
-
541 led.setColor(255, 0, 0); // Red
-
542 }
-
543
-
544 led.update();
-
545 }
-
-
546
-
- -
549 {
-
550 auto &rfid = getRfid();
-
551
-
552 // check if there is a card
-
553 if (rfid.isNewCardPresent())
-
554 {
-
555 const auto &result = rfid.readCardSerial();
-
556 if (result)
-
557 {
-
558 onNewCard(result.value());
-
559 }
-
560 return;
-
561 }
-
562
-
563 // No new card present
- -
565 if (machine.isFree())
-
566 {
-
567 changeStatus(Status::MachineFree);
-
568 }
-
569 else
-
570 {
-
571 changeStatus(Status::MachineInUse);
-
572 }
-
573 }
-
-
574
-
- -
577 {
-
578 if (machine.canPowerOff())
-
579 {
-
580 machine.power(false);
-
581 }
-
582 }
-
-
583
-
- -
587 {
-
588 return machine;
-
589 }
-
-
590
-
- -
594 {
-
595 return &buzzer;
-
596 }
-
-
597
-
-
600 auto BoardLogic::getMachine() const -> const Machine &
-
601 {
-
602 return machine;
-
603 }
-
-
604
-
- -
606 {
-
607 if (lcd.has_value())
-
608 {
-
609 return lcd.value().get();
-
610 }
-
611 else
-
612 {
-
613 ESP_LOGE(TAG, "LCD not initialized");
-
614 while (true)
-
615 {
-
616 Tasks::delay(1s);
-
617 };
-
618 }
-
619 }
-
-
620
-
-
623 auto BoardLogic::setAutologoffDelay(std::chrono::seconds delay) -> void
-
624 {
-
625 machine.setAutologoffDelay(delay);
-
626 }
-
-
627
-
-
628 auto BoardLogic::setWhitelist(WhiteList whitelist) -> void
-
629 {
-
630 auth.setWhitelist(whitelist);
-
631 }
-
-
632
-
- -
634 {
-
635 return server;
-
636 }
-
-
637
-
-
638 auto BoardLogic::setRebootRequest(bool request) -> void
-
639 {
-
640 rebootRequest = request;
-
641 }
-
-
642
-
-
643 auto BoardLogic::getRebootRequest() const -> bool
-
644 {
-
645 return rebootRequest;
-
646 }
-
-
647
-
- -
649 {
-
650 return this->auth.saveCache();
-
651 }
-
-
652
-
-
653 auto BoardLogic::getHostname() const -> const std::string
-
654 {
-
655 // Hostname is BOARD + machine_id (which shall be unique) e.g. BOARD1
-
656 return conf::default_config::hostname.data() +
-
657 std::to_string(conf::default_config::machine_id.id);
-
658 }
-
-
659
-
660} // namespace fabomatic
+
23#include <driver/gpio.h>
+
24
+
25namespace fabomatic
+
26{
+
27 using milliseconds = std::chrono::milliseconds;
+
28
+
+ +
30 {
+
31 if (rfid.has_value())
+
32 return rfid.value().get();
+
33
+
34 ESP_LOGE(TAG, "RFID not initialized");
+
35 while (true)
+
36 {
+
37 Tasks::delay(1s);
+
38 };
+
39 }
+
+
40
+
+ +
43 {
+
44 ESP_LOGD(TAG, "BoardLogic::refreshFromServer() called");
+
45
+
46 if (server.connect())
+
47 {
+
48 // Check the configured machine data from the server
+
49 const auto result = server.checkMachine();
+
50 if (result->request_ok)
+
51 {
+
52 if (result->is_valid)
+
53 {
+
54 machine.setMaintenanceNeeded(result->maintenance);
+
55 machine.setAllowed(result->allowed);
+
56 machine.setAutologoffDelay(std::chrono::minutes(result->logoff));
+
57 machine.setGracePeriod(std::chrono::minutes(result->grace));
+
58 machine.setMachineName(result->name);
+
59 machine.setMaintenanceInfo(result->description);
+
60 MachineType mt = static_cast<MachineType>(result->type);
+ +
62
+
63 ESP_LOGD(TAG, "Machine data updated:%s", machine.toString().c_str());
+
64 }
+
65 else
+
66 {
+
67 ESP_LOGW(TAG, "The configured machine ID %u is unknown to the server\r\n", machine.getMachineId().id);
+
68 }
+
69 }
+
70 }
+
71 }
+
+
72
+
+ +
75 {
+
76 ESP_LOGD(TAG, "New card present");
+
77
+ +
79 {
+
80 return;
+
81 }
+ +
83
+
84 if (machine.isFree())
+
85 {
+
86 // machine is free
+
87 if (!authorize(uid))
+
88 {
+
89 ESP_LOGI(TAG, "Login failed for %s", card::uid_str(uid).c_str());
+
90 }
+ + +
93 return;
+
94 }
+
95
+
96 // machine is busy
+
97 if (machine.getActiveUser().card_uid == uid)
+
98 {
+
99 // we can logout. we should require that the card stays in the field for some seconds, to prevent accidental logout. maybe sound a buzzer?
+
100 logout();
+
101 }
+
102 else
+
103 {
+
104 // user is not the same, display who is using it
+
105 changeStatus(Status::AlreadyInUse);
+
106 }
+ +
108 return;
+
109 }
+
+
110
+
+ +
113 {
+
114 const auto result = server.finishUse(machine.getActiveUser().card_uid,
+ +
116
+
117 ESP_LOGI(TAG, "Logout, result finishUse: %d", result->request_ok);
+
118
+
119 machine.logout();
+
120 changeStatus(Status::LoggedOut);
+
121 beepOk();
+ +
123 }
+
+
124
+
+
127 bool BoardLogic::longTap(const card::uid_t card, const std::string &short_prompt) const
+
128 {
+
129 constexpr auto STEPS_COUNT = 6;
+
130 constexpr milliseconds delay_per_step = std::chrono::duration_cast<std::chrono::milliseconds>(conf::machine::LONG_TAP_DURATION) / STEPS_COUNT;
+ +
132
+
133 for (auto step = 0; step < STEPS_COUNT; step++)
+
134 {
+
135 std::stringstream ss;
+
136 ss << short_prompt << " " << step << "/" << STEPS_COUNT;
+
137 getLcd().setRow(1, ss.str());
+
138 getLcd().update(bi);
+
139
+
140 const auto start = fabomatic::Tasks::arduinoNow();
+
141 if (!getRfid().cardStillThere(card, delay_per_step))
+
142 {
+
143 getLcd().setRow(1, strings::S_CANCELLED);
+
144 getLcd().update(bi);
+
145 return false;
+
146 }
+
147
+
148 // cardStillThere may have returned immediately, so we need to wait a bit
+
149 const auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(fabomatic::Tasks::arduinoNow() - start);
+
150 if (delay_per_step - elapsed > 10ms)
+
151 {
+
152 Tasks::delay(delay_per_step - elapsed);
+
153 }
+
154 }
+
155
+
156 getLcd().setRow(1, strings::S_CONFIRMED);
+
157 getLcd().update(bi);
+
158 return true;
+
159 }
+
+
160
+
+ +
165 {
+
166 changeStatus(Status::Verifying);
+
167 FabUser user;
+
168
+
169 user.authenticated = false;
+
170 user.holder_name = "?";
+
171 user.card_uid = uid;
+ +
173
+
174 const auto response = auth.tryLogin(uid, server);
+
175 if (!response.has_value() || response.value().user_level == FabUser::UserLevel::Unknown)
+
176 {
+
177 ESP_LOGI(TAG, "Failed login for %s", card::uid_str(uid).c_str());
+
178 changeStatus(Status::LoginDenied);
+
179 beepFail();
+
180 return false;
+
181 }
+
182
+
183 user = response.value();
+
184
+
185 if (!machine.isAllowed())
+
186 {
+
187 ESP_LOGI(TAG, "Login refused due to machine not allowed");
+
188 changeStatus(Status::NotAllowed);
+
189 beepFail();
+
190 return false;
+
191 }
+
192
+ +
194 {
+ + +
197 {
+
198 changeStatus(Status::MaintenanceNeeded);
+
199 beepFail();
+ +
201 return false;
+
202 }
+ +
204 {
+
205 beepOk();
+
206 changeStatus(Status::MaintenanceQuery);
+
207
+
208 if (longTap(user.card_uid, strings::S_LONGTAP_PROMPT))
+
209 {
+
210 const auto maint_resp = server.registerMaintenance(user.card_uid);
+
211 if (!maint_resp->request_ok)
+
212 {
+
213 beepFail();
+
214 changeStatus(Status::Error);
+ +
216 // Allow bypass for admins
+ +
218 {
+ +
220 }
+
221 }
+
222 else
+
223 {
+
224 changeStatus(Status::MaintenanceDone);
+ +
226 beepOk();
+ +
228 }
+
229 // Proceed to log-on the staff member to the machine in all cases
+
230 }
+
231 }
+
232 }
+
233
+
234 if (machine.login(user))
+
235 {
+
236 const auto result = server.startUse(machine.getActiveUser().card_uid);
+
237 ESP_LOGI(TAG, "Login, result startUse: %d", result->request_ok);
+
238 changeStatus(Status::LoggedIn);
+
239 beepOk();
+
240 }
+
241 else
+
242 {
+
243 changeStatus(Status::NotAllowed);
+
244 beepFail();
+ +
246 }
+
247
+
248 return true;
+
249 }
+
+
250
+
+ +
253 {
+
254 ESP_LOGD(TAG, "Board initialization...");
+
255
+
256 auto success = getLcd().begin();
+
257 success &= getRfid().rfidInit();
+
258
+
259 // Setup buzzer pin for ESP32
+
260 if constexpr (pins.buzzer.pin != NO_PIN)
+
261 {
+
262 pinMode(pins.buzzer.pin, OUTPUT);
+
263 gpio_set_drive_capability(static_cast<gpio_num_t>(pins.buzzer.pin), GPIO_DRIVE_CAP_2);
+
264 }
+
265
+
266 ESP_LOGI(TAG, "Board initialization complete, success = %d", success);
+
267
+
268 return success;
+
269 }
+
+
270
+
+ +
274 {
+
275 if (status != new_state)
+
276 {
+
277 ESP_LOGI(TAG, "** Changing board state to %d", static_cast<int>(new_state));
+
278 }
+
279
+
280 status = new_state;
+
281 updateLCD();
+
282 }
+
+
283
+
+ +
286 {
+
287 std::stringstream buffer; // Null terminated strings
+
288 std::string user_name, machine_name, uid_str;
+
289
+
290 auto &lcd = getLcd();
+
291 lcd.showConnection(true);
+
292 lcd.showPower(true);
+
293
+
294 user_name = machine.getActiveUser().holder_name;
+
295 machine_name = machine.isConfigured() ? machine.getMachineName() : "-";
+
296
+
297 if (rfid.has_value())
+
298 {
+
299 auto uid = rfid.value().get().getUid();
+
300 uid_str = card::uid_str(uid);
+
301 }
+
302 else
+
303 {
+
304 uid_str = "????????";
+
305 }
+
306 std::stringstream idv;
+
307 idv << "ID:" << this->getMachine().getMachineId()
+
308 << " V" << GIT_VERSION;
+
309
+
310 switch (status)
+
311 {
+
312 case Status::Clear:
+
313 lcd.clear();
+
314 break;
+
315 case Status::MachineFree:
+
316 lcd.setRow(0, machine_name);
+
317 if (!machine.isAllowed())
+
318 {
+
319 lcd.setRow(1, strings::S_MACHINE_BLOCKED);
+
320 }
+
321 else if (machine.isMaintenanceNeeded())
+
322 {
+
323 lcd.setRow(0, strings::S_MACHINE_MAINTENANCE);
+
324 lcd.setRow(1, machine.getMaintenanceInfo());
+
325 }
+
326 else
+
327 {
+
328 lcd.setRow(1, strings::S_CARD_PROMPT);
+
329 }
+
330 break;
+
331 case Status::AlreadyInUse:
+
332 lcd.setRow(0, strings::S_USED_BY);
+
333 lcd.setRow(1, user_name);
+
334 break;
+
335 case Status::LoggedIn:
+
336 lcd.setRow(0, strings::S_START_USE);
+
337 lcd.setRow(1, user_name);
+
338 break;
+
339 case Status::LoginDenied:
+
340 lcd.setRow(0, strings::S_LOGIN_DENIED);
+
341 lcd.setRow(1, uid_str);
+
342 break;
+
343 case Status::LoggedOut:
+
344 lcd.setRow(0, strings::S_GOODBYE);
+
345 lcd.setRow(1, user_name);
+
346 break;
+
347 case Status::Connecting:
+
348 lcd.setRow(0, strings::S_CONNECTING_MQTT_1);
+
349 lcd.setRow(1, strings::S_CONNECTING_MQTT_2);
+
350 break;
+
351 case Status::Connected:
+
352 lcd.setRow(0, strings::S_CONNECTED);
+
353 lcd.setRow(1, "");
+
354 break;
+
355 case Status::MachineInUse:
+
356 buffer << strings::S_HELLO << " " << user_name;
+
357 lcd.setRow(0, buffer.str());
+
358 lcd.setRow(1, lcd.convertSecondsToHHMMSS(machine.getUsageDuration()));
+
359 break;
+
360 case Status::Busy:
+
361 lcd.setRow(0, strings::S_WORKING);
+
362 lcd.setRow(1, "");
+
363 break;
+
364 case Status::Offline:
+
365 lcd.setRow(0, strings::S_OFFLINE_MODE);
+
366 lcd.setRow(1, "");
+
367 break;
+
368 case Status::NotAllowed:
+
369 lcd.setRow(0, strings::S_BLOCKED_ADMIN_1);
+
370 lcd.setRow(1, strings::S_BLOCKED_ADMIN_2);
+
371 break;
+
372 case Status::Verifying:
+
373 lcd.setRow(0, strings::S_VERIFYING_1);
+
374 lcd.setRow(1, strings::S_VERIFYING_2);
+
375 break;
+
376 case Status::MaintenanceNeeded:
+
377 lcd.setRow(0, strings::S_BLOCKED_MAINTENANCE_1);
+
378 lcd.setRow(1, strings::S_BLOCKED_MAINTENANCE_2);
+
379 break;
+
380 case Status::MaintenanceQuery:
+
381 lcd.setRow(0, strings::S_PROMPT_MAINTENANCE_1);
+
382 lcd.setRow(1, strings::S_PROMPT_MAINTENANCE_2);
+
383 break;
+
384 case Status::MaintenanceDone:
+
385 lcd.setRow(0, strings::S_MAINTENANCE_REGISTERED_1);
+
386 lcd.setRow(1, strings::S_MAINTENANCE_REGISTERED_2);
+
387 break;
+
388 case Status::Error:
+
389 lcd.setRow(0, strings::S_GENERIC_ERROR);
+
390 lcd.setRow(1, idv.str());
+
391 break;
+
392 case Status::ErrorHardware:
+
393 lcd.setRow(0, strings::S_HW_ERROR);
+
394 lcd.setRow(1, idv.str());
+
395 break;
+
396 case Status::PortalFailed:
+
397 lcd.setRow(0, strings::S_PORTAL_ERROR);
+
398 lcd.setRow(1, WiFi.softAPIP().toString().c_str());
+
399 break;
+
400 case Status::PortalSuccess:
+
401 lcd.setRow(0, strings::S_PORTAL_SUCCESS);
+
402 lcd.setRow(1, idv.str());
+
403 break;
+
404 case Status::PortalStarting:
+
405 lcd.setRow(0, strings::S_OPEN_PORTAL);
+
406 lcd.setRow(1, WiFi.softAPIP().toString().c_str());
+
407 break;
+
408 case Status::Booting:
+
409 lcd.setRow(0, strings::S_BOOTING);
+
410 lcd.setRow(1, idv.str());
+
411 break;
+
412 case Status::ShuttingDown:
+
413 lcd.setRow(0, machine_name);
+
414 lcd.setRow(1, strings::S_SHUTTING_DOWN);
+
415 break;
+
416 case Status::OTAStarting:
+
417 lcd.setRow(0, strings::UPDATE_OTA_1);
+
418 lcd.setRow(1, strings::UPDATE_OTA_2);
+
419 break;
+
420 case Status::FactoryDefaults:
+
421 lcd.setRow(0, strings::FACTORY_RESET_DONE_1);
+
422 lcd.setRow(1, strings::FACTORY_RESET_DONE_2);
+
423 break;
+
424 case Status::OTAError:
+
425 lcd.setRow(0, strings::S_OTA_ERROR);
+
426 lcd.setRow(1, "");
+
427 break;
+
428 default:
+
429 lcd.setRow(0, strings::S_STATUS_ERROR_1);
+
430 buffer << strings::S_STATUS_ERROR_2 << static_cast<int>(status);
+
431 lcd.setRow(1, buffer.str());
+
432 break;
+
433 }
+ +
435 lcd.update(bi, false);
+
436 }
+
+
437
+
+ +
441 {
+
442 return status;
+
443 }
+
+
444
+
+ +
446 {
+
447 buzzer.beepOk();
+
448 }
+
+
449
+
+ +
451 {
+ +
453 }
+
+
454
+
+ +
457 {
+
458 this->rfid = rfid;
+
459 this->lcd = lcd;
+
460 return reconfigure();
+
461 }
+
+
462
+
+ +
465 {
+
466 auto success = true;
+
467
+
468 // Load configuration
+
469 auto config = SavedConfig::LoadFromEEPROM();
+
470 if (!config)
+
471 {
+
472 ESP_LOGW(TAG, "No configuration found in EEPROM, using defaults.");
+
473 auto new_config = SavedConfig::DefaultConfig();
+
474 success &= new_config.SaveToEEPROM();
+
475 config = new_config;
+
476 }
+
477
+
478 ESP_LOGD(TAG, "Configuration found in EEPROM: %s", config->toString().c_str());
+
479
+
480 server.configure(config.value());
+
481
+
482 MachineID mid = config.value().getMachineID();
+
483 MachineConfig machine_conf(mid,
+ + +
486 pins.relay,
+
487 std::string{config.value().mqtt_switch_topic},
+ + +
490
+
491 machine.configure(machine_conf, server);
+ +
493 auth.loadCache();
+
494
+
495 return success;
+
496 }
+
+
497
+
+
499 void BoardLogic::blinkLed(uint8_t r, uint8_t g, uint8_t b)
+
500 {
+
501 led.set(Led::Status::Blinking);
+
502
+
503 if (server.isOnline())
+
504 {
+ +
506 {
+
507 led.setColor(64, 0, 0); // Red
+
508 }
+
509 else
+
510 {
+
511 if (machine.isFree())
+
512 {
+ +
514 {
+
515 led.setColor(64, 0, 64); // Purple
+
516 }
+
517 else
+
518 {
+
519 led.setColor(0, 64, 0); // Green
+
520 }
+
521 }
+
522 else
+
523 {
+
524 led.setColor(0, 0, 64); // Blue
+
525 }
+
526 }
+
527 }
+
528 else
+
529 {
+
530 led.setColor(128, 255, 0); // Orange
+
531 }
+
532
+
533 // User override
+
534 if (r != 0 || g != 0 || b != 0)
+
535 {
+
536 led.setColor(r, g, b);
+
537 }
+
538
+
539 // Color override
+
540 if (status == Status::ErrorHardware || status == Status::Error)
+
541 {
+
542 led.setColor(255, 0, 0); // Red
+
543 }
+
544
+
545 led.update();
+
546 }
+
+
547
+
+ +
550 {
+
551 auto &rfid = getRfid();
+
552
+
553 // check if there is a card
+
554 if (rfid.isNewCardPresent())
+
555 {
+
556 const auto &result = rfid.readCardSerial();
+
557 if (result)
+
558 {
+
559 onNewCard(result.value());
+
560 }
+
561 return;
+
562 }
+
563
+
564 // No new card present
+ +
566 if (machine.isFree())
+
567 {
+
568 changeStatus(Status::MachineFree);
+
569 }
+
570 else
+
571 {
+
572 changeStatus(Status::MachineInUse);
+
573 }
+
574 }
+
+
575
+
+ +
578 {
+
579 if (machine.canPowerOff())
+
580 {
+
581 machine.power(false);
+
582 }
+
583 }
+
+
584
+
+ +
588 {
+
589 return machine;
+
590 }
+
+
591
+
+ +
595 {
+
596 return &buzzer;
+
597 }
+
+
598
+
+
601 auto BoardLogic::getMachine() const -> const Machine &
+
602 {
+
603 return machine;
+
604 }
+
+
605
+
+ +
607 {
+
608 if (lcd.has_value())
+
609 {
+
610 return lcd.value().get();
+
611 }
+
612 else
+
613 {
+
614 ESP_LOGE(TAG, "LCD not initialized");
+
615 while (true)
+
616 {
+
617 Tasks::delay(1s);
+
618 };
+
619 }
+
620 }
+
+
621
+
+
624 auto BoardLogic::setAutologoffDelay(std::chrono::seconds delay) -> void
+
625 {
+
626 machine.setAutologoffDelay(delay);
+
627 }
+
+
628
+
+
629 auto BoardLogic::setWhitelist(WhiteList whitelist) -> void
+
630 {
+
631 auth.setWhitelist(whitelist);
+
632 }
+
+
633
+
+ +
635 {
+
636 return server;
+
637 }
+
+
638
+
+
639 auto BoardLogic::setRebootRequest(bool request) -> void
+
640 {
+
641 rebootRequest = request;
+
642 }
+
+
643
+
+
644 auto BoardLogic::getRebootRequest() const -> bool
+
645 {
+
646 return rebootRequest;
+
647 }
+
+
648
+
+ +
650 {
+
651 return this->auth.saveCache();
+
652 }
+
+
653
+
+
654 auto BoardLogic::getHostname() const -> const std::string
+
655 {
+
656 // Hostname is BOARD + machine_id (which shall be unique) e.g. BOARD1
+
657 return conf::default_config::hostname.data() +
+
658 std::to_string(conf::default_config::machine_id.id);
+
659 }
+
+
660
+
661} // namespace fabomatic
#define GIT_VERSION
-
static const char *const TAG
Definition Logging.hpp:6
+
static const char *const TAG
Definition Logging.hpp:9
MachineType
Classification of the machine.
Definition MachineID.hpp:9
@@ -788,45 +789,45 @@ $(document).ready(function() { init_codefold(0); });
Base class for the real and mock implementation of RFID tag reader chip.
virtual auto rfidInit() const -> bool=0
Main class implementing the state changes.
-
auto getMachine() const -> const Machine &
Gets the current machine.
-
auto getBuzzerForTesting() -> Buzzer *
returns a modificable machine for testing only
-
auto getStatus() const -> Status
Gets the current board status.
-
auto checkRfid() -> void
Checks if a new card is present.
+
auto getMachine() const -> const Machine &
Gets the current machine.
+
auto getBuzzerForTesting() -> Buzzer *
returns a modificable machine for testing only
+
auto getStatus() const -> Status
Gets the current board status.
+
auto checkRfid() -> void
Checks if a new card is present.
Status
Main states of the board.
-
auto changeStatus(Status newStatus) -> void
Sets the board in the state given.
-
auto initBoard() -> bool
Initializes LCD and RFID classes.
-
auto longTap(const card::uid_t card, const std::string &short_prompt) const -> bool
Asks the user to keep the RFID tag on the reader as confirmation.
-
LCDWrapper & getLcd() const
-
auto getRebootRequest() const -> bool
-
auto updateLCD() const -> void
Updates the LCD screen as per the current status.
-
auto setAutologoffDelay(std::chrono::seconds delay) -> void
Sets the autologoff delay.
+
auto changeStatus(Status newStatus) -> void
Sets the board in the state given.
+
auto initBoard() -> bool
Initializes LCD and RFID classes.
+
auto longTap(const card::uid_t card, const std::string &short_prompt) const -> bool
Asks the user to keep the RFID tag on the reader as confirmation.
+
LCDWrapper & getLcd() const
+
auto getRebootRequest() const -> bool
+
auto updateLCD() const -> void
Updates the LCD screen as per the current status.
+
auto setAutologoffDelay(std::chrono::seconds delay) -> void
Sets the autologoff delay.
-
auto authorize(const card::uid_t uid) -> bool
Checks if the card UID is valid, and tries to check the user in to the machine.
+
auto authorize(const card::uid_t uid) -> bool
Checks if the card UID is valid, and tries to check the user in to the machine.
std::optional< std::reference_wrapper< BaseRFIDWrapper > > rfid
-
BaseRFIDWrapper & getRfid() const
-
auto saveRfidCache() -> bool
-
auto getMachineForTesting() -> Machine &
returns a modificable machine for testing only
+
BaseRFIDWrapper & getRfid() const
+
auto saveRfidCache() -> bool
+
auto getMachineForTesting() -> Machine &
returns a modificable machine for testing only
std::optional< std::reference_wrapper< LCDWrapper > > lcd
-
auto beepOk() const -> void
-
auto setRebootRequest(bool request) -> void
+
auto beepOk() const -> void
+
auto setRebootRequest(bool request) -> void
-
auto onNewCard(card::uid_t uid) -> void
Called when a RFID tag has been detected.
-
auto logout() -> void
Removes the current machine user and changes the status to LoggedOut.
-
auto setWhitelist(WhiteList whitelist) -> void
+
auto onNewCard(card::uid_t uid) -> void
Called when a RFID tag has been detected.
+
auto logout() -> void
Removes the current machine user and changes the status to LoggedOut.
+
auto setWhitelist(WhiteList whitelist) -> void
-
auto refreshFromServer() -> void
connects and polls the server for up-to-date machine information
-
auto getHostname() const -> const std::string
+
auto refreshFromServer() -> void
connects and polls the server for up-to-date machine information
+
auto getHostname() const -> const std::string
-
auto checkPowerOff() -> void
Checks if the machine must be powered off.
-
auto beepFail() const -> void
-
auto getServer() -> FabBackend &
+
auto checkPowerOff() -> void
Checks if the machine must be powered off.
+
auto beepFail() const -> void
+
auto getServer() -> FabBackend &
-
auto blinkLed(uint8_t r=0, uint8_t g=0, uint8_t b=0) -> void
Blinks the LED.
-
auto reconfigure() -> bool
Configures the board with the given references.
-
auto configure(BaseRFIDWrapper &rfid, LCDWrapper &lcd) -> bool
Configures the board with the given references.
+
auto blinkLed(uint8_t r=0, uint8_t g=0, uint8_t b=0) -> void
Blinks the LED.
+
auto reconfigure() -> bool
Configures the board with the given references.
+
auto configure(BaseRFIDWrapper &rfid, LCDWrapper &lcd) -> bool
Configures the board with the given references.
Represents the buzzer for BoardLogic.
Definition Buzzer.hpp:10
auto beepFail() const -> void
Definition Buzzer.cpp:27
auto configure() -> void
Definition Buzzer.cpp:9
@@ -846,38 +847,39 @@ $(document).ready(function() { init_codefold(0); });
auto update() -> void
Definition Led.cpp:64
auto set(Status status) -> void
Definition Led.cpp:39
auto setColor(uint8_t r, uint8_t g, uint8_t b) -> void
Definition Led.cpp:34
-
Represents the FabLab machine connected to the board.
Definition Machine.hpp:16
-
auto power(bool on_or_off) -> void
Powers the machine on or off using relay/MQTT/both.
Definition Machine.cpp:203
-
auto canPowerOff() const -> bool
Indicates if POWEROFF_DELAY_MINUTES delay has expired,and the machine is still idle.
Definition Machine.cpp:110
-
auto getMachineName() const -> const std::string
Definition Machine.cpp:235
-
auto setGracePeriod(std::chrono::seconds new_delay) -> void
Sets the idle period after which the machine will power off automatically.
Definition Machine.cpp:352
-
auto isMaintenanceNeeded() const -> bool
Definition Machine.cpp:336
-
auto getActiveUser() const -> FabUser
Definition Machine.cpp:219
-
auto toString() const -> const std::string
Definition Machine.cpp:241
-
auto getPowerState() const -> PowerState
Returns the current power state of the machine.
Definition Machine.cpp:80
-
auto isAllowed() const -> bool
Definition Machine.cpp:326
-
auto isFree() const -> bool
Indicates is the machine is not used by anybody.
Definition Machine.cpp:56
-
void configure(const MachineConfig &new_config, FabBackend &serv)
Configure the machine, it must be called before most methods.
Definition Machine.cpp:25
-
auto logout() -> void
Logoff the user and stop the usage timer.
Definition Machine.cpp:86
-
auto isShutdownImminent() const -> bool
Indicates if the machine will power down in less than BEEP_REMAINING_MINUTES.
Definition Machine.cpp:123
-
auto getMachineId() const -> MachineID
Returns the machine identifier.
Definition Machine.cpp:48
-
auto setMaintenanceNeeded(bool new_maintenance_needed) -> void
Definition Machine.cpp:341
-
auto getUsageDuration() const -> std::chrono::seconds
Duration of the current usage, or 0s.
Definition Machine.cpp:226
-
auto setMachineType(MachineType new_type) -> void
Sets the machine type as per backend configuration.
Definition Machine.cpp:306
-
auto isConfigured() const -> bool
Indicates if the machine has been configured.
Definition Machine.cpp:316
-
auto setMaintenanceInfo(const std::string &new_description) -> void
Definition Machine.cpp:370
-
auto login(const FabUser &user) -> bool
Try to login the user and start the usage timer.
Definition Machine.cpp:64
-
auto setMachineName(const std::string &new_name) -> void
Sets the machine name as per backend configuration.
Definition Machine.cpp:294
-
auto setAutologoffDelay(std::chrono::seconds new_delay) -> void
Sets the delay after which the user will be logged off automatically.
Definition Machine.cpp:275
-
auto getMaintenanceInfo() const -> const std::string
Definition Machine.cpp:365
-
auto setAllowed(bool new_allowed) -> void
Definition Machine.cpp:331
+
Represents the FabLab machine connected to the board.
Definition Machine.hpp:17
+
auto power(bool on_or_off) -> void
Powers the machine on or off using relay/MQTT/both.
Definition Machine.cpp:204
+
auto canPowerOff() const -> bool
Indicates if POWEROFF_DELAY_MINUTES delay has expired,and the machine is still idle.
Definition Machine.cpp:111
+
auto getMachineName() const -> const std::string
Definition Machine.cpp:236
+
auto setGracePeriod(std::chrono::seconds new_delay) -> void
Sets the idle period after which the machine will power off automatically.
Definition Machine.cpp:356
+
auto isMaintenanceNeeded() const -> bool
Definition Machine.cpp:340
+
auto getActiveUser() const -> FabUser
Definition Machine.cpp:220
+
auto toString() const -> const std::string
Definition Machine.cpp:242
+
auto getPowerState() const -> PowerState
Returns the current power state of the machine.
Definition Machine.cpp:81
+
auto isAllowed() const -> bool
Definition Machine.cpp:330
+
auto isFree() const -> bool
Indicates is the machine is not used by anybody.
Definition Machine.cpp:57
+
void configure(const MachineConfig &new_config, FabBackend &serv)
Configure the machine, it must be called before most methods.
Definition Machine.cpp:26
+
auto logout() -> void
Logoff the user and stop the usage timer.
Definition Machine.cpp:87
+
auto isShutdownImminent() const -> bool
Indicates if the machine will power down in less than BEEP_REMAINING_MINUTES.
Definition Machine.cpp:124
+
auto getMachineId() const -> MachineID
Returns the machine identifier.
Definition Machine.cpp:49
+
auto setMaintenanceNeeded(bool new_maintenance_needed) -> void
Definition Machine.cpp:345
+
auto getUsageDuration() const -> std::chrono::seconds
Duration of the current usage, or 0s.
Definition Machine.cpp:227
+
auto setMachineType(MachineType new_type) -> void
Sets the machine type as per backend configuration.
Definition Machine.cpp:310
+
auto isConfigured() const -> bool
Indicates if the machine has been configured.
Definition Machine.cpp:320
+
auto setMaintenanceInfo(const std::string &new_description) -> void
Definition Machine.cpp:374
+
auto login(const FabUser &user) -> bool
Try to login the user and start the usage timer.
Definition Machine.cpp:65
+
auto setMachineName(const std::string &new_name) -> void
Sets the machine name as per backend configuration.
Definition Machine.cpp:298
+
auto setAutologoffDelay(std::chrono::seconds new_delay) -> void
Sets the delay after which the user will be logged off automatically.
Definition Machine.cpp:279
+
auto getMaintenanceInfo() const -> const std::string
Definition Machine.cpp:369
+
auto setAllowed(bool new_allowed) -> void
Definition Machine.cpp:335
static auto DefaultConfig() -> SavedConfig
Returns the default configuration built from conf.hpp and secrets.hpp.
static auto LoadFromEEPROM() -> std::optional< SavedConfig >
Loads the configuration from EEPROM if available and matching revision number.
-
auto delay(const milliseconds duration) -> void
Wait for a delay, allowing OTA updates.
Definition Tasks.cpp:250
-
u_int64_t uid_t
Definition card.hpp:14
-
auto uid_str(const card::uid_t uid) -> const std::string
Returns a string representation of the UID.
Definition card.hpp:22
+
auto delay(const milliseconds duration) -> void
Wait for a delay, allowing OTA updates.
Definition Tasks.cpp:266
+
auto arduinoNow() -> const std::chrono::steady_clock::time_point
Definition Tasks.hpp:15
+
u_int64_t uid_t
Definition card.hpp:15
+
auto uid_str(const card::uid_t uid) -> const std::string
Returns a string representation of the UID.
Definition card.hpp:23
static constexpr std::string_view hostname
Default hostname for the ESP32 board, Machine ID will be added to the hostname in order to form uniqu...
Definition conf.hpp:27
static constexpr std::string_view machine_name
Default machine name for LCD. Will be overriden with Backend config data.
Definition conf.hpp:21
static constexpr MachineType machine_type
Default machine type. No impact on code.
Definition conf.hpp:24
@@ -891,7 +893,7 @@ $(document).ready(function() { init_codefold(0); });
static constexpr uint8_t NO_PIN
Constant used to indicate the pin is not used.
std::array< WhiteListEntry, conf::cards::LEN > WhiteList
Definition WhiteList.hpp:20
static constexpr pins_config pins
Definition pins.hpp:246
-
std::chrono::milliseconds milliseconds
+
std::chrono::milliseconds milliseconds
The unique machine identifier for the backend.
Definition MachineID.hpp:20
@@ -913,7 +915,7 @@ $(document).ready(function() { init_codefold(0); });
diff --git a/_board_logic_8hpp.xhtml b/_board_logic_8hpp.xhtml index b6f64da3..2becce07 100644 --- a/_board_logic_8hpp.xhtml +++ b/_board_logic_8hpp.xhtml @@ -119,7 +119,7 @@ Namespaces diff --git a/_board_logic_8hpp__incl.map b/_board_logic_8hpp__incl.map index 16ef0bdf..2d6fc293 100644 --- a/_board_logic_8hpp__incl.map +++ b/_board_logic_8hpp__incl.map @@ -1,169 +1,174 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_board_logic_8hpp__incl.md5 b/_board_logic_8hpp__incl.md5 index f625ffad..758cfec0 100644 --- a/_board_logic_8hpp__incl.md5 +++ b/_board_logic_8hpp__incl.md5 @@ -1 +1 @@ -1e8ee9db9fd491c69cb7e3857f840c6f \ No newline at end of file +6af626b31a6cedf042b9772a21ff6ef1 \ No newline at end of file diff --git a/_board_logic_8hpp__incl.svg b/_board_logic_8hpp__incl.svg index 99c00cdb..cf3bcbb4 100644 --- a/_board_logic_8hpp__incl.svg +++ b/_board_logic_8hpp__incl.svg @@ -46,7 +46,7 @@
@@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -BoardLogic.hpp + +BoardLogic.hpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -AuthProvider.hpp + +AuthProvider.hpp @@ -76,188 +76,188 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + - - -Node7 - - -FabUser.hpp - - - - - -Node1->Node7 - - - - - - - - -Node9 - - -card.hpp + + +Node8 + + +FabUser.hpp - - -Node1->Node9 - - - + + +Node1->Node8 + + + - - -Node19 - - -secrets.hpp + + +Node10 + + +card.hpp - - -Node1->Node19 - - - + + +Node1->Node10 + + + Node21 - - -pins.hpp + + +secrets.hpp - + Node1->Node21 - - - + + + - - -Node24 - - -Machine.hpp + + +Node23 + + +pins.hpp - - -Node1->Node24 - - - + + +Node1->Node23 + + + - - -Node28 - - -BaseRfidWrapper.hpp + + +Node26 + + +Machine.hpp - - -Node1->Node28 - - - + + +Node1->Node26 + + + Node30 - - -FabBackend.hpp + + +BaseRfidWrapper.hpp - + Node1->Node30 - - - + + + - - -Node42 - - -LCDWrapper.hpp + + +Node31 + + +FabBackend.hpp - - -Node1->Node42 - - - + + +Node1->Node31 + + + - - -Node45 - - -Led.hpp + + +Node43 + + +LCDWrapper.hpp - - -Node1->Node45 - - - + + +Node1->Node43 + + + Node46 - - -Buzzer.hpp + + +Led.hpp - + Node1->Node46 - - - + + + + + + + + +Node47 + + +Buzzer.hpp + + + + + +Node1->Node47 + + + @@ -265,8 +265,8 @@ var sectionId = 'dynsection-0'; Node3 - -list + +list @@ -274,8 +274,8 @@ var sectionId = 'dynsection-0'; Node2->Node3 - - + + @@ -283,8 +283,8 @@ var sectionId = 'dynsection-0'; Node4 - -string + +string @@ -292,8 +292,8 @@ var sectionId = 'dynsection-0'; Node2->Node4 - - + + @@ -301,8 +301,8 @@ var sectionId = 'dynsection-0'; Node5 - -string_view + +string_view @@ -310,8 +310,8 @@ var sectionId = 'dynsection-0'; Node2->Node5 - - + + @@ -319,8 +319,8 @@ var sectionId = 'dynsection-0'; Node6 - -tuple + +tuple @@ -328,8 +328,17 @@ var sectionId = 'dynsection-0'; Node2->Node6 - - + + + + + + + +Node7 + + +optional @@ -337,728 +346,746 @@ var sectionId = 'dynsection-0'; Node2->Node7 - - - - - - - -Node2->Node19 - - - + + - - -Node25 - - -WhiteList.hpp + + +Node2->Node8 + + + - - -Node2->Node25 - - - + + +Node2->Node21 + + + Node27 - - -CachedCards.hpp + + +WhiteList.hpp - + Node2->Node27 - - - + + + - - -Node7->Node4 - - - + + +Node29 + + +CachedCards.hpp - - -Node8 - - -Arduino.h + + +Node2->Node29 + + + - - -Node7->Node8 - - - + + +Node8->Node4 + + + - - -Node7->Node9 - - - + + +Node9 + + +Arduino.h - - -Node10 - - -sstream + + +Node8->Node9 + + + - - -Node7->Node10 - - - + + +Node8->Node10 + + + - - -Node12 - - -conf.hpp + + +Node11 + + +sstream - - -Node7->Node12 - - - + + +Node8->Node11 + + + Node13 - - -cstdint + + +conf.hpp - - -Node7->Node13 - - - + + +Node8->Node13 + + + - - -Node18 - - -array + + +Node14 + + +cstdint - - -Node7->Node18 - - - + + +Node8->Node14 + + + - - -Node9->Node8 - - - + + +Node20 + + +array - - -Node9->Node10 - - - + + +Node8->Node20 + + + - - -Node11 - - -iomanip + + +Node10->Node9 + + + - - -Node9->Node11 - - - + + +Node10->Node11 + + + - - -Node9->Node12 - - - + + +Node12 + + +iomanip - - -Node16 - - -Logging.hpp + + +Node10->Node12 + + + - - -Node9->Node16 - - - + + +Node10->Node13 + + + - - -Node12->Node4 - - - + + +Node17 + + +Logging.hpp - - -Node12->Node13 - - - + + +Node10->Node17 + + + - - -Node14 - - -chrono + + +Node19 + + +esp_mac.h + + + + + +Node10->Node19 + + + + + + + + +Node13->Node4 + + + - - -Node12->Node14 - - - + + +Node13->Node14 + + + Node15 - - -MachineID.hpp + + +chrono - - -Node12->Node15 - - - + + +Node13->Node15 + + + - - -Node15->Node13 - - - + + +Node16 + + +MachineID.hpp - - -Node17 - - -esp_log.h + + +Node13->Node16 + + + - - -Node16->Node17 - - - + + +Node16->Node14 + + + - - -Node19->Node5 - - - + + +Node18 + + +esp_log.h - - -Node19->Node7 - - - + + +Node17->Node18 + + + - - -Node19->Node12 - - - + + +Node21->Node5 + + + - - -Node19->Node13 - - - + + +Node21->Node8 + + + - - -Node19->Node18 - - - + + +Node21->Node13 + + + - - -Node20 - - -MachineConfig.hpp + + +Node21->Node14 + + + - - -Node19->Node20 - - - + + +Node21->Node20 + + + - - -Node19->Node24 - - - + + +Node22 + + +MachineConfig.hpp - - -Node20->Node4 - - - + + +Node21->Node22 + + + - - -Node20->Node12 - - - + + +Node21->Node26 + + + - - -Node20->Node13 - - - + + +Node22->Node4 + + + - - -Node20->Node14 - - - + + +Node22->Node13 + + + - - -Node20->Node15 - - - + + +Node22->Node14 + + + - - -Node20->Node21 - - - + + +Node22->Node15 + + + - - -Node21->Node13 - - - + + +Node22->Node16 + + + - - -Node22 - - -Adafruit_NeoPixel.h + + +Node22->Node23 + + + - - -Node21->Node22 - - - + + +Node23->Node14 + + + - - -Node23 - - -PinsConfig.hpp + + +Node24 + + +Adafruit_NeoPixel.h - - -Node21->Node23 - - - + + +Node23->Node24 + + + - - -Node23->Node13 - - - + + +Node25 + + +PinsConfig.hpp - - -Node23->Node18 - - - + + +Node23->Node25 + + + - - -Node24->Node7 - - - + + +Node25->Node14 + + + - - -Node24->Node13 - - - + + +Node25->Node20 + + + - - -Node24->Node14 - - - + + +Node26->Node7 + + + - - -Node24->Node18 - - - + + +Node26->Node8 + + + - - -Node24->Node20 - - - + + +Node26->Node14 + + + - - -Node25->Node5 - - - + + +Node26->Node15 + + + - - -Node25->Node6 - - - + + +Node26->Node20 + + + - - -Node25->Node7 - - - + + +Node26->Node22 + + + - - -Node25->Node12 - - - + + +Node27->Node5 + + + - - -Node25->Node18 - - - + + +Node27->Node6 + + + - - -Node26 - - -unordered_map + + +Node27->Node8 + + + - - -Node25->Node26 - - - + + +Node27->Node13 + + + - - -Node27->Node7 - - - + + +Node27->Node20 + + + - - -Node27->Node9 - - - + + +Node28 + + +unordered_map - - -Node27->Node12 - - - + + +Node27->Node28 + + + - - -Node27->Node18 - - - + + +Node29->Node7 + + + - - -Node28->Node9 - - - + + +Node29->Node8 + + + - - -Node29 - - -optional + + +Node29->Node10 + + + - - -Node28->Node29 - - - + + +Node29->Node13 + + + - - -Node30->Node4 - - - + + +Node29->Node20 + + + - + Node30->Node7 - - - + + + - - -Node30->Node12 - - - + + +Node30->Node10 + + + - - -Node30->Node14 - - - + + +Node31->Node4 + + + - - -Node30->Node18 - - - + + +Node31->Node8 + + + - - -Node31 - - -functional + + +Node31->Node13 + + + + + + + + +Node31->Node15 + + + - - -Node30->Node31 - - - + + +Node31->Node20 + + + @@ -1066,17 +1093,17 @@ var sectionId = 'dynsection-0'; Node32 - -WiFi.h + +functional - - -Node30->Node32 - - - + + +Node31->Node32 + + + @@ -1084,17 +1111,17 @@ var sectionId = 'dynsection-0'; Node33 - -ArduinoJson.h + +WiFi.h - - -Node30->Node33 - - - + + +Node31->Node33 + + + @@ -1102,224 +1129,224 @@ var sectionId = 'dynsection-0'; Node34 - -MQTTClient.h + +ArduinoJson.h - - -Node30->Node34 - - - + + +Node31->Node34 + + + Node35 - - -MQTTtypes.hpp + + +MQTTClient.h - - -Node30->Node35 - - - + + +Node31->Node35 + + + - - -Node37 - - -SavedConfig.hpp + + +Node36 + + +MQTTtypes.hpp - - -Node30->Node37 - - - + + +Node31->Node36 + + + - - -Node40 - - -BufferedMsg.hpp + + +Node38 + + +SavedConfig.hpp - - -Node30->Node40 - - - + + +Node31->Node38 + + + - - -Node35->Node4 - - - + + +Node41 + + +BufferedMsg.hpp - - -Node35->Node5 - - - + + +Node31->Node41 + + + - - -Node35->Node7 - - - + + +Node36->Node4 + + + - - -Node35->Node9 - - - + + +Node36->Node5 + + + - - -Node35->Node24 - - - + + +Node36->Node8 + + + - - -Node35->Node33 - - - + + +Node36->Node10 + + + - - -Node36 - - -memory + + +Node36->Node26 + + + - - -Node35->Node36 - - - + + +Node36->Node34 + + + - - -Node37->Node4 - - - + + +Node37 + + +memory - - -Node37->Node12 - - - + + +Node36->Node37 + + + - - -Node37->Node13 - - - + + +Node38->Node4 + + + - - -Node37->Node20 - - - + + +Node38->Node7 + + + - - -Node37->Node27 - - - + + +Node38->Node13 + + + - - -Node37->Node29 - - - + + +Node38->Node14 + + + - - -Node37->Node33 - - - + + +Node38->Node22 + + + - - -Node38 - - -mutex + + +Node38->Node29 + + + - - -Node37->Node38 - - - + + +Node38->Node34 + + + @@ -1327,233 +1354,251 @@ var sectionId = 'dynsection-0'; Node39 - -EEPROM.h + +mutex - - -Node37->Node39 - - - + + +Node38->Node39 + + + - - -Node37->Node40 - - - + + +Node40 + + +EEPROM.h - - -Node40->Node4 - - - + + +Node38->Node40 + + + - - -Node40->Node15 - - - + + +Node38->Node41 + + + - - -Node40->Node29 - - - + + +Node41->Node4 + + + - - -Node40->Node33 - - - + + +Node41->Node7 + + + - - -Node40->Node35 - - - + + +Node41->Node16 + + + - - -Node40->Node36 - - - + + +Node41->Node34 + + + - - -Node41 - - -queue + + +Node41->Node36 + + + - - -Node40->Node41 - - - + + +Node41->Node37 + + + - - -Node42->Node14 - - - + + +Node42 + + +queue - - -Node42->Node18 - - - + + +Node41->Node42 + + + - - -Node42->Node21 - - - + + +Node43->Node15 + + + - - -Node42->Node24 - - - + + +Node43->Node20 + + + - - -Node43 - - -BoardInfo.hpp + + +Node43->Node23 + + + - - -Node42->Node43 - - - + + +Node43->Node26 + + + Node44 - - -LiquidCrystal.h + + +BoardInfo.hpp - - -Node42->Node44 - - - + + +Node43->Node44 + + + - - -Node43->Node24 - - - + + +Node45 + + +LiquidCrystal.h - - -Node45->Node8 - - - + + +Node43->Node45 + + + - - -Node45->Node21 - - - + + +Node44->Node26 + + + - - -Node45->Node22 - - - + + +Node46->Node9 + + + - - -Node45->Node36 - - - + + +Node46->Node23 + + + - - -Node47 - - -inttypes.h + + +Node46->Node24 + + + + + + + + +Node46->Node37 + + + + + + + + +Node48 + + +inttypes.h - - -Node46->Node47 - - - + + +Node47->Node48 + + + diff --git a/_board_logic_8hpp__incl_org.svg b/_board_logic_8hpp__incl_org.svg index 6b9c25a3..711fd58e 100644 --- a/_board_logic_8hpp__incl_org.svg +++ b/_board_logic_8hpp__incl_org.svg @@ -4,16 +4,16 @@ - + BoardLogic.hpp Node1 - -BoardLogic.hpp + +BoardLogic.hpp @@ -21,8 +21,8 @@ Node2 - -AuthProvider.hpp + +AuthProvider.hpp @@ -30,188 +30,188 @@ Node1->Node2 - - + + - - -Node7 - - -FabUser.hpp - - - - - -Node1->Node7 - - - - - - - - -Node9 - - -card.hpp + + +Node8 + + +FabUser.hpp - - -Node1->Node9 - - - + + +Node1->Node8 + + + - - -Node19 - - -secrets.hpp + + +Node10 + + +card.hpp - - -Node1->Node19 - - - + + +Node1->Node10 + + + Node21 - - -pins.hpp + + +secrets.hpp - + Node1->Node21 - - - + + + - - -Node24 - - -Machine.hpp + + +Node23 + + +pins.hpp - - -Node1->Node24 - - - + + +Node1->Node23 + + + - - -Node28 - - -BaseRfidWrapper.hpp + + +Node26 + + +Machine.hpp - - -Node1->Node28 - - - + + +Node1->Node26 + + + Node30 - - -FabBackend.hpp + + +BaseRfidWrapper.hpp - + Node1->Node30 - - - + + + - - -Node42 - - -LCDWrapper.hpp + + +Node31 + + +FabBackend.hpp - - -Node1->Node42 - - - + + +Node1->Node31 + + + - - -Node45 - - -Led.hpp + + +Node43 + + +LCDWrapper.hpp - - -Node1->Node45 - - - + + +Node1->Node43 + + + Node46 - - -Buzzer.hpp + + +Led.hpp - + Node1->Node46 - - - + + + + + + + + +Node47 + + +Buzzer.hpp + + + + + +Node1->Node47 + + + @@ -219,8 +219,8 @@ Node3 - -list + +list @@ -228,8 +228,8 @@ Node2->Node3 - - + + @@ -237,8 +237,8 @@ Node4 - -string + +string @@ -246,8 +246,8 @@ Node2->Node4 - - + + @@ -255,8 +255,8 @@ Node5 - -string_view + +string_view @@ -264,8 +264,8 @@ Node2->Node5 - - + + @@ -273,8 +273,8 @@ Node6 - -tuple + +tuple @@ -282,8 +282,17 @@ Node2->Node6 - - + + + + + + + +Node7 + + +optional @@ -291,728 +300,746 @@ Node2->Node7 - - - - - - - -Node2->Node19 - - - + + - - -Node25 - - -WhiteList.hpp + + +Node2->Node8 + + + - - -Node2->Node25 - - - + + +Node2->Node21 + + + Node27 - - -CachedCards.hpp + + +WhiteList.hpp - + Node2->Node27 - - - + + + - - -Node7->Node4 - - - + + +Node29 + + +CachedCards.hpp - - -Node8 - - -Arduino.h + + +Node2->Node29 + + + - - -Node7->Node8 - - - + + +Node8->Node4 + + + - - -Node7->Node9 - - - + + +Node9 + + +Arduino.h - - -Node10 - - -sstream + + +Node8->Node9 + + + - - -Node7->Node10 - - - + + +Node8->Node10 + + + - - -Node12 - - -conf.hpp + + +Node11 + + +sstream - - -Node7->Node12 - - - + + +Node8->Node11 + + + Node13 - - -cstdint + + +conf.hpp - - -Node7->Node13 - - - + + +Node8->Node13 + + + - - -Node18 - - -array + + +Node14 + + +cstdint - - -Node7->Node18 - - - + + +Node8->Node14 + + + - - -Node9->Node8 - - - + + +Node20 + + +array - - -Node9->Node10 - - - + + +Node8->Node20 + + + - - -Node11 - - -iomanip + + +Node10->Node9 + + + - - -Node9->Node11 - - - + + +Node10->Node11 + + + - - -Node9->Node12 - - - + + +Node12 + + +iomanip - - -Node16 - - -Logging.hpp + + +Node10->Node12 + + + - - -Node9->Node16 - - - + + +Node10->Node13 + + + - - -Node12->Node4 - - - + + +Node17 + + +Logging.hpp - - -Node12->Node13 - - - + + +Node10->Node17 + + + - - -Node14 - - -chrono + + +Node19 + + +esp_mac.h + + + + + +Node10->Node19 + + + + + + + + +Node13->Node4 + + + - - -Node12->Node14 - - - + + +Node13->Node14 + + + Node15 - - -MachineID.hpp + + +chrono - - -Node12->Node15 - - - + + +Node13->Node15 + + + - - -Node15->Node13 - - - + + +Node16 + + +MachineID.hpp - - -Node17 - - -esp_log.h + + +Node13->Node16 + + + - - -Node16->Node17 - - - + + +Node16->Node14 + + + - - -Node19->Node5 - - - + + +Node18 + + +esp_log.h - - -Node19->Node7 - - - + + +Node17->Node18 + + + - - -Node19->Node12 - - - + + +Node21->Node5 + + + - - -Node19->Node13 - - - + + +Node21->Node8 + + + - - -Node19->Node18 - - - + + +Node21->Node13 + + + - - -Node20 - - -MachineConfig.hpp + + +Node21->Node14 + + + - - -Node19->Node20 - - - + + +Node21->Node20 + + + - - -Node19->Node24 - - - + + +Node22 + + +MachineConfig.hpp - - -Node20->Node4 - - - + + +Node21->Node22 + + + - - -Node20->Node12 - - - + + +Node21->Node26 + + + - - -Node20->Node13 - - - + + +Node22->Node4 + + + - - -Node20->Node14 - - - + + +Node22->Node13 + + + - - -Node20->Node15 - - - + + +Node22->Node14 + + + - - -Node20->Node21 - - - + + +Node22->Node15 + + + - - -Node21->Node13 - - - + + +Node22->Node16 + + + - - -Node22 - - -Adafruit_NeoPixel.h + + +Node22->Node23 + + + - - -Node21->Node22 - - - + + +Node23->Node14 + + + - - -Node23 - - -PinsConfig.hpp + + +Node24 + + +Adafruit_NeoPixel.h - - -Node21->Node23 - - - + + +Node23->Node24 + + + - - -Node23->Node13 - - - + + +Node25 + + +PinsConfig.hpp - - -Node23->Node18 - - - + + +Node23->Node25 + + + - - -Node24->Node7 - - - + + +Node25->Node14 + + + - - -Node24->Node13 - - - + + +Node25->Node20 + + + - - -Node24->Node14 - - - + + +Node26->Node7 + + + - - -Node24->Node18 - - - + + +Node26->Node8 + + + - - -Node24->Node20 - - - + + +Node26->Node14 + + + - - -Node25->Node5 - - - + + +Node26->Node15 + + + - - -Node25->Node6 - - - + + +Node26->Node20 + + + - - -Node25->Node7 - - - + + +Node26->Node22 + + + - - -Node25->Node12 - - - + + +Node27->Node5 + + + - - -Node25->Node18 - - - + + +Node27->Node6 + + + - - -Node26 - - -unordered_map + + +Node27->Node8 + + + - - -Node25->Node26 - - - + + +Node27->Node13 + + + - - -Node27->Node7 - - - + + +Node27->Node20 + + + - - -Node27->Node9 - - - + + +Node28 + + +unordered_map - - -Node27->Node12 - - - + + +Node27->Node28 + + + - - -Node27->Node18 - - - + + +Node29->Node7 + + + - - -Node28->Node9 - - - + + +Node29->Node8 + + + - - -Node29 - - -optional + + +Node29->Node10 + + + - - -Node28->Node29 - - - + + +Node29->Node13 + + + - - -Node30->Node4 - - - + + +Node29->Node20 + + + - + Node30->Node7 - - - + + + - - -Node30->Node12 - - - + + +Node30->Node10 + + + - - -Node30->Node14 - - - + + +Node31->Node4 + + + - - -Node30->Node18 - - - + + +Node31->Node8 + + + - - -Node31 - - -functional + + +Node31->Node13 + + + + + + + + +Node31->Node15 + + + - - -Node30->Node31 - - - + + +Node31->Node20 + + + @@ -1020,17 +1047,17 @@ Node32 - -WiFi.h + +functional - - -Node30->Node32 - - - + + +Node31->Node32 + + + @@ -1038,17 +1065,17 @@ Node33 - -ArduinoJson.h + +WiFi.h - - -Node30->Node33 - - - + + +Node31->Node33 + + + @@ -1056,224 +1083,224 @@ Node34 - -MQTTClient.h + +ArduinoJson.h - - -Node30->Node34 - - - + + +Node31->Node34 + + + Node35 - - -MQTTtypes.hpp + + +MQTTClient.h - - -Node30->Node35 - - - + + +Node31->Node35 + + + - - -Node37 - - -SavedConfig.hpp + + +Node36 + + +MQTTtypes.hpp - - -Node30->Node37 - - - + + +Node31->Node36 + + + - - -Node40 - - -BufferedMsg.hpp + + +Node38 + + +SavedConfig.hpp - - -Node30->Node40 - - - + + +Node31->Node38 + + + - - -Node35->Node4 - - - + + +Node41 + + +BufferedMsg.hpp - - -Node35->Node5 - - - + + +Node31->Node41 + + + - - -Node35->Node7 - - - + + +Node36->Node4 + + + - - -Node35->Node9 - - - + + +Node36->Node5 + + + - - -Node35->Node24 - - - + + +Node36->Node8 + + + - - -Node35->Node33 - - - + + +Node36->Node10 + + + - - -Node36 - - -memory + + +Node36->Node26 + + + - - -Node35->Node36 - - - + + +Node36->Node34 + + + - - -Node37->Node4 - - - + + +Node37 + + +memory - - -Node37->Node12 - - - + + +Node36->Node37 + + + - - -Node37->Node13 - - - + + +Node38->Node4 + + + - - -Node37->Node20 - - - + + +Node38->Node7 + + + - - -Node37->Node27 - - - + + +Node38->Node13 + + + - - -Node37->Node29 - - - + + +Node38->Node14 + + + - - -Node37->Node33 - - - + + +Node38->Node22 + + + - - -Node38 - - -mutex + + +Node38->Node29 + + + - - -Node37->Node38 - - - + + +Node38->Node34 + + + @@ -1281,233 +1308,251 @@ Node39 - -EEPROM.h + +mutex - - -Node37->Node39 - - - + + +Node38->Node39 + + + - - -Node37->Node40 - - - + + +Node40 + + +EEPROM.h - - -Node40->Node4 - - - + + +Node38->Node40 + + + - - -Node40->Node15 - - - + + +Node38->Node41 + + + - - -Node40->Node29 - - - + + +Node41->Node4 + + + - - -Node40->Node33 - - - + + +Node41->Node7 + + + - - -Node40->Node35 - - - + + +Node41->Node16 + + + - - -Node40->Node36 - - - + + +Node41->Node34 + + + - - -Node41 - - -queue + + +Node41->Node36 + + + - - -Node40->Node41 - - - + + +Node41->Node37 + + + - - -Node42->Node14 - - - + + +Node42 + + +queue - - -Node42->Node18 - - - + + +Node41->Node42 + + + - - -Node42->Node21 - - - + + +Node43->Node15 + + + - - -Node42->Node24 - - - + + +Node43->Node20 + + + - - -Node43 - - -BoardInfo.hpp + + +Node43->Node23 + + + - - -Node42->Node43 - - - + + +Node43->Node26 + + + Node44 - - -LiquidCrystal.h + + +BoardInfo.hpp - - -Node42->Node44 - - - + + +Node43->Node44 + + + - - -Node43->Node24 - - - + + +Node45 + + +LiquidCrystal.h - - -Node45->Node8 - - - + + +Node43->Node45 + + + - - -Node45->Node21 - - - + + +Node44->Node26 + + + - - -Node45->Node22 - - - + + +Node46->Node9 + + + - - -Node45->Node36 - - - + + +Node46->Node23 + + + - - -Node47 - - -inttypes.h + + +Node46->Node24 + + + + + + + + +Node46->Node37 + + + + + + + + +Node48 + + +inttypes.h - - -Node46->Node47 - - - + + +Node47->Node48 + + + diff --git a/_board_logic_8hpp_source.xhtml b/_board_logic_8hpp_source.xhtml index 7594355d..1955ef02 100644 --- a/_board_logic_8hpp_source.xhtml +++ b/_board_logic_8hpp_source.xhtml @@ -207,14 +207,14 @@ $(document).ready(function() { init_codefold(0); }); -
This class manages authentication of a RFID tag through cache, whitelist or network request.
+
This class manages authentication of a RFID tag through cache, whitelist or network request.
Base class for the real and mock implementation of RFID tag reader chip.
Main class implementing the state changes.
-
auto getMachine() const -> const Machine &
Gets the current machine.
-
auto getBuzzerForTesting() -> Buzzer *
returns a modificable machine for testing only
-
auto getStatus() const -> Status
Gets the current board status.
-
auto checkRfid() -> void
Checks if a new card is present.
+
auto getMachine() const -> const Machine &
Gets the current machine.
+
auto getBuzzerForTesting() -> Buzzer *
returns a modificable machine for testing only
+
auto getStatus() const -> Status
Gets the current board status.
+
auto checkRfid() -> void
Checks if a new card is present.
Status
Main states of the board.
@@ -243,46 +243,46 @@ $(document).ready(function() { init_codefold(0); }); -
auto changeStatus(Status newStatus) -> void
Sets the board in the state given.
-
auto initBoard() -> bool
Initializes LCD and RFID classes.
-
auto longTap(const card::uid_t card, const std::string &short_prompt) const -> bool
Asks the user to keep the RFID tag on the reader as confirmation.
-
LCDWrapper & getLcd() const
-
auto getRebootRequest() const -> bool
-
auto updateLCD() const -> void
Updates the LCD screen as per the current status.
-
auto setAutologoffDelay(std::chrono::seconds delay) -> void
Sets the autologoff delay.
+
auto changeStatus(Status newStatus) -> void
Sets the board in the state given.
+
auto initBoard() -> bool
Initializes LCD and RFID classes.
+
auto longTap(const card::uid_t card, const std::string &short_prompt) const -> bool
Asks the user to keep the RFID tag on the reader as confirmation.
+
LCDWrapper & getLcd() const
+
auto getRebootRequest() const -> bool
+
auto updateLCD() const -> void
Updates the LCD screen as per the current status.
+
auto setAutologoffDelay(std::chrono::seconds delay) -> void
Sets the autologoff delay.
-
auto authorize(const card::uid_t uid) -> bool
Checks if the card UID is valid, and tries to check the user in to the machine.
+
auto authorize(const card::uid_t uid) -> bool
Checks if the card UID is valid, and tries to check the user in to the machine.
std::optional< std::reference_wrapper< BaseRFIDWrapper > > rfid
-
BaseRFIDWrapper & getRfid() const
-
auto saveRfidCache() -> bool
-
auto getMachineForTesting() -> Machine &
returns a modificable machine for testing only
+
BaseRFIDWrapper & getRfid() const
+
auto saveRfidCache() -> bool
+
auto getMachineForTesting() -> Machine &
returns a modificable machine for testing only
std::optional< std::reference_wrapper< LCDWrapper > > lcd
-
auto beepOk() const -> void
-
auto setRebootRequest(bool request) -> void
+
auto beepOk() const -> void
+
auto setRebootRequest(bool request) -> void
-
auto onNewCard(card::uid_t uid) -> void
Called when a RFID tag has been detected.
-
auto logout() -> void
Removes the current machine user and changes the status to LoggedOut.
-
auto setWhitelist(WhiteList whitelist) -> void
+
auto onNewCard(card::uid_t uid) -> void
Called when a RFID tag has been detected.
+
auto logout() -> void
Removes the current machine user and changes the status to LoggedOut.
+
auto setWhitelist(WhiteList whitelist) -> void
-
auto refreshFromServer() -> void
connects and polls the server for up-to-date machine information
-
auto getHostname() const -> const std::string
+
auto refreshFromServer() -> void
connects and polls the server for up-to-date machine information
+
auto getHostname() const -> const std::string
-
auto checkPowerOff() -> void
Checks if the machine must be powered off.
-
auto beepFail() const -> void
-
auto getServer() -> FabBackend &
+
auto checkPowerOff() -> void
Checks if the machine must be powered off.
+
auto beepFail() const -> void
+
auto getServer() -> FabBackend &
-
auto blinkLed(uint8_t r=0, uint8_t g=0, uint8_t b=0) -> void
Blinks the LED.
-
auto reconfigure() -> bool
Configures the board with the given references.
-
auto configure(BaseRFIDWrapper &rfid, LCDWrapper &lcd) -> bool
Configures the board with the given references.
+
auto blinkLed(uint8_t r=0, uint8_t g=0, uint8_t b=0) -> void
Blinks the LED.
+
auto reconfigure() -> bool
Configures the board with the given references.
+
auto configure(BaseRFIDWrapper &rfid, LCDWrapper &lcd) -> bool
Configures the board with the given references.
Represents the buzzer for BoardLogic.
Definition Buzzer.hpp:10
This class is used to exchange messages with the MQTT broker and the backend.
LCD display wrapper.
RGB/LED/NeoPixel class.
Definition Led.hpp:14
-
Represents the FabLab machine connected to the board.
Definition Machine.hpp:16
-
u_int64_t uid_t
Definition card.hpp:14
+
Represents the FabLab machine connected to the board.
Definition Machine.hpp:17
+
u_int64_t uid_t
Definition card.hpp:15
static constexpr WhiteList whitelist
Static list of whitelisted RFID cards.
Definition secrets.hpp:23
std::array< WhiteListEntry, conf::cards::LEN > WhiteList
Definition WhiteList.hpp:20
@@ -291,7 +291,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_buffered_msg_8cpp.xhtml b/_buffered_msg_8cpp.xhtml index 24e69e01..e19658e7 100644 --- a/_buffered_msg_8cpp.xhtml +++ b/_buffered_msg_8cpp.xhtml @@ -81,6 +81,7 @@ $(function() {
#include "BufferedMsg.hpp"
+#include <inttypes.h>
#include <ArduinoJson.h>
#include "Logging.hpp"
@@ -99,7 +100,7 @@ Namespaces
diff --git a/_buffered_msg_8cpp__incl.map b/_buffered_msg_8cpp__incl.map index fdd09d75..be3a4afa 100644 --- a/_buffered_msg_8cpp__incl.map +++ b/_buffered_msg_8cpp__incl.map @@ -1,79 +1,84 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_buffered_msg_8cpp__incl.md5 b/_buffered_msg_8cpp__incl.md5 index e2a17201..713321bc 100644 --- a/_buffered_msg_8cpp__incl.md5 +++ b/_buffered_msg_8cpp__incl.md5 @@ -1 +1 @@ -cfcbdb4bda2f20aa4a9a4997ec03b294 \ No newline at end of file +82b63a8ae28b88b26ad4bf865a0bf1d8 \ No newline at end of file diff --git a/_buffered_msg_8cpp__incl.svg b/_buffered_msg_8cpp__incl.svg index 5c818172..f4d7c798 100644 --- a/_buffered_msg_8cpp__incl.svg +++ b/_buffered_msg_8cpp__incl.svg @@ -46,7 +46,7 @@ @@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -BufferedMsg.cpp + +BufferedMsg.cpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -BufferedMsg.hpp + +BufferedMsg.hpp @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,17 +85,17 @@ var sectionId = 'dynsection-0'; Node7 - -ArduinoJson.h + +ArduinoJson.h - + Node1->Node7 - - - + + + @@ -103,17 +103,35 @@ var sectionId = 'dynsection-0'; Node18 - -Logging.hpp + +Logging.hpp - + Node1->Node18 - - - + + + + + + + + +Node28 + + +inttypes.h + + + + + +Node1->Node28 + + + @@ -121,8 +139,8 @@ var sectionId = 'dynsection-0'; Node3 - -optional + +optional @@ -130,8 +148,8 @@ var sectionId = 'dynsection-0'; Node2->Node3 - - + + @@ -139,8 +157,8 @@ var sectionId = 'dynsection-0'; Node4 - -queue + +queue @@ -148,8 +166,8 @@ var sectionId = 'dynsection-0'; Node2->Node4 - - + + @@ -157,8 +175,8 @@ var sectionId = 'dynsection-0'; Node5 - -string + +string @@ -166,8 +184,8 @@ var sectionId = 'dynsection-0'; Node2->Node5 - - + + @@ -175,8 +193,8 @@ var sectionId = 'dynsection-0'; Node6 - -memory + +memory @@ -184,8 +202,8 @@ var sectionId = 'dynsection-0'; Node2->Node6 - - + + @@ -193,8 +211,8 @@ var sectionId = 'dynsection-0'; Node2->Node7 - - + + @@ -202,8 +220,8 @@ var sectionId = 'dynsection-0'; Node8 - -MachineID.hpp + +MachineID.hpp @@ -211,8 +229,8 @@ var sectionId = 'dynsection-0'; Node2->Node8 - - + + @@ -220,8 +238,8 @@ var sectionId = 'dynsection-0'; Node10 - -MQTTtypes.hpp + +MQTTtypes.hpp @@ -229,8 +247,8 @@ var sectionId = 'dynsection-0'; Node2->Node10 - - + + @@ -238,8 +256,8 @@ var sectionId = 'dynsection-0'; Node9 - -cstdint + +cstdint @@ -247,26 +265,26 @@ var sectionId = 'dynsection-0'; Node8->Node9 - - + + - + Node10->Node5 - - - + + + - + Node10->Node6 - - - + + + @@ -274,8 +292,8 @@ var sectionId = 'dynsection-0'; Node10->Node7 - - + + @@ -283,8 +301,8 @@ var sectionId = 'dynsection-0'; Node11 - -FabUser.hpp + +FabUser.hpp @@ -292,8 +310,8 @@ var sectionId = 'dynsection-0'; Node10->Node11 - - + + @@ -301,71 +319,71 @@ var sectionId = 'dynsection-0'; Node13 - -card.hpp + +card.hpp - + Node10->Node13 - - - + + + - - -Node21 - - -Machine.hpp + + +Node22 + + +Machine.hpp - - -Node10->Node21 - - - + + +Node10->Node22 + + + - - -Node26 - - -string_view + + +Node27 + + +string_view - - -Node10->Node26 - - - + + +Node10->Node27 + + + - + Node11->Node5 - - - + + + - + Node11->Node9 - - - + + + @@ -373,8 +391,8 @@ var sectionId = 'dynsection-0'; Node12 - -Arduino.h + +Arduino.h @@ -382,8 +400,8 @@ var sectionId = 'dynsection-0'; Node11->Node12 - - + + @@ -391,8 +409,8 @@ var sectionId = 'dynsection-0'; Node11->Node13 - - + + @@ -400,17 +418,17 @@ var sectionId = 'dynsection-0'; Node14 - -sstream + +sstream - + Node11->Node14 - - - + + + @@ -418,35 +436,35 @@ var sectionId = 'dynsection-0'; Node16 - -conf.hpp + +conf.hpp - + Node11->Node16 - - - + + + - - -Node20 - - -array + + +Node21 + + +array - - -Node11->Node20 - - - + + +Node11->Node21 + + + @@ -454,8 +472,8 @@ var sectionId = 'dynsection-0'; Node13->Node12 - - + + @@ -463,8 +481,8 @@ var sectionId = 'dynsection-0'; Node13->Node14 - - + + @@ -472,8 +490,8 @@ var sectionId = 'dynsection-0'; Node15 - -iomanip + +iomanip @@ -481,8 +499,8 @@ var sectionId = 'dynsection-0'; Node13->Node15 - - + + @@ -490,8 +508,8 @@ var sectionId = 'dynsection-0'; Node13->Node16 - - + + @@ -499,8 +517,26 @@ var sectionId = 'dynsection-0'; Node13->Node18 - - + + + + + + + +Node20 + + +esp_mac.h + + + + + +Node13->Node20 + + + @@ -508,8 +544,8 @@ var sectionId = 'dynsection-0'; Node16->Node5 - - + + @@ -517,8 +553,8 @@ var sectionId = 'dynsection-0'; Node16->Node8 - - + + @@ -526,8 +562,8 @@ var sectionId = 'dynsection-0'; Node16->Node9 - - + + @@ -535,8 +571,8 @@ var sectionId = 'dynsection-0'; Node17 - -chrono + +chrono @@ -544,8 +580,8 @@ var sectionId = 'dynsection-0'; Node16->Node17 - - + + @@ -553,8 +589,8 @@ var sectionId = 'dynsection-0'; Node19 - -esp_log.h + +esp_log.h @@ -562,188 +598,197 @@ var sectionId = 'dynsection-0'; Node18->Node19 - - - - - - - -Node21->Node9 - - - - - - - - -Node21->Node11 - - - + + - - -Node21->Node17 - - - + + +Node22->Node3 + + + - - -Node21->Node20 - - - + + +Node22->Node9 + + + - - -Node22 - - -MachineConfig.hpp + + +Node22->Node11 + + + - - -Node21->Node22 - - - + + +Node22->Node17 + + + - - -Node22->Node5 - - - + + +Node22->Node21 + + + - - -Node22->Node8 - - - + + +Node23 + + +MachineConfig.hpp - - -Node22->Node9 - - - + + +Node22->Node23 + + + - - -Node22->Node16 - - - + + +Node23->Node5 + + + - - -Node22->Node17 - - - + + +Node23->Node8 + + + - - -Node23 - - -pins.hpp + + +Node23->Node9 + + + - - -Node22->Node23 - - - + + +Node23->Node16 + + + - - -Node23->Node9 - - - + + +Node23->Node17 + + + Node24 - - -Adafruit_NeoPixel.h + + +pins.hpp - + Node23->Node24 - - - + + + + + + + + +Node24->Node9 + + + Node25 - - -PinsConfig.hpp + + +Adafruit_NeoPixel.h + + + + + +Node24->Node25 + + + + + + + + +Node26 + + +PinsConfig.hpp - - -Node23->Node25 - - - + + +Node24->Node26 + + + - - -Node25->Node9 - - - + + +Node26->Node9 + + + - - -Node25->Node20 - - - + + +Node26->Node21 + + + diff --git a/_buffered_msg_8cpp__incl_org.svg b/_buffered_msg_8cpp__incl_org.svg index f421c9c2..ff206598 100644 --- a/_buffered_msg_8cpp__incl_org.svg +++ b/_buffered_msg_8cpp__incl_org.svg @@ -4,16 +4,16 @@ - + BufferedMsg.cpp Node1 - -BufferedMsg.cpp + +BufferedMsg.cpp @@ -21,8 +21,8 @@ Node2 - -BufferedMsg.hpp + +BufferedMsg.hpp @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,17 +39,17 @@ Node7 - -ArduinoJson.h + +ArduinoJson.h - + Node1->Node7 - - - + + + @@ -57,17 +57,35 @@ Node18 - -Logging.hpp + +Logging.hpp - + Node1->Node18 - - - + + + + + + + + +Node28 + + +inttypes.h + + + + + +Node1->Node28 + + + @@ -75,8 +93,8 @@ Node3 - -optional + +optional @@ -84,8 +102,8 @@ Node2->Node3 - - + + @@ -93,8 +111,8 @@ Node4 - -queue + +queue @@ -102,8 +120,8 @@ Node2->Node4 - - + + @@ -111,8 +129,8 @@ Node5 - -string + +string @@ -120,8 +138,8 @@ Node2->Node5 - - + + @@ -129,8 +147,8 @@ Node6 - -memory + +memory @@ -138,8 +156,8 @@ Node2->Node6 - - + + @@ -147,8 +165,8 @@ Node2->Node7 - - + + @@ -156,8 +174,8 @@ Node8 - -MachineID.hpp + +MachineID.hpp @@ -165,8 +183,8 @@ Node2->Node8 - - + + @@ -174,8 +192,8 @@ Node10 - -MQTTtypes.hpp + +MQTTtypes.hpp @@ -183,8 +201,8 @@ Node2->Node10 - - + + @@ -192,8 +210,8 @@ Node9 - -cstdint + +cstdint @@ -201,26 +219,26 @@ Node8->Node9 - - + + - + Node10->Node5 - - - + + + - + Node10->Node6 - - - + + + @@ -228,8 +246,8 @@ Node10->Node7 - - + + @@ -237,8 +255,8 @@ Node11 - -FabUser.hpp + +FabUser.hpp @@ -246,8 +264,8 @@ Node10->Node11 - - + + @@ -255,71 +273,71 @@ Node13 - -card.hpp + +card.hpp - + Node10->Node13 - - - + + + - - -Node21 - - -Machine.hpp + + +Node22 + + +Machine.hpp - - -Node10->Node21 - - - + + +Node10->Node22 + + + - - -Node26 - - -string_view + + +Node27 + + +string_view - - -Node10->Node26 - - - + + +Node10->Node27 + + + - + Node11->Node5 - - - + + + - + Node11->Node9 - - - + + + @@ -327,8 +345,8 @@ Node12 - -Arduino.h + +Arduino.h @@ -336,8 +354,8 @@ Node11->Node12 - - + + @@ -345,8 +363,8 @@ Node11->Node13 - - + + @@ -354,17 +372,17 @@ Node14 - -sstream + +sstream - + Node11->Node14 - - - + + + @@ -372,35 +390,35 @@ Node16 - -conf.hpp + +conf.hpp - + Node11->Node16 - - - + + + - - -Node20 - - -array + + +Node21 + + +array - - -Node11->Node20 - - - + + +Node11->Node21 + + + @@ -408,8 +426,8 @@ Node13->Node12 - - + + @@ -417,8 +435,8 @@ Node13->Node14 - - + + @@ -426,8 +444,8 @@ Node15 - -iomanip + +iomanip @@ -435,8 +453,8 @@ Node13->Node15 - - + + @@ -444,8 +462,8 @@ Node13->Node16 - - + + @@ -453,8 +471,26 @@ Node13->Node18 - - + + + + + + + +Node20 + + +esp_mac.h + + + + + +Node13->Node20 + + + @@ -462,8 +498,8 @@ Node16->Node5 - - + + @@ -471,8 +507,8 @@ Node16->Node8 - - + + @@ -480,8 +516,8 @@ Node16->Node9 - - + + @@ -489,8 +525,8 @@ Node17 - -chrono + +chrono @@ -498,8 +534,8 @@ Node16->Node17 - - + + @@ -507,8 +543,8 @@ Node19 - -esp_log.h + +esp_log.h @@ -516,188 +552,197 @@ Node18->Node19 - - - - - - - -Node21->Node9 - - - - - - - - -Node21->Node11 - - - + + - - -Node21->Node17 - - - + + +Node22->Node3 + + + - - -Node21->Node20 - - - + + +Node22->Node9 + + + - - -Node22 - - -MachineConfig.hpp + + +Node22->Node11 + + + - - -Node21->Node22 - - - + + +Node22->Node17 + + + - - -Node22->Node5 - - - + + +Node22->Node21 + + + - - -Node22->Node8 - - - + + +Node23 + + +MachineConfig.hpp - - -Node22->Node9 - - - + + +Node22->Node23 + + + - - -Node22->Node16 - - - + + +Node23->Node5 + + + - - -Node22->Node17 - - - + + +Node23->Node8 + + + - - -Node23 - - -pins.hpp + + +Node23->Node9 + + + - - -Node22->Node23 - - - + + +Node23->Node16 + + + - - -Node23->Node9 - - - + + +Node23->Node17 + + + Node24 - - -Adafruit_NeoPixel.h + + +pins.hpp - + Node23->Node24 - - - + + + + + + + + +Node24->Node9 + + + Node25 - - -PinsConfig.hpp + + +Adafruit_NeoPixel.h + + + + + +Node24->Node25 + + + + + + + + +Node26 + + +PinsConfig.hpp - - -Node23->Node25 - - - + + +Node24->Node26 + + + - - -Node25->Node9 - - - + + +Node26->Node9 + + + - - -Node25->Node20 - - - + + +Node26->Node21 + + + diff --git a/_buffered_msg_8cpp_source.xhtml b/_buffered_msg_8cpp_source.xhtml index 6b36d4c9..d7fc4a69 100644 --- a/_buffered_msg_8cpp_source.xhtml +++ b/_buffered_msg_8cpp_source.xhtml @@ -85,141 +85,142 @@ $(document).ready(function() { init_codefold(0); });
Go to the documentation of this file.
1#include "BufferedMsg.hpp"
2
-
3#include <ArduinoJson.h>
-
4#include "Logging.hpp"
-
5
-
6namespace fabomatic
-
7{
-
8
-
-
9 auto Buffer::push_back(const BufferedMsg &message) -> void
-
10 {
- -
12 {
-
13 msg_queue.push_back(message);
-
14 if (msg_queue.size() > MAX_MESSAGES)
-
15 {
-
16 msg_queue.pop_front();
-
17 ESP_LOGW(TAG, "Removing first message from the buffer");
-
18 }
-
19 has_changed = true;
-
20
-
21 ESP_LOGI(TAG, "Buffered %s on %s, %lu messages queued",
-
22 message.mqtt_message.c_str(),
-
23 message.mqtt_topic.c_str(),
-
24 msg_queue.size());
-
25 }
-
26 }
+
3#include <inttypes.h>
+
4#include <ArduinoJson.h>
+
5#include "Logging.hpp"
+
6
+
7namespace fabomatic
+
8{
+
9
+
+
10 auto Buffer::push_back(const BufferedMsg &message) -> void
+
11 {
+ +
13 {
+
14 msg_queue.push_back(message);
+
15 if (msg_queue.size() > MAX_MESSAGES)
+
16 {
+
17 msg_queue.pop_front();
+
18 ESP_LOGW(TAG, "Removing first message from the buffer");
+
19 }
+
20 has_changed = true;
+
21
+
22 ESP_LOGI(TAG, "Buffered %s on %s, %u messages queued",
+
23 message.mqtt_message.c_str(),
+
24 message.mqtt_topic.c_str(),
+
25 msg_queue.size());
+
26 }
+
27 }
-
27
-
-
28 auto Buffer::push_front(const BufferedMsg &message) -> void
-
29 {
- -
31 {
-
32 msg_queue.push_front(message);
-
33 if (msg_queue.size() > MAX_MESSAGES)
-
34 {
-
35 msg_queue.pop_back();
-
36 ESP_LOGW(TAG, "Removing last message from the buffer");
-
37 }
-
38 has_changed = true;
-
39
-
40 ESP_LOGI(TAG, "Buffered %s on %s, %lu messages queued",
-
41 message.mqtt_message.c_str(),
-
42 message.mqtt_topic.c_str(),
-
43 msg_queue.size());
-
44 }
-
45 }
+
28
+
+
29 auto Buffer::push_front(const BufferedMsg &message) -> void
+
30 {
+ +
32 {
+
33 msg_queue.push_front(message);
+
34 if (msg_queue.size() > MAX_MESSAGES)
+
35 {
+
36 msg_queue.pop_back();
+
37 ESP_LOGW(TAG, "Removing last message from the buffer");
+
38 }
+
39 has_changed = true;
+
40
+
41 ESP_LOGI(TAG, "Buffered %s on %s, %u messages queued ",
+
42 message.mqtt_message.c_str(),
+
43 message.mqtt_topic.c_str(),
+
44 msg_queue.size());
+
45 }
+
46 }
-
46
-
- -
48 {
-
49 if (msg_queue.size() == 0)
-
50 {
-
51 ESP_LOGE(TAG, "Calling getMessage() on empty queue!");
-
52 return {"", "", false};
-
53 }
-
54
-
55 auto elem = msg_queue.front();
-
56 msg_queue.pop_front();
-
57 has_changed = true;
-
58
-
59 return elem;
-
60 }
+
47
+
+ +
49 {
+
50 if (msg_queue.size() == 0)
+
51 {
+
52 ESP_LOGE(TAG, "Calling getMessage() on empty queue!");
+
53 return {"", "", false};
+
54 }
+
55
+
56 auto elem = msg_queue.front();
+
57 msg_queue.pop_front();
+
58 has_changed = true;
+
59
+
60 return elem;
+
61 }
-
61
-
-
62 auto Buffer::count() const -> size_t
-
63 {
-
64 return msg_queue.size();
-
65 }
+
62
+
+
63 auto Buffer::count() const -> size_t
+
64 {
+
65 return msg_queue.size();
+
66 }
-
66
-
-
67 auto Buffer::toJson(JsonDocument &doc, const std::string &element_name) const -> void
-
68 {
-
69 auto obj = doc.createNestedObject(element_name);
-
70 obj["VERSION"] = MAGIC_NUMBER;
-
71 auto json_elem = obj.createNestedArray("messages");
-
72
-
73 for (auto elem = msg_queue.begin(); elem != msg_queue.end(); elem++)
-
74 {
-
75 auto obj_msg = json_elem.createNestedObject();
-
76 obj_msg["tp"] = elem->mqtt_topic;
-
77 obj_msg["msg"] = elem->mqtt_message;
-
78 obj_msg["wait"] = elem->wait_for_answer;
-
79 }
-
80 }
+
67
+
+
68 auto Buffer::toJson(JsonDocument &doc, const std::string &element_name) const -> void
+
69 {
+
70 auto obj = doc.createNestedObject(element_name);
+
71 obj["VERSION"] = MAGIC_NUMBER;
+
72 auto json_elem = obj.createNestedArray("messages");
+
73
+
74 for (auto elem = msg_queue.begin(); elem != msg_queue.end(); elem++)
+
75 {
+
76 auto obj_msg = json_elem.createNestedObject();
+
77 obj_msg["tp"] = elem->mqtt_topic;
+
78 obj_msg["msg"] = elem->mqtt_message;
+
79 obj_msg["wait"] = elem->wait_for_answer;
+
80 }
+
81 }
-
81
-
-
82 auto Buffer::fromJsonElement(const JsonObject &json_obj) -> std::optional<Buffer>
-
83 {
-
84 Buffer buff;
-
85
-
86 // Check that the version is the same
-
87 auto version = json_obj["VERSION"].as<unsigned int>();
-
88 if (version != MAGIC_NUMBER)
-
89 {
-
90 ESP_LOGD(TAG, "Buffer::fromJson() : wrong version number (%d, expected %d)", version, MAGIC_NUMBER);
-
91 return std::nullopt;
-
92 }
-
93
-
94 for (const auto &elem : json_obj["messages"].as<JsonArray>())
-
95 {
-
96 const auto &msg = BufferedMsg{elem["msg"].as<std::string>(),
-
97 elem["tp"].as<std::string>(),
-
98 elem["wait"].as<bool>()};
-
99 buff.push_back(msg);
-
100 }
-
101
-
102 ESP_LOGD(TAG, "Buffer::fromJsonElement() : data loaded successfully");
-
103
-
104 return buff;
-
105 }
+
82
+
+
83 auto Buffer::fromJsonElement(const JsonObject &json_obj) -> std::optional<Buffer>
+
84 {
+
85 Buffer buff;
+
86
+
87 // Check that the version is the same
+
88 auto version = json_obj["VERSION"].as<unsigned int>();
+
89 if (version != MAGIC_NUMBER)
+
90 {
+
91 ESP_LOGD(TAG, "Buffer::fromJson() : wrong version number (%d, expected %d)", version, MAGIC_NUMBER);
+
92 return std::nullopt;
+
93 }
+
94
+
95 for (const auto &elem : json_obj["messages"].as<JsonArray>())
+
96 {
+
97 const auto &msg = BufferedMsg{elem["msg"].as<std::string>(),
+
98 elem["tp"].as<std::string>(),
+
99 elem["wait"].as<bool>()};
+
100 buff.push_back(msg);
+
101 }
+
102
+
103 ESP_LOGD(TAG, "Buffer::fromJsonElement() : data loaded successfully");
+
104
+
105 return buff;
+
106 }
-
106
-
107} // namespace fabomatic
+
107
+
108} // namespace fabomatic
-
static const char *const TAG
Definition Logging.hpp:6
+
static const char *const TAG
Definition Logging.hpp:9
Class containing the buffered messages for future replay.
-
auto push_front(const BufferedMsg &message) -> void
+
auto push_front(const BufferedMsg &message) -> void
std::deque< BufferedMsg > msg_queue
-
auto getMessage() -> const BufferedMsg
-
auto toJson(JsonDocument &doc, const std::string &element_name) const -> void
-
auto count() const -> size_t
-
auto push_back(const BufferedMsg &message) -> void
-
static auto fromJsonElement(const JsonObject &json_obj) -> std::optional< Buffer >
+
auto getMessage() -> const BufferedMsg
+
auto toJson(JsonDocument &doc, const std::string &element_name) const -> void
+
auto count() const -> size_t
+
auto push_back(const BufferedMsg &message) -> void
+
static auto fromJsonElement(const JsonObject &json_obj) -> std::optional< Buffer >
static constexpr bool ENABLE_BUFFERING
True if important MQTT messages should be saved when network is down and replayed.
Definition conf.hpp:94
Message that can be saved in Flash for future replay.
diff --git a/_buffered_msg_8hpp.xhtml b/_buffered_msg_8hpp.xhtml index 456b4940..901c94df 100644 --- a/_buffered_msg_8hpp.xhtml +++ b/_buffered_msg_8hpp.xhtml @@ -121,7 +121,7 @@ Namespaces
diff --git a/_buffered_msg_8hpp__incl.map b/_buffered_msg_8hpp__incl.map index aa7f3760..0e9ef4ab 100644 --- a/_buffered_msg_8hpp__incl.map +++ b/_buffered_msg_8hpp__incl.map @@ -1,75 +1,78 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_buffered_msg_8hpp__incl.md5 b/_buffered_msg_8hpp__incl.md5 index d2aeee57..8fc17945 100644 --- a/_buffered_msg_8hpp__incl.md5 +++ b/_buffered_msg_8hpp__incl.md5 @@ -1 +1 @@ -1c45731991d081249ad56b15542064f7 \ No newline at end of file +8fc3fd3a9abccaa0539a0f273c77dfe1 \ No newline at end of file diff --git a/_buffered_msg_8hpp__incl.svg b/_buffered_msg_8hpp__incl.svg index c367a6cc..ecb28bc8 100644 --- a/_buffered_msg_8hpp__incl.svg +++ b/_buffered_msg_8hpp__incl.svg @@ -46,7 +46,7 @@ @@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -BufferedMsg.hpp + +BufferedMsg.hpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -optional + +optional @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,8 +85,8 @@ var sectionId = 'dynsection-0'; Node3 - -queue + +queue @@ -94,8 +94,8 @@ var sectionId = 'dynsection-0'; Node1->Node3 - - + + @@ -103,8 +103,8 @@ var sectionId = 'dynsection-0'; Node4 - -string + +string @@ -112,8 +112,8 @@ var sectionId = 'dynsection-0'; Node1->Node4 - - + + @@ -121,8 +121,8 @@ var sectionId = 'dynsection-0'; Node5 - -memory + +memory @@ -130,8 +130,8 @@ var sectionId = 'dynsection-0'; Node1->Node5 - - + + @@ -139,8 +139,8 @@ var sectionId = 'dynsection-0'; Node6 - -ArduinoJson.h + +ArduinoJson.h @@ -148,8 +148,8 @@ var sectionId = 'dynsection-0'; Node1->Node6 - - + + @@ -157,8 +157,8 @@ var sectionId = 'dynsection-0'; Node7 - -MachineID.hpp + +MachineID.hpp @@ -166,8 +166,8 @@ var sectionId = 'dynsection-0'; Node1->Node7 - - + + @@ -175,8 +175,8 @@ var sectionId = 'dynsection-0'; Node9 - -MQTTtypes.hpp + +MQTTtypes.hpp @@ -184,8 +184,8 @@ var sectionId = 'dynsection-0'; Node1->Node9 - - + + @@ -193,8 +193,8 @@ var sectionId = 'dynsection-0'; Node8 - -cstdint + +cstdint @@ -202,26 +202,26 @@ var sectionId = 'dynsection-0'; Node7->Node8 - - + + - + Node9->Node4 - - - + + + - + Node9->Node5 - - - + + + @@ -229,8 +229,8 @@ var sectionId = 'dynsection-0'; Node9->Node6 - - + + @@ -238,8 +238,8 @@ var sectionId = 'dynsection-0'; Node10 - -FabUser.hpp + +FabUser.hpp @@ -247,8 +247,8 @@ var sectionId = 'dynsection-0'; Node9->Node10 - - + + @@ -256,71 +256,71 @@ var sectionId = 'dynsection-0'; Node12 - -card.hpp + +card.hpp - + Node9->Node12 - - - + + + - - -Node20 - - -Machine.hpp + + +Node21 + + +Machine.hpp - - -Node9->Node20 - - - + + +Node9->Node21 + + + - - -Node25 - - -string_view + + +Node26 + + +string_view - - -Node9->Node25 - - - + + +Node9->Node26 + + + - + Node10->Node4 - - - + + + - + Node10->Node8 - - - + + + @@ -328,8 +328,8 @@ var sectionId = 'dynsection-0'; Node11 - -Arduino.h + +Arduino.h @@ -337,8 +337,8 @@ var sectionId = 'dynsection-0'; Node10->Node11 - - + + @@ -346,8 +346,8 @@ var sectionId = 'dynsection-0'; Node10->Node12 - - + + @@ -355,17 +355,17 @@ var sectionId = 'dynsection-0'; Node13 - -sstream + +sstream - + Node10->Node13 - - - + + + @@ -373,35 +373,35 @@ var sectionId = 'dynsection-0'; Node15 - -conf.hpp + +conf.hpp - + Node10->Node15 - - - + + + - - -Node19 - - -array + + +Node20 + + +array - - -Node10->Node19 - - - + + +Node10->Node20 + + + @@ -409,8 +409,8 @@ var sectionId = 'dynsection-0'; Node12->Node11 - - + + @@ -418,8 +418,8 @@ var sectionId = 'dynsection-0'; Node12->Node13 - - + + @@ -427,8 +427,8 @@ var sectionId = 'dynsection-0'; Node14 - -iomanip + +iomanip @@ -436,8 +436,8 @@ var sectionId = 'dynsection-0'; Node12->Node14 - - + + @@ -445,8 +445,8 @@ var sectionId = 'dynsection-0'; Node12->Node15 - - + + @@ -454,8 +454,8 @@ var sectionId = 'dynsection-0'; Node17 - -Logging.hpp + +Logging.hpp @@ -463,8 +463,26 @@ var sectionId = 'dynsection-0'; Node12->Node17 - - + + + + + + + +Node19 + + +esp_mac.h + + + + + +Node12->Node19 + + + @@ -472,8 +490,8 @@ var sectionId = 'dynsection-0'; Node15->Node4 - - + + @@ -481,8 +499,8 @@ var sectionId = 'dynsection-0'; Node15->Node7 - - + + @@ -490,8 +508,8 @@ var sectionId = 'dynsection-0'; Node15->Node8 - - + + @@ -499,8 +517,8 @@ var sectionId = 'dynsection-0'; Node16 - -chrono + +chrono @@ -508,8 +526,8 @@ var sectionId = 'dynsection-0'; Node15->Node16 - - + + @@ -517,8 +535,8 @@ var sectionId = 'dynsection-0'; Node18 - -esp_log.h + +esp_log.h @@ -526,188 +544,197 @@ var sectionId = 'dynsection-0'; Node17->Node18 - - + + - - -Node20->Node8 - - - + + +Node21->Node2 + + + - - -Node20->Node10 - - - - - - - - -Node20->Node16 - - - + + +Node21->Node8 + + + - - -Node20->Node19 - - - + + +Node21->Node10 + + + - - -Node21 - - -MachineConfig.hpp - - - - - -Node20->Node21 - - - + + +Node21->Node16 + + + - - -Node21->Node4 - - - + + +Node21->Node20 + + + - - -Node21->Node7 - - - + + +Node22 + + +MachineConfig.hpp - - -Node21->Node8 - - - + + +Node21->Node22 + + + - - -Node21->Node15 - - - + + +Node22->Node4 + + + - - -Node21->Node16 - - - + + +Node22->Node7 + + + - - -Node22 - - -pins.hpp + + +Node22->Node8 + + + - - -Node21->Node22 - - - + + +Node22->Node15 + + + - - -Node22->Node8 - - - + + +Node22->Node16 + + + Node23 - - -Adafruit_NeoPixel.h + + +pins.hpp - + Node22->Node23 - - - + + + + + + + + +Node23->Node8 + + + Node24 - - -PinsConfig.hpp + + +Adafruit_NeoPixel.h + + + + + +Node23->Node24 + + + + + + + + +Node25 + + +PinsConfig.hpp - - -Node22->Node24 - - - + + +Node23->Node25 + + + - - -Node24->Node8 - - - + + +Node25->Node8 + + + - - -Node24->Node19 - - - + + +Node25->Node20 + + + diff --git a/_buffered_msg_8hpp__incl_org.svg b/_buffered_msg_8hpp__incl_org.svg index 81581391..c153308b 100644 --- a/_buffered_msg_8hpp__incl_org.svg +++ b/_buffered_msg_8hpp__incl_org.svg @@ -4,16 +4,16 @@ - + BufferedMsg.hpp Node1 - -BufferedMsg.hpp + +BufferedMsg.hpp @@ -21,8 +21,8 @@ Node2 - -optional + +optional @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node3 - -queue + +queue @@ -48,8 +48,8 @@ Node1->Node3 - - + + @@ -57,8 +57,8 @@ Node4 - -string + +string @@ -66,8 +66,8 @@ Node1->Node4 - - + + @@ -75,8 +75,8 @@ Node5 - -memory + +memory @@ -84,8 +84,8 @@ Node1->Node5 - - + + @@ -93,8 +93,8 @@ Node6 - -ArduinoJson.h + +ArduinoJson.h @@ -102,8 +102,8 @@ Node1->Node6 - - + + @@ -111,8 +111,8 @@ Node7 - -MachineID.hpp + +MachineID.hpp @@ -120,8 +120,8 @@ Node1->Node7 - - + + @@ -129,8 +129,8 @@ Node9 - -MQTTtypes.hpp + +MQTTtypes.hpp @@ -138,8 +138,8 @@ Node1->Node9 - - + + @@ -147,8 +147,8 @@ Node8 - -cstdint + +cstdint @@ -156,26 +156,26 @@ Node7->Node8 - - + + - + Node9->Node4 - - - + + + - + Node9->Node5 - - - + + + @@ -183,8 +183,8 @@ Node9->Node6 - - + + @@ -192,8 +192,8 @@ Node10 - -FabUser.hpp + +FabUser.hpp @@ -201,8 +201,8 @@ Node9->Node10 - - + + @@ -210,71 +210,71 @@ Node12 - -card.hpp + +card.hpp - + Node9->Node12 - - - + + + - - -Node20 - - -Machine.hpp + + +Node21 + + +Machine.hpp - - -Node9->Node20 - - - + + +Node9->Node21 + + + - - -Node25 - - -string_view + + +Node26 + + +string_view - - -Node9->Node25 - - - + + +Node9->Node26 + + + - + Node10->Node4 - - - + + + - + Node10->Node8 - - - + + + @@ -282,8 +282,8 @@ Node11 - -Arduino.h + +Arduino.h @@ -291,8 +291,8 @@ Node10->Node11 - - + + @@ -300,8 +300,8 @@ Node10->Node12 - - + + @@ -309,17 +309,17 @@ Node13 - -sstream + +sstream - + Node10->Node13 - - - + + + @@ -327,35 +327,35 @@ Node15 - -conf.hpp + +conf.hpp - + Node10->Node15 - - - + + + - - -Node19 - - -array + + +Node20 + + +array - - -Node10->Node19 - - - + + +Node10->Node20 + + + @@ -363,8 +363,8 @@ Node12->Node11 - - + + @@ -372,8 +372,8 @@ Node12->Node13 - - + + @@ -381,8 +381,8 @@ Node14 - -iomanip + +iomanip @@ -390,8 +390,8 @@ Node12->Node14 - - + + @@ -399,8 +399,8 @@ Node12->Node15 - - + + @@ -408,8 +408,8 @@ Node17 - -Logging.hpp + +Logging.hpp @@ -417,8 +417,26 @@ Node12->Node17 - - + + + + + + + +Node19 + + +esp_mac.h + + + + + +Node12->Node19 + + + @@ -426,8 +444,8 @@ Node15->Node4 - - + + @@ -435,8 +453,8 @@ Node15->Node7 - - + + @@ -444,8 +462,8 @@ Node15->Node8 - - + + @@ -453,8 +471,8 @@ Node16 - -chrono + +chrono @@ -462,8 +480,8 @@ Node15->Node16 - - + + @@ -471,8 +489,8 @@ Node18 - -esp_log.h + +esp_log.h @@ -480,188 +498,197 @@ Node17->Node18 - - + + - - -Node20->Node8 - - - + + +Node21->Node2 + + + - - -Node20->Node10 - - - - - - - - -Node20->Node16 - - - + + +Node21->Node8 + + + - - -Node20->Node19 - - - + + +Node21->Node10 + + + - - -Node21 - - -MachineConfig.hpp - - - - - -Node20->Node21 - - - + + +Node21->Node16 + + + - - -Node21->Node4 - - - + + +Node21->Node20 + + + - - -Node21->Node7 - - - + + +Node22 + + +MachineConfig.hpp - - -Node21->Node8 - - - + + +Node21->Node22 + + + - - -Node21->Node15 - - - + + +Node22->Node4 + + + - - -Node21->Node16 - - - + + +Node22->Node7 + + + - - -Node22 - - -pins.hpp + + +Node22->Node8 + + + - - -Node21->Node22 - - - + + +Node22->Node15 + + + - - -Node22->Node8 - - - + + +Node22->Node16 + + + Node23 - - -Adafruit_NeoPixel.h + + +pins.hpp - + Node22->Node23 - - - + + + + + + + + +Node23->Node8 + + + Node24 - - -PinsConfig.hpp + + +Adafruit_NeoPixel.h + + + + + +Node23->Node24 + + + + + + + + +Node25 + + +PinsConfig.hpp - - -Node22->Node24 - - - + + +Node23->Node25 + + + - - -Node24->Node8 - - - + + +Node25->Node8 + + + - - -Node24->Node19 - - - + + +Node25->Node20 + + + diff --git a/_buffered_msg_8hpp_source.xhtml b/_buffered_msg_8hpp_source.xhtml index 544e6610..9a09c60e 100644 --- a/_buffered_msg_8hpp_source.xhtml +++ b/_buffered_msg_8hpp_source.xhtml @@ -193,17 +193,17 @@ $(document).ready(function() { init_codefold(0); });
Class containing the buffered messages for future replay.
-
auto push_front(const BufferedMsg &message) -> void
+
auto push_front(const BufferedMsg &message) -> void
auto setChanged(bool new_value) -> void
std::deque< BufferedMsg > msg_queue
-
auto getMessage() -> const BufferedMsg
+
auto getMessage() -> const BufferedMsg
static constexpr auto MAGIC_NUMBER
-
auto toJson(JsonDocument &doc, const std::string &element_name) const -> void
+
auto toJson(JsonDocument &doc, const std::string &element_name) const -> void
static constexpr auto MAX_MESSAGES
-
auto count() const -> size_t
-
auto push_back(const BufferedMsg &message) -> void
-
static auto fromJsonElement(const JsonObject &json_obj) -> std::optional< Buffer >
+
auto count() const -> size_t
+
auto push_back(const BufferedMsg &message) -> void
+
static auto fromJsonElement(const JsonObject &json_obj) -> std::optional< Buffer >
auto hasChanged() const -> bool
Query to be replayed.
auto waitForReply() const -> bool override
@@ -228,7 +228,7 @@ $(document).ready(function() { init_codefold(0); });
diff --git a/_buzzer_8cpp.xhtml b/_buzzer_8cpp.xhtml index 42a55b18..35517235 100644 --- a/_buzzer_8cpp.xhtml +++ b/_buzzer_8cpp.xhtml @@ -101,7 +101,7 @@ Namespaces
diff --git a/_buzzer_8cpp__incl.map b/_buzzer_8cpp__incl.map index 3ef28162..11af9cf5 100644 --- a/_buzzer_8cpp__incl.map +++ b/_buzzer_8cpp__incl.map @@ -1,35 +1,38 @@ - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_buzzer_8cpp__incl.md5 b/_buzzer_8cpp__incl.md5 index f1a0d797..282dab78 100644 --- a/_buzzer_8cpp__incl.md5 +++ b/_buzzer_8cpp__incl.md5 @@ -1 +1 @@ -04f2a1d566df19dc0ff046da59eb6bb6 \ No newline at end of file +d42b23796d1d8d4552a34b348af1f296 \ No newline at end of file diff --git a/_buzzer_8cpp__incl.svg b/_buzzer_8cpp__incl.svg index 7b0fa8da..351714a2 100644 --- a/_buzzer_8cpp__incl.svg +++ b/_buzzer_8cpp__incl.svg @@ -46,7 +46,7 @@ @@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -Buzzer.cpp + +Buzzer.cpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -Buzzer.hpp + +Buzzer.hpp @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,8 +85,8 @@ var sectionId = 'dynsection-0'; Node4 - -conf.hpp + +conf.hpp @@ -94,8 +94,8 @@ var sectionId = 'dynsection-0'; Node1->Node4 - - + + @@ -103,8 +103,8 @@ var sectionId = 'dynsection-0'; Node9 - -pins.hpp + +pins.hpp @@ -112,8 +112,8 @@ var sectionId = 'dynsection-0'; Node1->Node9 - - + + @@ -121,8 +121,8 @@ var sectionId = 'dynsection-0'; Node13 - -Arduino.h + +Arduino.h @@ -130,8 +130,8 @@ var sectionId = 'dynsection-0'; Node1->Node13 - - + + @@ -139,8 +139,8 @@ var sectionId = 'dynsection-0'; Node14 - -Tasks.hpp + +Tasks.hpp @@ -148,8 +148,8 @@ var sectionId = 'dynsection-0'; Node1->Node14 - - + + @@ -166,8 +166,8 @@ var sectionId = 'dynsection-0'; Node2->Node3 - - + + @@ -175,8 +175,8 @@ var sectionId = 'dynsection-0'; Node5 - -cstdint + +cstdint @@ -184,8 +184,8 @@ var sectionId = 'dynsection-0'; Node4->Node5 - - + + @@ -193,8 +193,8 @@ var sectionId = 'dynsection-0'; Node6 - -string + +string @@ -202,8 +202,8 @@ var sectionId = 'dynsection-0'; Node4->Node6 - - + + @@ -211,8 +211,8 @@ var sectionId = 'dynsection-0'; Node7 - -chrono + +chrono @@ -220,8 +220,8 @@ var sectionId = 'dynsection-0'; Node4->Node7 - - + + @@ -229,8 +229,8 @@ var sectionId = 'dynsection-0'; Node8 - -MachineID.hpp + +MachineID.hpp @@ -238,8 +238,8 @@ var sectionId = 'dynsection-0'; Node4->Node8 - - + + @@ -247,8 +247,8 @@ var sectionId = 'dynsection-0'; Node8->Node5 - - + + @@ -256,8 +256,8 @@ var sectionId = 'dynsection-0'; Node9->Node5 - - + + @@ -265,8 +265,8 @@ var sectionId = 'dynsection-0'; Node10 - -Adafruit_NeoPixel.h + +Adafruit_NeoPixel.h @@ -274,8 +274,8 @@ var sectionId = 'dynsection-0'; Node9->Node10 - - + + @@ -283,8 +283,8 @@ var sectionId = 'dynsection-0'; Node11 - -PinsConfig.hpp + +PinsConfig.hpp @@ -292,8 +292,8 @@ var sectionId = 'dynsection-0'; Node9->Node11 - - + + @@ -301,8 +301,8 @@ var sectionId = 'dynsection-0'; Node11->Node5 - - + + @@ -310,8 +310,8 @@ var sectionId = 'dynsection-0'; Node12 - -array + +array @@ -319,8 +319,8 @@ var sectionId = 'dynsection-0'; Node11->Node12 - - + + @@ -328,8 +328,17 @@ var sectionId = 'dynsection-0'; Node14->Node7 - - + + + + + + + +Node14->Node13 + + + @@ -337,8 +346,8 @@ var sectionId = 'dynsection-0'; Node15 - -functional + +functional @@ -346,8 +355,26 @@ var sectionId = 'dynsection-0'; Node14->Node15 - - + + + + + + + +Node16 + + +list + + + + + +Node14->Node16 + + + diff --git a/_buzzer_8cpp__incl_org.svg b/_buzzer_8cpp__incl_org.svg index c7afcd76..7195d039 100644 --- a/_buzzer_8cpp__incl_org.svg +++ b/_buzzer_8cpp__incl_org.svg @@ -4,16 +4,16 @@ - + Buzzer.cpp Node1 - -Buzzer.cpp + +Buzzer.cpp @@ -21,8 +21,8 @@ Node2 - -Buzzer.hpp + +Buzzer.hpp @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node4 - -conf.hpp + +conf.hpp @@ -48,8 +48,8 @@ Node1->Node4 - - + + @@ -57,8 +57,8 @@ Node9 - -pins.hpp + +pins.hpp @@ -66,8 +66,8 @@ Node1->Node9 - - + + @@ -75,8 +75,8 @@ Node13 - -Arduino.h + +Arduino.h @@ -84,8 +84,8 @@ Node1->Node13 - - + + @@ -93,8 +93,8 @@ Node14 - -Tasks.hpp + +Tasks.hpp @@ -102,8 +102,8 @@ Node1->Node14 - - + + @@ -120,8 +120,8 @@ Node2->Node3 - - + + @@ -129,8 +129,8 @@ Node5 - -cstdint + +cstdint @@ -138,8 +138,8 @@ Node4->Node5 - - + + @@ -147,8 +147,8 @@ Node6 - -string + +string @@ -156,8 +156,8 @@ Node4->Node6 - - + + @@ -165,8 +165,8 @@ Node7 - -chrono + +chrono @@ -174,8 +174,8 @@ Node4->Node7 - - + + @@ -183,8 +183,8 @@ Node8 - -MachineID.hpp + +MachineID.hpp @@ -192,8 +192,8 @@ Node4->Node8 - - + + @@ -201,8 +201,8 @@ Node8->Node5 - - + + @@ -210,8 +210,8 @@ Node9->Node5 - - + + @@ -219,8 +219,8 @@ Node10 - -Adafruit_NeoPixel.h + +Adafruit_NeoPixel.h @@ -228,8 +228,8 @@ Node9->Node10 - - + + @@ -237,8 +237,8 @@ Node11 - -PinsConfig.hpp + +PinsConfig.hpp @@ -246,8 +246,8 @@ Node9->Node11 - - + + @@ -255,8 +255,8 @@ Node11->Node5 - - + + @@ -264,8 +264,8 @@ Node12 - -array + +array @@ -273,8 +273,8 @@ Node11->Node12 - - + + @@ -282,8 +282,17 @@ Node14->Node7 - - + + + + + + + +Node14->Node13 + + + @@ -291,8 +300,8 @@ Node15 - -functional + +functional @@ -300,8 +309,26 @@ Node14->Node15 - - + + + + + + + +Node16 + + +list + + + + + +Node14->Node16 + + + diff --git a/_buzzer_8cpp_source.xhtml b/_buzzer_8cpp_source.xhtml index d8d9c1ab..99da06eb 100644 --- a/_buzzer_8cpp_source.xhtml +++ b/_buzzer_8cpp_source.xhtml @@ -146,7 +146,7 @@ $(document).ready(function() { init_codefold(0); });
auto configure() -> void
Definition Buzzer.cpp:9
auto beepOk() const -> void
Definition Buzzer.cpp:16
-
auto delay(const milliseconds duration) -> void
Wait for a delay, allowing OTA updates.
Definition Tasks.cpp:250
+
auto delay(const milliseconds duration) -> void
Wait for a delay, allowing OTA updates.
Definition Tasks.cpp:266
static constexpr auto NB_BEEPS
Number of beeps every time the function is called.
Definition conf.hpp:105
static constexpr auto STANDARD_BEEP_DURATION
Single beep duration, typical value 200ms. Set to 0 to disable beeps.
Definition conf.hpp:102
@@ -158,7 +158,7 @@ $(document).ready(function() { init_codefold(0); });
diff --git a/_buzzer_8hpp.xhtml b/_buzzer_8hpp.xhtml index 8286a9e2..990e1b20 100644 --- a/_buzzer_8hpp.xhtml +++ b/_buzzer_8hpp.xhtml @@ -109,7 +109,7 @@ Namespaces
diff --git a/_buzzer_8hpp_source.xhtml b/_buzzer_8hpp_source.xhtml index f1e74e37..e039d93d 100644 --- a/_buzzer_8hpp_source.xhtml +++ b/_buzzer_8hpp_source.xhtml @@ -117,7 +117,7 @@ $(document).ready(function() { init_codefold(0); });
diff --git a/_cached_cards_8hpp.xhtml b/_cached_cards_8hpp.xhtml index 696d2e10..ac8c527c 100644 --- a/_cached_cards_8hpp.xhtml +++ b/_cached_cards_8hpp.xhtml @@ -82,13 +82,14 @@ $(function() {
#include <array>
+#include <optional>
#include "FabUser.hpp"
#include "conf.hpp"
#include "card.hpp"
Include dependency graph for CachedCards.hpp:
-
+
This graph shows which files directly or indirectly include this file:
@@ -115,7 +116,7 @@ Namespaces
diff --git a/_cached_cards_8hpp__incl.map b/_cached_cards_8hpp__incl.map index ad86cfa0..579653d9 100644 --- a/_cached_cards_8hpp__incl.map +++ b/_cached_cards_8hpp__incl.map @@ -1,38 +1,42 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_cached_cards_8hpp__incl.md5 b/_cached_cards_8hpp__incl.md5 index 1f3ea633..415d4eac 100644 --- a/_cached_cards_8hpp__incl.md5 +++ b/_cached_cards_8hpp__incl.md5 @@ -1 +1 @@ -e2766d7e9c01e1bc5bf94198eee5ec08 \ No newline at end of file +0d6696458d032c5734d55568316e2f2b \ No newline at end of file diff --git a/_cached_cards_8hpp__incl.svg b/_cached_cards_8hpp__incl.svg index 062c667e..ceb9aab4 100644 --- a/_cached_cards_8hpp__incl.svg +++ b/_cached_cards_8hpp__incl.svg @@ -4,8 +4,7 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + CachedCards.hpp Node1 - -CachedCards.hpp + +CachedCards.hpp @@ -31,8 +67,8 @@ Node2 - -array + +array @@ -40,17 +76,17 @@ Node1->Node2 - - + + Node3 - - -FabUser.hpp + + +optional @@ -58,125 +94,125 @@ Node1->Node3 - - + + - - -Node5 - - -card.hpp + + +Node4 + + +FabUser.hpp - - -Node1->Node5 - - - + + +Node1->Node4 + + + - - -Node8 - - -conf.hpp + + +Node6 + + +card.hpp - - -Node1->Node8 - - - + + +Node1->Node6 + + + - - -Node3->Node2 - - - + + +Node9 + + +conf.hpp - - -Node4 - - -Arduino.h + + +Node1->Node9 + + + - - -Node3->Node4 - - - + + +Node4->Node2 + + + - - -Node3->Node5 - - - + + +Node5 + + +Arduino.h - - -Node6 - - -sstream + + +Node4->Node5 + + + - - -Node3->Node6 - - - + + +Node4->Node6 + + + - - -Node3->Node8 - - - + + +Node7 + + +sstream - - -Node9 - - -cstdint + + +Node4->Node7 + + + - - -Node3->Node9 - - - + + +Node4->Node9 + + + @@ -184,166 +220,223 @@ Node10 - -string + +cstdint + + + + + +Node4->Node10 + + + + + + + + +Node11 + + +string - - -Node3->Node10 - - - + + +Node4->Node11 + + + - - -Node5->Node4 - - - + + +Node6->Node5 + + + - - -Node5->Node6 - - - + + +Node6->Node7 + + + - - -Node7 - - -iomanip + + +Node8 + + +iomanip - - -Node5->Node7 - - - + + +Node6->Node8 + + + - - -Node5->Node8 - - - + + +Node6->Node9 + + + - - -Node13 - - -Logging.hpp + + +Node14 + + +Logging.hpp - - -Node5->Node13 - - - + + +Node6->Node14 + + + - - -Node8->Node9 - - - + + +Node16 + + +esp_mac.h - - -Node8->Node10 - - - + + +Node6->Node16 + + + - - -Node11 - - -chrono + + +Node9->Node10 + + + - - -Node8->Node11 - - - + + +Node9->Node11 + + + Node12 - - -MachineID.hpp + + +chrono - - -Node8->Node12 - - - + + +Node9->Node12 + + + - - -Node12->Node9 - - - + + +Node13 + + +MachineID.hpp - - -Node14 - - -esp_log.h + + +Node9->Node13 + + + - - -Node13->Node14 - - - + + +Node13->Node10 + + + + + + + + +Node15 + + +esp_log.h + + + + + +Node14->Node15 + + + + + + + + + + + + + + + + + + + + +
2#define CACHEDCARDS_HPP
3
4#include <array>
-
5
-
6#include "FabUser.hpp"
-
7#include "conf.hpp"
-
8#include "card.hpp"
-
9
-
10namespace fabomatic
-
11{
-
- -
14 {
- - -
17 constexpr CachedCard() : uid(card::INVALID), level(FabUser::UserLevel::Unknown) {};
- -
19 };
+
5#include <optional>
+
6
+
7#include "FabUser.hpp"
+
8#include "conf.hpp"
+
9#include "card.hpp"
+
10
+
11namespace fabomatic
+
12{
+
+ +
15 {
+ + +
18 constexpr CachedCard() : uid(card::INVALID), level(FabUser::UserLevel::Unknown) {};
+ +
20 };
-
20
-
- -
24 {
-
25 std::array<card::uid_t, conf::rfid_tags::CACHE_LEN> cards;
-
26 std::array<FabUser::UserLevel, conf::rfid_tags::CACHE_LEN> levels;
-
27
-
28 constexpr CachedCards() : cards{card::INVALID}, levels{FabUser::UserLevel::Unknown} {};
-
29
-
-
30 constexpr auto operator[](int i) const -> const CachedCard
-
31 {
-
32 return {cards[i], levels[i]};
-
33 }
+
21
+
+ +
25 {
+
26 std::array<card::uid_t, conf::rfid_tags::CACHE_LEN> cards;
+
27 std::array<FabUser::UserLevel, conf::rfid_tags::CACHE_LEN> levels;
+
28
+
29 constexpr CachedCards() : cards{card::INVALID}, levels{FabUser::UserLevel::Unknown} {};
+
30
+
+
31 constexpr auto operator[](int i) const -> const CachedCard
+
32 {
+
33 return {cards[i], levels[i]};
+
34 }
-
34
-
-
35 auto find_uid(const card::uid_t &search_uid) const -> const std::optional<CachedCard>
-
36 {
-
37 if (search_uid == card::INVALID)
-
38 {
-
39 return std::nullopt;
-
40 }
-
41 const auto pos = std::find(cards.cbegin(), cards.cend(), search_uid);
-
42 if (pos != cards.cend())
-
43 {
-
44 auto idx = std::distance(cards.cbegin(), pos);
-
45 return CachedCard{*pos, levels[idx]};
-
46 }
-
47 return std::nullopt;
-
48 }
+
35
+
+
36 constexpr auto find_uid(const card::uid_t &search_uid) const -> const std::optional<CachedCard>
+
37 {
+
38 if (search_uid == card::INVALID)
+
39 {
+
40 return std::nullopt;
+
41 }
+
42 const auto pos = std::find(cards.cbegin(), cards.cend(), search_uid);
+
43 if (pos != cards.cend())
+
44 {
+
45 auto idx = std::distance(cards.cbegin(), pos);
+
46 return CachedCard{*pos, levels[idx]};
+
47 }
+
48 return std::nullopt;
+
49 }
-
49
-
-
50 constexpr auto set_at(int idx, const card::uid_t &uid, const FabUser::UserLevel &level) -> void
-
51 {
-
52 cards[idx] = uid;
-
53 levels[idx] = level;
-
54 }
+
50
+
+
51 constexpr auto set_at(int idx, const card::uid_t &uid, const FabUser::UserLevel &level) -> void
+
52 {
+
53 cards[idx] = uid;
+
54 levels[idx] = level;
+
55 }
-
55
-
-
56 constexpr auto size() const -> size_t
-
57 {
- -
59 }
+
56
+
+
57 constexpr auto size() const -> size_t
+
58 {
+ +
60 }
-
60 };
+
61 };
-
61
-
62} // namespace fabomatic
-
63
-
64#endif // CACHEDCARDS_HPP
+
62
+
63} // namespace fabomatic
+
64
+
65#endif // CACHEDCARDS_HPP
-
static constexpr uid_t INVALID
Definition card.hpp:15
-
u_int64_t uid_t
Definition card.hpp:14
+
static constexpr uid_t INVALID
Definition card.hpp:16
+
u_int64_t uid_t
Definition card.hpp:15
static constexpr uint8_t CACHE_LEN
Number of cached UID, persisted in flash.
Definition conf.hpp:37
-
A Cached card contains only RFID tag ID + access level. Name is intentionally not saved.
-
constexpr CachedCard(card::uid_t uid, FabUser::UserLevel level)
- -
FabUser::UserLevel level
- -
This struct contains CACHE_LEN RFID tags with their authentication by the backend.
-
constexpr auto size() const -> size_t
-
std::array< card::uid_t, conf::rfid_tags::CACHE_LEN > cards
-
std::array< FabUser::UserLevel, conf::rfid_tags::CACHE_LEN > levels
- -
constexpr auto set_at(int idx, const card::uid_t &uid, const FabUser::UserLevel &level) -> void
-
auto find_uid(const card::uid_t &search_uid) const -> const std::optional< CachedCard >
-
constexpr auto operator[](int i) const -> const CachedCard
+
A Cached card contains only RFID tag ID + access level. Name is intentionally not saved.
+
constexpr CachedCard(card::uid_t uid, FabUser::UserLevel level)
+ +
FabUser::UserLevel level
+ +
This struct contains CACHE_LEN RFID tags with their authentication by the backend.
+
constexpr auto size() const -> size_t
+
constexpr auto find_uid(const card::uid_t &search_uid) const -> const std::optional< CachedCard >
+
std::array< card::uid_t, conf::rfid_tags::CACHE_LEN > cards
+
std::array< FabUser::UserLevel, conf::rfid_tags::CACHE_LEN > levels
+ +
constexpr auto set_at(int idx, const card::uid_t &uid, const FabUser::UserLevel &level) -> void
+
constexpr auto operator[](int i) const -> const CachedCard
Represents a user with access level, name, RFID tag, and auth result.
Definition FabUser.hpp:16
diff --git a/_espressif_8cpp.xhtml b/_espressif_8cpp.xhtml index 31faa378..3e580a98 100644 --- a/_espressif_8cpp.xhtml +++ b/_espressif_8cpp.xhtml @@ -127,7 +127,7 @@ Functions
diff --git a/_espressif_8cpp_source.xhtml b/_espressif_8cpp_source.xhtml index c7d23618..31a5d5ec 100644 --- a/_espressif_8cpp_source.xhtml +++ b/_espressif_8cpp_source.xhtml @@ -198,7 +198,7 @@ $(document).ready(function() { init_codefold(0); });
-
static const char *const TAG
Definition Logging.hpp:6
+
static const char *const TAG
Definition Logging.hpp:9
Contains all espressif32 features not masked by Arduino IDE.
Definition Espressif.cpp:14
auto getFreeHeap() -> uint32_t
Definition Espressif.cpp:88
@@ -210,7 +210,7 @@ $(document).ready(function() { init_codefold(0); });
diff --git a/_espressif_8hpp.xhtml b/_espressif_8hpp.xhtml index 939a408d..7fc0fbe3 100644 --- a/_espressif_8hpp.xhtml +++ b/_espressif_8hpp.xhtml @@ -91,7 +91,7 @@ Include dependency graph for Espressif.hpp:
This graph shows which files directly or indirectly include this file:
-
+

Go to the source code of this file.

@@ -125,7 +125,7 @@ Functions diff --git a/_espressif_8hpp__dep__incl.map b/_espressif_8hpp__dep__incl.map index 0cff444a..dd4a11b1 100644 --- a/_espressif_8hpp__dep__incl.map +++ b/_espressif_8hpp__dep__incl.map @@ -1,13 +1,15 @@ - + - + - + - - - - - + + + + + + + diff --git a/_espressif_8hpp__dep__incl.md5 b/_espressif_8hpp__dep__incl.md5 index f0cddf69..6e757682 100644 --- a/_espressif_8hpp__dep__incl.md5 +++ b/_espressif_8hpp__dep__incl.md5 @@ -1 +1 @@ -b5ff007915c9e55588a6933b7d7a99f5 \ No newline at end of file +0d2830bdd6ed984adf43f34e3fbbd3b3 \ No newline at end of file diff --git a/_espressif_8hpp__dep__incl.svg b/_espressif_8hpp__dep__incl.svg index 09b74136..0e39bdaa 100644 --- a/_espressif_8hpp__dep__incl.svg +++ b/_espressif_8hpp__dep__incl.svg @@ -4,8 +4,7 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + Espressif.hpp Node1 - -Espressif.hpp + +Espressif.hpp @@ -40,8 +76,8 @@ Node1->Node2 - - + + @@ -58,8 +94,8 @@ Node1->Node3 - - + + @@ -76,17 +112,17 @@ Node1->Node4 - - + + Node5 - - -test_mqtt.cpp + + +test_chrono.cpp @@ -94,17 +130,17 @@ Node1->Node5 - - + + Node6 - - -test_tasks.cpp + + +test_mqtt.cpp @@ -112,13 +148,52 @@ Node1->Node6 - - + + + + + + + +Node7 + + +test_tasks.cpp + + + + + +Node1->Node7 + + + + + + + + + + + + + + + + + + + + + diff --git a/_fab_backend_8cpp.xhtml b/_fab_backend_8cpp.xhtml index c9b7d0c9..8d8554c8 100644 --- a/_fab_backend_8cpp.xhtml +++ b/_fab_backend_8cpp.xhtml @@ -108,7 +108,7 @@ Namespaces diff --git a/_fab_backend_8cpp__incl.map b/_fab_backend_8cpp__incl.map index 77650803..3358bdb4 100644 --- a/_fab_backend_8cpp__incl.map +++ b/_fab_backend_8cpp__incl.map @@ -1,133 +1,140 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_fab_backend_8cpp__incl.md5 b/_fab_backend_8cpp__incl.md5 index 4485c061..b49913d1 100644 --- a/_fab_backend_8cpp__incl.md5 +++ b/_fab_backend_8cpp__incl.md5 @@ -1 +1 @@ -e0bcaa21b7bfc0fa4f4c2decb8f4cea8 \ No newline at end of file +29bb0f0d92d354bead94ef1cf95e5fea \ No newline at end of file diff --git a/_fab_backend_8cpp__incl.svg b/_fab_backend_8cpp__incl.svg index 6f016fb9..6689ebb7 100644 --- a/_fab_backend_8cpp__incl.svg +++ b/_fab_backend_8cpp__incl.svg @@ -46,7 +46,7 @@
@@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -FabBackend.cpp + +FabBackend.cpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -FabBackend.hpp + +FabBackend.hpp @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,17 +85,17 @@ var sectionId = 'dynsection-0'; Node3 - -array + +array - + Node1->Node3 - - - + + + @@ -103,17 +103,17 @@ var sectionId = 'dynsection-0'; Node4 - -chrono + +chrono - + Node1->Node4 - - - + + + @@ -121,17 +121,17 @@ var sectionId = 'dynsection-0'; Node6 - -string + +string - + Node1->Node6 - - - + + + @@ -139,17 +139,17 @@ var sectionId = 'dynsection-0'; Node8 - -ArduinoJson.h + +ArduinoJson.h - + Node1->Node8 - - - + + + @@ -157,17 +157,17 @@ var sectionId = 'dynsection-0'; Node13 - -sstream + +sstream - + Node1->Node13 - - - + + + @@ -175,17 +175,17 @@ var sectionId = 'dynsection-0'; Node16 - -cstdint + +cstdint - + Node1->Node16 - - - + + + @@ -193,89 +193,89 @@ var sectionId = 'dynsection-0'; Node18 - -Logging.hpp + +Logging.hpp - + Node1->Node18 - - - + + + - - -Node27 - - -string_view + + +Node29 + + +string_view - - -Node1->Node27 - - - + + +Node1->Node29 + + + - - -Node28 - - -SavedConfig.hpp + + +Node30 + + +SavedConfig.hpp - - -Node1->Node28 - - - + + +Node1->Node30 + + + - - -Node35 - - -secrets.hpp + + +Node36 + + +secrets.hpp - - -Node1->Node35 - - - + + +Node1->Node36 + + + - - -Node36 - - -Tasks.hpp + + +Node37 + + +Tasks.hpp - - -Node1->Node36 - - - + + +Node1->Node37 + + + @@ -283,8 +283,8 @@ var sectionId = 'dynsection-0'; Node2->Node3 - - + + @@ -292,8 +292,8 @@ var sectionId = 'dynsection-0'; Node2->Node4 - - + + @@ -301,8 +301,8 @@ var sectionId = 'dynsection-0'; Node5 - -functional + +functional @@ -310,8 +310,8 @@ var sectionId = 'dynsection-0'; Node2->Node5 - - + + @@ -319,8 +319,8 @@ var sectionId = 'dynsection-0'; Node2->Node6 - - + + @@ -328,8 +328,8 @@ var sectionId = 'dynsection-0'; Node7 - -WiFi.h + +WiFi.h @@ -337,8 +337,8 @@ var sectionId = 'dynsection-0'; Node2->Node7 - - + + @@ -346,8 +346,8 @@ var sectionId = 'dynsection-0'; Node2->Node8 - - + + @@ -355,8 +355,8 @@ var sectionId = 'dynsection-0'; Node9 - -MQTTClient.h + +MQTTClient.h @@ -364,8 +364,8 @@ var sectionId = 'dynsection-0'; Node2->Node9 - - + + @@ -373,8 +373,8 @@ var sectionId = 'dynsection-0'; Node10 - -FabUser.hpp + +FabUser.hpp @@ -382,8 +382,8 @@ var sectionId = 'dynsection-0'; Node2->Node10 - - + + @@ -391,80 +391,80 @@ var sectionId = 'dynsection-0'; Node15 - -conf.hpp + +conf.hpp - + Node2->Node15 - - - + + + - - -Node20 - - -MQTTtypes.hpp + + +Node21 + + +MQTTtypes.hpp - - -Node2->Node20 - - - + + +Node2->Node21 + + + - - -Node2->Node28 - - - + + +Node2->Node30 + + + - - -Node33 - - -BufferedMsg.hpp + + +Node34 + + +BufferedMsg.hpp - - -Node2->Node33 - - - + + +Node2->Node34 + + + - + Node10->Node3 - - - + + + - + Node10->Node6 - - - + + + @@ -472,8 +472,8 @@ var sectionId = 'dynsection-0'; Node11 - -Arduino.h + +Arduino.h @@ -481,8 +481,8 @@ var sectionId = 'dynsection-0'; Node10->Node11 - - + + @@ -490,8 +490,8 @@ var sectionId = 'dynsection-0'; Node12 - -card.hpp + +card.hpp @@ -499,35 +499,35 @@ var sectionId = 'dynsection-0'; Node10->Node12 - - + + - + Node10->Node13 - - - + + + - + Node10->Node15 - - - + + + - + Node10->Node16 - - - + + + @@ -535,8 +535,8 @@ var sectionId = 'dynsection-0'; Node12->Node11 - - + + @@ -544,8 +544,8 @@ var sectionId = 'dynsection-0'; Node12->Node13 - - + + @@ -553,8 +553,8 @@ var sectionId = 'dynsection-0'; Node14 - -iomanip + +iomanip @@ -562,8 +562,8 @@ var sectionId = 'dynsection-0'; Node12->Node14 - - + + @@ -571,8 +571,8 @@ var sectionId = 'dynsection-0'; Node12->Node15 - - + + @@ -580,8 +580,26 @@ var sectionId = 'dynsection-0'; Node12->Node18 - - + + + + + + + +Node20 + + +esp_mac.h + + + + + +Node12->Node20 + + + @@ -589,8 +607,8 @@ var sectionId = 'dynsection-0'; Node15->Node4 - - + + @@ -598,8 +616,8 @@ var sectionId = 'dynsection-0'; Node15->Node6 - - + + @@ -607,8 +625,8 @@ var sectionId = 'dynsection-0'; Node15->Node16 - - + + @@ -616,8 +634,8 @@ var sectionId = 'dynsection-0'; Node17 - -MachineID.hpp + +MachineID.hpp @@ -625,8 +643,8 @@ var sectionId = 'dynsection-0'; Node15->Node17 - - + + @@ -634,8 +652,8 @@ var sectionId = 'dynsection-0'; Node17->Node16 - - + + @@ -643,8 +661,8 @@ var sectionId = 'dynsection-0'; Node19 - -esp_log.h + +esp_log.h @@ -652,350 +670,341 @@ var sectionId = 'dynsection-0'; Node18->Node19 - - + + - - -Node20->Node6 - - - + + +Node21->Node6 + + + - - -Node20->Node8 - - - + + +Node21->Node8 + + + - - -Node20->Node10 - - - - - - - - -Node20->Node12 - - - + + +Node21->Node10 + + + - - -Node21 - - -Machine.hpp + + +Node21->Node12 + + + - - -Node20->Node21 - - - + + +Node22 + + +Machine.hpp - - -Node26 - - -memory + + +Node21->Node22 + + + - - -Node20->Node26 - - - + + +Node28 + + +memory - - -Node20->Node27 - - - + + +Node21->Node28 + + + - - -Node21->Node3 - - - + + +Node21->Node29 + + + - - -Node21->Node4 - - - + + +Node22->Node3 + + + - - -Node21->Node10 - - - + + +Node22->Node4 + + + - - -Node21->Node16 - - - + + +Node22->Node10 + + + - - -Node22 - - -MachineConfig.hpp + + +Node22->Node16 + + + - - -Node21->Node22 - - - + + +Node23 + + +MachineConfig.hpp - - -Node22->Node4 - - - + + +Node22->Node23 + + + - - -Node22->Node6 - - - + + +Node27 + + +optional - - -Node22->Node15 - - - + + +Node22->Node27 + + + - - -Node22->Node16 - - - + + +Node23->Node4 + + + - - -Node22->Node17 - - - + + +Node23->Node6 + + + - - -Node23 - - -pins.hpp + + +Node23->Node15 + + + - - -Node22->Node23 - - - + + +Node23->Node16 + + + - - -Node23->Node16 - - - + + +Node23->Node17 + + + Node24 - - -Adafruit_NeoPixel.h + + +pins.hpp - + Node23->Node24 - - - + + + - - -Node25 - - -PinsConfig.hpp + + +Node24->Node16 + + + - - -Node23->Node25 - - - + + +Node25 + + +Adafruit_NeoPixel.h - - -Node25->Node3 - - - + + +Node24->Node25 + + + - - -Node25->Node16 - - - + + +Node26 + + +PinsConfig.hpp - - -Node28->Node6 - - - + + +Node24->Node26 + + + - - -Node28->Node8 - - - + + +Node26->Node3 + + + - - -Node28->Node15 - - - + + +Node26->Node16 + + + - - -Node28->Node16 - - - + + +Node30->Node6 + + + - - -Node28->Node22 - - - + + +Node30->Node8 + + + - - -Node29 - - -optional + + +Node30->Node15 + + + - - -Node28->Node29 - - - + + +Node30->Node16 + + + - - -Node30 - - -mutex + + +Node30->Node23 + + + - - -Node28->Node30 - - - + + +Node30->Node27 + + + @@ -1003,233 +1012,287 @@ var sectionId = 'dynsection-0'; Node31 - -EEPROM.h + +mutex - - -Node28->Node31 - - - + + +Node30->Node31 + + + Node32 - - -CachedCards.hpp + + +EEPROM.h + + + + + +Node30->Node32 + + + - - -Node28->Node32 - - - + + +Node33 + + +CachedCards.hpp - - -Node28->Node33 - - - + + +Node30->Node33 + + + - - -Node32->Node3 - - - + + +Node30->Node34 + + + - - -Node32->Node10 - - - + + +Node33->Node3 + + + - - -Node32->Node12 - - - + + +Node33->Node10 + + + - - -Node32->Node15 - - - + + +Node33->Node12 + + + - - -Node33->Node6 - - - + + +Node33->Node15 + + + - - -Node33->Node8 - - - + + +Node33->Node27 + + + - - -Node33->Node17 - - - + + +Node34->Node6 + + + - - -Node33->Node20 - - - + + +Node34->Node8 + + + - - -Node33->Node26 - - - + + +Node34->Node17 + + + - - -Node33->Node29 - - - + + +Node34->Node21 + + + - - -Node34 - - -queue + + +Node34->Node27 + + + + + + + + +Node34->Node28 + + + + + + + + +Node35 + + +queue + + + + + +Node34->Node35 + + + + + + + + +Node36->Node3 + + + + + + + + +Node36->Node10 + + + - - -Node33->Node34 - - - + + +Node36->Node15 + + + - - -Node35->Node3 - - - + + +Node36->Node16 + + + - - -Node35->Node10 - - - + + +Node36->Node22 + + + - - -Node35->Node15 - - - + + +Node36->Node23 + + + - - -Node35->Node16 - - - + + +Node36->Node29 + + + - - -Node35->Node21 - - - + + +Node37->Node4 + + + - - -Node35->Node22 - - - + + +Node37->Node5 + + + - - -Node35->Node27 - - - + + +Node37->Node11 + + + - - -Node36->Node4 - - - + + +Node38 + + +list - - -Node36->Node5 - - - + + +Node37->Node38 + + + diff --git a/_fab_backend_8cpp__incl_org.svg b/_fab_backend_8cpp__incl_org.svg index 9c07f635..edd654c2 100644 --- a/_fab_backend_8cpp__incl_org.svg +++ b/_fab_backend_8cpp__incl_org.svg @@ -4,16 +4,16 @@ - + FabBackend.cpp Node1 - -FabBackend.cpp + +FabBackend.cpp @@ -21,8 +21,8 @@ Node2 - -FabBackend.hpp + +FabBackend.hpp @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,17 +39,17 @@ Node3 - -array + +array - + Node1->Node3 - - - + + + @@ -57,17 +57,17 @@ Node4 - -chrono + +chrono - + Node1->Node4 - - - + + + @@ -75,17 +75,17 @@ Node6 - -string + +string - + Node1->Node6 - - - + + + @@ -93,17 +93,17 @@ Node8 - -ArduinoJson.h + +ArduinoJson.h - + Node1->Node8 - - - + + + @@ -111,17 +111,17 @@ Node13 - -sstream + +sstream - + Node1->Node13 - - - + + + @@ -129,17 +129,17 @@ Node16 - -cstdint + +cstdint - + Node1->Node16 - - - + + + @@ -147,89 +147,89 @@ Node18 - -Logging.hpp + +Logging.hpp - + Node1->Node18 - - - + + + - - -Node27 - - -string_view + + +Node29 + + +string_view - - -Node1->Node27 - - - + + +Node1->Node29 + + + - - -Node28 - - -SavedConfig.hpp + + +Node30 + + +SavedConfig.hpp - - -Node1->Node28 - - - + + +Node1->Node30 + + + - - -Node35 - - -secrets.hpp + + +Node36 + + +secrets.hpp - - -Node1->Node35 - - - + + +Node1->Node36 + + + - - -Node36 - - -Tasks.hpp + + +Node37 + + +Tasks.hpp - - -Node1->Node36 - - - + + +Node1->Node37 + + + @@ -237,8 +237,8 @@ Node2->Node3 - - + + @@ -246,8 +246,8 @@ Node2->Node4 - - + + @@ -255,8 +255,8 @@ Node5 - -functional + +functional @@ -264,8 +264,8 @@ Node2->Node5 - - + + @@ -273,8 +273,8 @@ Node2->Node6 - - + + @@ -282,8 +282,8 @@ Node7 - -WiFi.h + +WiFi.h @@ -291,8 +291,8 @@ Node2->Node7 - - + + @@ -300,8 +300,8 @@ Node2->Node8 - - + + @@ -309,8 +309,8 @@ Node9 - -MQTTClient.h + +MQTTClient.h @@ -318,8 +318,8 @@ Node2->Node9 - - + + @@ -327,8 +327,8 @@ Node10 - -FabUser.hpp + +FabUser.hpp @@ -336,8 +336,8 @@ Node2->Node10 - - + + @@ -345,80 +345,80 @@ Node15 - -conf.hpp + +conf.hpp - + Node2->Node15 - - - + + + - - -Node20 - - -MQTTtypes.hpp + + +Node21 + + +MQTTtypes.hpp - - -Node2->Node20 - - - + + +Node2->Node21 + + + - - -Node2->Node28 - - - + + +Node2->Node30 + + + - - -Node33 - - -BufferedMsg.hpp + + +Node34 + + +BufferedMsg.hpp - - -Node2->Node33 - - - + + +Node2->Node34 + + + - + Node10->Node3 - - - + + + - + Node10->Node6 - - - + + + @@ -426,8 +426,8 @@ Node11 - -Arduino.h + +Arduino.h @@ -435,8 +435,8 @@ Node10->Node11 - - + + @@ -444,8 +444,8 @@ Node12 - -card.hpp + +card.hpp @@ -453,35 +453,35 @@ Node10->Node12 - - + + - + Node10->Node13 - - - + + + - + Node10->Node15 - - - + + + - + Node10->Node16 - - - + + + @@ -489,8 +489,8 @@ Node12->Node11 - - + + @@ -498,8 +498,8 @@ Node12->Node13 - - + + @@ -507,8 +507,8 @@ Node14 - -iomanip + +iomanip @@ -516,8 +516,8 @@ Node12->Node14 - - + + @@ -525,8 +525,8 @@ Node12->Node15 - - + + @@ -534,8 +534,26 @@ Node12->Node18 - - + + + + + + + +Node20 + + +esp_mac.h + + + + + +Node12->Node20 + + + @@ -543,8 +561,8 @@ Node15->Node4 - - + + @@ -552,8 +570,8 @@ Node15->Node6 - - + + @@ -561,8 +579,8 @@ Node15->Node16 - - + + @@ -570,8 +588,8 @@ Node17 - -MachineID.hpp + +MachineID.hpp @@ -579,8 +597,8 @@ Node15->Node17 - - + + @@ -588,8 +606,8 @@ Node17->Node16 - - + + @@ -597,8 +615,8 @@ Node19 - -esp_log.h + +esp_log.h @@ -606,350 +624,341 @@ Node18->Node19 - - + + - - -Node20->Node6 - - - + + +Node21->Node6 + + + - - -Node20->Node8 - - - + + +Node21->Node8 + + + - - -Node20->Node10 - - - - - - - - -Node20->Node12 - - - + + +Node21->Node10 + + + - - -Node21 - - -Machine.hpp + + +Node21->Node12 + + + - - -Node20->Node21 - - - + + +Node22 + + +Machine.hpp - - -Node26 - - -memory + + +Node21->Node22 + + + - - -Node20->Node26 - - - + + +Node28 + + +memory - - -Node20->Node27 - - - + + +Node21->Node28 + + + - - -Node21->Node3 - - - + + +Node21->Node29 + + + - - -Node21->Node4 - - - + + +Node22->Node3 + + + - - -Node21->Node10 - - - + + +Node22->Node4 + + + - - -Node21->Node16 - - - + + +Node22->Node10 + + + - - -Node22 - - -MachineConfig.hpp + + +Node22->Node16 + + + - - -Node21->Node22 - - - + + +Node23 + + +MachineConfig.hpp - - -Node22->Node4 - - - + + +Node22->Node23 + + + - - -Node22->Node6 - - - + + +Node27 + + +optional - - -Node22->Node15 - - - + + +Node22->Node27 + + + - - -Node22->Node16 - - - + + +Node23->Node4 + + + - - -Node22->Node17 - - - + + +Node23->Node6 + + + - - -Node23 - - -pins.hpp + + +Node23->Node15 + + + - - -Node22->Node23 - - - + + +Node23->Node16 + + + - - -Node23->Node16 - - - + + +Node23->Node17 + + + Node24 - - -Adafruit_NeoPixel.h + + +pins.hpp - + Node23->Node24 - - - + + + - - -Node25 - - -PinsConfig.hpp + + +Node24->Node16 + + + - - -Node23->Node25 - - - + + +Node25 + + +Adafruit_NeoPixel.h - - -Node25->Node3 - - - + + +Node24->Node25 + + + - - -Node25->Node16 - - - + + +Node26 + + +PinsConfig.hpp - - -Node28->Node6 - - - + + +Node24->Node26 + + + - - -Node28->Node8 - - - + + +Node26->Node3 + + + - - -Node28->Node15 - - - + + +Node26->Node16 + + + - - -Node28->Node16 - - - + + +Node30->Node6 + + + - - -Node28->Node22 - - - + + +Node30->Node8 + + + - - -Node29 - - -optional + + +Node30->Node15 + + + - - -Node28->Node29 - - - + + +Node30->Node16 + + + - - -Node30 - - -mutex + + +Node30->Node23 + + + - - -Node28->Node30 - - - + + +Node30->Node27 + + + @@ -957,233 +966,287 @@ Node31 - -EEPROM.h + +mutex - - -Node28->Node31 - - - + + +Node30->Node31 + + + Node32 - - -CachedCards.hpp + + +EEPROM.h + + + + + +Node30->Node32 + + + - - -Node28->Node32 - - - + + +Node33 + + +CachedCards.hpp - - -Node28->Node33 - - - + + +Node30->Node33 + + + - - -Node32->Node3 - - - + + +Node30->Node34 + + + - - -Node32->Node10 - - - + + +Node33->Node3 + + + - - -Node32->Node12 - - - + + +Node33->Node10 + + + - - -Node32->Node15 - - - + + +Node33->Node12 + + + - - -Node33->Node6 - - - + + +Node33->Node15 + + + - - -Node33->Node8 - - - + + +Node33->Node27 + + + - - -Node33->Node17 - - - + + +Node34->Node6 + + + - - -Node33->Node20 - - - + + +Node34->Node8 + + + - - -Node33->Node26 - - - + + +Node34->Node17 + + + - - -Node33->Node29 - - - + + +Node34->Node21 + + + - - -Node34 - - -queue + + +Node34->Node27 + + + + + + + + +Node34->Node28 + + + + + + + + +Node35 + + +queue + + + + + +Node34->Node35 + + + + + + + + +Node36->Node3 + + + + + + + + +Node36->Node10 + + + - - -Node33->Node34 - - - + + +Node36->Node15 + + + - - -Node35->Node3 - - - + + +Node36->Node16 + + + - - -Node35->Node10 - - - + + +Node36->Node22 + + + - - -Node35->Node15 - - - + + +Node36->Node23 + + + - - -Node35->Node16 - - - + + +Node36->Node29 + + + - - -Node35->Node21 - - - + + +Node37->Node4 + + + - - -Node35->Node22 - - - + + +Node37->Node5 + + + - - -Node35->Node27 - - - + + +Node37->Node11 + + + - - -Node36->Node4 - - - + + +Node38 + + +list - - -Node36->Node5 - - - + + +Node37->Node38 + + + diff --git a/_fab_backend_8cpp_source.xhtml b/_fab_backend_8cpp_source.xhtml index cf207a27..af51bd8e 100644 --- a/_fab_backend_8cpp_source.xhtml +++ b/_fab_backend_8cpp_source.xhtml @@ -263,7 +263,7 @@ $(document).ready(function() { init_codefold(0); });
204 bool FabBackend::waitForAnswer(std::chrono::milliseconds max_duration)
205 {
-
206 const auto start_time = std::chrono::system_clock::now();
+
206 const auto start_time = Tasks::arduinoNow();
207 const auto DELAY_MS = 25ms;
208 do
209 {
@@ -281,7 +281,7 @@ $(document).ready(function() { init_codefold(0); });
221 {
222 return true;
223 }
-
224 } while (std::chrono::system_clock::now() < (start_time + max_duration));
+
224 } while (Tasks::arduinoNow() < (start_time + max_duration));
225
226 ESP_LOGE(TAG, "Failure, no answer from MQTT server (timeout:%lld ms)", max_duration.count());
227 return false;
@@ -673,12 +673,12 @@ $(document).ready(function() { init_codefold(0); });
660} // namespace fabomatic
-
static const char *const TAG
Definition Logging.hpp:6
+
static const char *const TAG
Definition Logging.hpp:9
Class containing the buffered messages for future replay.
-
auto count() const -> size_t
-
auto push_back(const BufferedMsg &message) -> void
+
auto count() const -> size_t
+
auto push_back(const BufferedMsg &message) -> void
Query to be replayed.
std::string_view mqtt_topic
@@ -738,8 +738,9 @@ $(document).ready(function() { init_codefold(0); });
std::string machine_id
Machine ID connected to the board.
std::string ssid
WiFi SSID.
static auto LoadFromEEPROM() -> std::optional< SavedConfig >
Loads the configuration from EEPROM if available and matching revision number.
-
auto delay(const milliseconds duration) -> void
Wait for a delay, allowing OTA updates.
Definition Tasks.cpp:250
-
u_int64_t uid_t
Definition card.hpp:14
+
auto delay(const milliseconds duration) -> void
Wait for a delay, allowing OTA updates.
Definition Tasks.cpp:266
+
auto arduinoNow() -> const std::chrono::steady_clock::time_point
Definition Tasks.hpp:15
+
u_int64_t uid_t
Definition card.hpp:15
static constexpr std::string_view response_topic
Backend reply (sub-topic of the full machine topic)
Definition conf.hpp:142
static constexpr std::string_view topic
Initial part of the topic, machine ID will be added.
Definition conf.hpp:139
static constexpr auto TIMEOUT_REPLY_SERVER
Timeout for a single backend reply request.
Definition conf.hpp:148
@@ -752,7 +753,7 @@ $(document).ready(function() { init_codefold(0); });
diff --git a/_fab_backend_8hpp.xhtml b/_fab_backend_8hpp.xhtml index 62402abc..8c52da60 100644 --- a/_fab_backend_8hpp.xhtml +++ b/_fab_backend_8hpp.xhtml @@ -120,7 +120,7 @@ Namespaces diff --git a/_fab_backend_8hpp__incl.map b/_fab_backend_8hpp__incl.map index cf5455b6..068f2125 100644 --- a/_fab_backend_8hpp__incl.map +++ b/_fab_backend_8hpp__incl.map @@ -1,109 +1,113 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_fab_backend_8hpp__incl.md5 b/_fab_backend_8hpp__incl.md5 index beefd652..1a28af96 100644 --- a/_fab_backend_8hpp__incl.md5 +++ b/_fab_backend_8hpp__incl.md5 @@ -1 +1 @@ -d56ca97f4edc5319198993f275dc4d19 \ No newline at end of file +ab5cff3516740359c7db87d16dda7a39 \ No newline at end of file diff --git a/_fab_backend_8hpp__incl.svg b/_fab_backend_8hpp__incl.svg index d15a324f..ea249b93 100644 --- a/_fab_backend_8hpp__incl.svg +++ b/_fab_backend_8hpp__incl.svg @@ -46,7 +46,7 @@
@@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -FabBackend.hpp + +FabBackend.hpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -array + +array @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,8 +85,8 @@ var sectionId = 'dynsection-0'; Node3 - -chrono + +chrono @@ -94,8 +94,8 @@ var sectionId = 'dynsection-0'; Node1->Node3 - - + + @@ -103,8 +103,8 @@ var sectionId = 'dynsection-0'; Node4 - -functional + +functional @@ -112,8 +112,8 @@ var sectionId = 'dynsection-0'; Node1->Node4 - - + + @@ -121,8 +121,8 @@ var sectionId = 'dynsection-0'; Node5 - -string + +string @@ -130,8 +130,8 @@ var sectionId = 'dynsection-0'; Node1->Node5 - - + + @@ -139,8 +139,8 @@ var sectionId = 'dynsection-0'; Node6 - -WiFi.h + +WiFi.h @@ -148,8 +148,8 @@ var sectionId = 'dynsection-0'; Node1->Node6 - - + + @@ -157,8 +157,8 @@ var sectionId = 'dynsection-0'; Node7 - -ArduinoJson.h + +ArduinoJson.h @@ -166,8 +166,8 @@ var sectionId = 'dynsection-0'; Node1->Node7 - - + + @@ -175,8 +175,8 @@ var sectionId = 'dynsection-0'; Node8 - -MQTTClient.h + +MQTTClient.h @@ -184,8 +184,8 @@ var sectionId = 'dynsection-0'; Node1->Node8 - - + + @@ -193,8 +193,8 @@ var sectionId = 'dynsection-0'; Node9 - -FabUser.hpp + +FabUser.hpp @@ -202,8 +202,8 @@ var sectionId = 'dynsection-0'; Node1->Node9 - - + + @@ -211,89 +211,89 @@ var sectionId = 'dynsection-0'; Node14 - -conf.hpp + +conf.hpp - + Node1->Node14 - - - + + + - - -Node19 - - -MQTTtypes.hpp + + +Node20 + + +MQTTtypes.hpp - - -Node1->Node19 - - - + + +Node1->Node20 + + + - - -Node27 - - -SavedConfig.hpp + + +Node29 + + +SavedConfig.hpp - - -Node1->Node27 - - - + + +Node1->Node29 + + + - - -Node32 - - -BufferedMsg.hpp + + +Node33 + + +BufferedMsg.hpp - - -Node1->Node32 - - - + + +Node1->Node33 + + + - + Node9->Node2 - - - + + + - + Node9->Node5 - - - + + + @@ -301,8 +301,8 @@ var sectionId = 'dynsection-0'; Node10 - -Arduino.h + +Arduino.h @@ -310,8 +310,8 @@ var sectionId = 'dynsection-0'; Node9->Node10 - - + + @@ -319,8 +319,8 @@ var sectionId = 'dynsection-0'; Node11 - -card.hpp + +card.hpp @@ -328,8 +328,8 @@ var sectionId = 'dynsection-0'; Node9->Node11 - - + + @@ -337,26 +337,26 @@ var sectionId = 'dynsection-0'; Node12 - -sstream + +sstream - + Node9->Node12 - - - + + + - + Node9->Node14 - - - + + + @@ -364,17 +364,17 @@ var sectionId = 'dynsection-0'; Node15 - -cstdint + +cstdint - + Node9->Node15 - - - + + + @@ -382,8 +382,8 @@ var sectionId = 'dynsection-0'; Node11->Node10 - - + + @@ -391,8 +391,8 @@ var sectionId = 'dynsection-0'; Node11->Node12 - - + + @@ -400,8 +400,8 @@ var sectionId = 'dynsection-0'; Node13 - -iomanip + +iomanip @@ -409,8 +409,8 @@ var sectionId = 'dynsection-0'; Node11->Node13 - - + + @@ -418,8 +418,8 @@ var sectionId = 'dynsection-0'; Node11->Node14 - - + + @@ -427,8 +427,8 @@ var sectionId = 'dynsection-0'; Node17 - -Logging.hpp + +Logging.hpp @@ -436,8 +436,26 @@ var sectionId = 'dynsection-0'; Node11->Node17 - - + + + + + + + +Node19 + + +esp_mac.h + + + + + +Node11->Node19 + + + @@ -445,8 +463,8 @@ var sectionId = 'dynsection-0'; Node14->Node3 - - + + @@ -454,8 +472,8 @@ var sectionId = 'dynsection-0'; Node14->Node5 - - + + @@ -463,8 +481,8 @@ var sectionId = 'dynsection-0'; Node14->Node15 - - + + @@ -472,8 +490,8 @@ var sectionId = 'dynsection-0'; Node16 - -MachineID.hpp + +MachineID.hpp @@ -481,8 +499,8 @@ var sectionId = 'dynsection-0'; Node14->Node16 - - + + @@ -490,8 +508,8 @@ var sectionId = 'dynsection-0'; Node16->Node15 - - + + @@ -499,8 +517,8 @@ var sectionId = 'dynsection-0'; Node18 - -esp_log.h + +esp_log.h @@ -508,359 +526,350 @@ var sectionId = 'dynsection-0'; Node17->Node18 - - - - - - - -Node19->Node5 - - - + + - - -Node19->Node7 - - - + + +Node20->Node5 + + + - - -Node19->Node9 - - - + + +Node20->Node7 + + + - - -Node19->Node11 - - - + + +Node20->Node9 + + + - - -Node20 - - -Machine.hpp + + +Node20->Node11 + + + - - -Node19->Node20 - - - + + +Node21 + + +Machine.hpp - - -Node25 - - -memory + + +Node20->Node21 + + + - - -Node19->Node25 - - - + + +Node27 + + +memory - - -Node26 - - -string_view + + +Node20->Node27 + + + - - -Node19->Node26 - - - + + +Node28 + + +string_view - - -Node20->Node2 - - - + + +Node20->Node28 + + + - - -Node20->Node3 - - - + + +Node21->Node2 + + + - - -Node20->Node9 - - - + + +Node21->Node3 + + + - - -Node20->Node15 - - - + + +Node21->Node9 + + + - - -Node21 - - -MachineConfig.hpp + + +Node21->Node15 + + + - - -Node20->Node21 - - - + + +Node22 + + +MachineConfig.hpp - - -Node21->Node3 - - - + + +Node21->Node22 + + + - - -Node21->Node5 - - - + + +Node26 + + +optional - - -Node21->Node14 - - - + + +Node21->Node26 + + + - - -Node21->Node15 - - - + + +Node22->Node3 + + + - - -Node21->Node16 - - - + + +Node22->Node5 + + + - - -Node22 - - -pins.hpp + + +Node22->Node14 + + + - - -Node21->Node22 - - - + + +Node22->Node15 + + + - - -Node22->Node15 - - - + + +Node22->Node16 + + + Node23 - - -Adafruit_NeoPixel.h + + +pins.hpp - + Node22->Node23 - - - + + + - - -Node24 - - -PinsConfig.hpp + + +Node23->Node15 + + + - - -Node22->Node24 - - - + + +Node24 + + +Adafruit_NeoPixel.h - - -Node24->Node2 - - - + + +Node23->Node24 + + + - - -Node24->Node15 - - - + + +Node25 + + +PinsConfig.hpp - - -Node27->Node5 - - - + + +Node23->Node25 + + + - - -Node27->Node7 - - - + + +Node25->Node2 + + + - - -Node27->Node14 - - - + + +Node25->Node15 + + + - - -Node27->Node15 - - - + + +Node29->Node5 + + + - - -Node27->Node21 - - - + + +Node29->Node7 + + + - - -Node28 - - -optional + + +Node29->Node14 + + + - - -Node27->Node28 - - - + + +Node29->Node15 + + + - - -Node29 - - -mutex + + +Node29->Node22 + + + - - -Node27->Node29 - - - + + +Node29->Node26 + + + @@ -868,152 +877,179 @@ var sectionId = 'dynsection-0'; Node30 - -EEPROM.h + +mutex - - -Node27->Node30 - - - + + +Node29->Node30 + + + Node31 - - -CachedCards.hpp + + +EEPROM.h - - -Node27->Node31 - - - + + +Node29->Node31 + + + - - -Node27->Node32 - - - + + +Node32 + + +CachedCards.hpp - - -Node31->Node2 - - - + + +Node29->Node32 + + + - - -Node31->Node9 - - - + + +Node29->Node33 + + + - - -Node31->Node11 - - - + + +Node32->Node2 + + + - - -Node31->Node14 - - - + + +Node32->Node9 + + + - - -Node32->Node5 - - - + + +Node32->Node11 + + + - - -Node32->Node7 - - - + + +Node32->Node14 + + + - - -Node32->Node16 - - - + + +Node32->Node26 + + + - - -Node32->Node19 - - - + + +Node33->Node5 + + + - - -Node32->Node25 - - - + + +Node33->Node7 + + + - - -Node32->Node28 - - - + + +Node33->Node16 + + + - - -Node33 - - -queue + + +Node33->Node20 + + + + + + + + +Node33->Node26 + + + + + + + + +Node33->Node27 + + + + + + + + +Node34 + + +queue - - -Node32->Node33 - - - + + +Node33->Node34 + + + diff --git a/_fab_backend_8hpp__incl_org.svg b/_fab_backend_8hpp__incl_org.svg index f98f2441..bed3f842 100644 --- a/_fab_backend_8hpp__incl_org.svg +++ b/_fab_backend_8hpp__incl_org.svg @@ -4,16 +4,16 @@ - + FabBackend.hpp Node1 - -FabBackend.hpp + +FabBackend.hpp @@ -21,8 +21,8 @@ Node2 - -array + +array @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node3 - -chrono + +chrono @@ -48,8 +48,8 @@ Node1->Node3 - - + + @@ -57,8 +57,8 @@ Node4 - -functional + +functional @@ -66,8 +66,8 @@ Node1->Node4 - - + + @@ -75,8 +75,8 @@ Node5 - -string + +string @@ -84,8 +84,8 @@ Node1->Node5 - - + + @@ -93,8 +93,8 @@ Node6 - -WiFi.h + +WiFi.h @@ -102,8 +102,8 @@ Node1->Node6 - - + + @@ -111,8 +111,8 @@ Node7 - -ArduinoJson.h + +ArduinoJson.h @@ -120,8 +120,8 @@ Node1->Node7 - - + + @@ -129,8 +129,8 @@ Node8 - -MQTTClient.h + +MQTTClient.h @@ -138,8 +138,8 @@ Node1->Node8 - - + + @@ -147,8 +147,8 @@ Node9 - -FabUser.hpp + +FabUser.hpp @@ -156,8 +156,8 @@ Node1->Node9 - - + + @@ -165,89 +165,89 @@ Node14 - -conf.hpp + +conf.hpp - + Node1->Node14 - - - + + + - - -Node19 - - -MQTTtypes.hpp + + +Node20 + + +MQTTtypes.hpp - - -Node1->Node19 - - - + + +Node1->Node20 + + + - - -Node27 - - -SavedConfig.hpp + + +Node29 + + +SavedConfig.hpp - - -Node1->Node27 - - - + + +Node1->Node29 + + + - - -Node32 - - -BufferedMsg.hpp + + +Node33 + + +BufferedMsg.hpp - - -Node1->Node32 - - - + + +Node1->Node33 + + + - + Node9->Node2 - - - + + + - + Node9->Node5 - - - + + + @@ -255,8 +255,8 @@ Node10 - -Arduino.h + +Arduino.h @@ -264,8 +264,8 @@ Node9->Node10 - - + + @@ -273,8 +273,8 @@ Node11 - -card.hpp + +card.hpp @@ -282,8 +282,8 @@ Node9->Node11 - - + + @@ -291,26 +291,26 @@ Node12 - -sstream + +sstream - + Node9->Node12 - - - + + + - + Node9->Node14 - - - + + + @@ -318,17 +318,17 @@ Node15 - -cstdint + +cstdint - + Node9->Node15 - - - + + + @@ -336,8 +336,8 @@ Node11->Node10 - - + + @@ -345,8 +345,8 @@ Node11->Node12 - - + + @@ -354,8 +354,8 @@ Node13 - -iomanip + +iomanip @@ -363,8 +363,8 @@ Node11->Node13 - - + + @@ -372,8 +372,8 @@ Node11->Node14 - - + + @@ -381,8 +381,8 @@ Node17 - -Logging.hpp + +Logging.hpp @@ -390,8 +390,26 @@ Node11->Node17 - - + + + + + + + +Node19 + + +esp_mac.h + + + + + +Node11->Node19 + + + @@ -399,8 +417,8 @@ Node14->Node3 - - + + @@ -408,8 +426,8 @@ Node14->Node5 - - + + @@ -417,8 +435,8 @@ Node14->Node15 - - + + @@ -426,8 +444,8 @@ Node16 - -MachineID.hpp + +MachineID.hpp @@ -435,8 +453,8 @@ Node14->Node16 - - + + @@ -444,8 +462,8 @@ Node16->Node15 - - + + @@ -453,8 +471,8 @@ Node18 - -esp_log.h + +esp_log.h @@ -462,359 +480,350 @@ Node17->Node18 - - - - - - - -Node19->Node5 - - - + + - - -Node19->Node7 - - - + + +Node20->Node5 + + + - - -Node19->Node9 - - - + + +Node20->Node7 + + + - - -Node19->Node11 - - - + + +Node20->Node9 + + + - - -Node20 - - -Machine.hpp + + +Node20->Node11 + + + - - -Node19->Node20 - - - + + +Node21 + + +Machine.hpp - - -Node25 - - -memory + + +Node20->Node21 + + + - - -Node19->Node25 - - - + + +Node27 + + +memory - - -Node26 - - -string_view + + +Node20->Node27 + + + - - -Node19->Node26 - - - + + +Node28 + + +string_view - - -Node20->Node2 - - - + + +Node20->Node28 + + + - - -Node20->Node3 - - - + + +Node21->Node2 + + + - - -Node20->Node9 - - - + + +Node21->Node3 + + + - - -Node20->Node15 - - - + + +Node21->Node9 + + + - - -Node21 - - -MachineConfig.hpp + + +Node21->Node15 + + + - - -Node20->Node21 - - - + + +Node22 + + +MachineConfig.hpp - - -Node21->Node3 - - - + + +Node21->Node22 + + + - - -Node21->Node5 - - - + + +Node26 + + +optional - - -Node21->Node14 - - - + + +Node21->Node26 + + + - - -Node21->Node15 - - - + + +Node22->Node3 + + + - - -Node21->Node16 - - - + + +Node22->Node5 + + + - - -Node22 - - -pins.hpp + + +Node22->Node14 + + + - - -Node21->Node22 - - - + + +Node22->Node15 + + + - - -Node22->Node15 - - - + + +Node22->Node16 + + + Node23 - - -Adafruit_NeoPixel.h + + +pins.hpp - + Node22->Node23 - - - + + + - - -Node24 - - -PinsConfig.hpp + + +Node23->Node15 + + + - - -Node22->Node24 - - - + + +Node24 + + +Adafruit_NeoPixel.h - - -Node24->Node2 - - - + + +Node23->Node24 + + + - - -Node24->Node15 - - - + + +Node25 + + +PinsConfig.hpp - - -Node27->Node5 - - - + + +Node23->Node25 + + + - - -Node27->Node7 - - - + + +Node25->Node2 + + + - - -Node27->Node14 - - - + + +Node25->Node15 + + + - - -Node27->Node15 - - - + + +Node29->Node5 + + + - - -Node27->Node21 - - - + + +Node29->Node7 + + + - - -Node28 - - -optional + + +Node29->Node14 + + + - - -Node27->Node28 - - - + + +Node29->Node15 + + + - - -Node29 - - -mutex + + +Node29->Node22 + + + - - -Node27->Node29 - - - + + +Node29->Node26 + + + @@ -822,152 +831,179 @@ Node30 - -EEPROM.h + +mutex - - -Node27->Node30 - - - + + +Node29->Node30 + + + Node31 - - -CachedCards.hpp + + +EEPROM.h - - -Node27->Node31 - - - + + +Node29->Node31 + + + - - -Node27->Node32 - - - + + +Node32 + + +CachedCards.hpp - - -Node31->Node2 - - - + + +Node29->Node32 + + + - - -Node31->Node9 - - - + + +Node29->Node33 + + + - - -Node31->Node11 - - - + + +Node32->Node2 + + + - - -Node31->Node14 - - - + + +Node32->Node9 + + + - - -Node32->Node5 - - - + + +Node32->Node11 + + + - - -Node32->Node7 - - - + + +Node32->Node14 + + + - - -Node32->Node16 - - - + + +Node32->Node26 + + + - - -Node32->Node19 - - - + + +Node33->Node5 + + + - - -Node32->Node25 - - - + + +Node33->Node7 + + + - - -Node32->Node28 - - - + + +Node33->Node16 + + + - - -Node33 - - -queue + + +Node33->Node20 + + + + + + + + +Node33->Node26 + + + + + + + + +Node33->Node27 + + + + + + + + +Node34 + + +queue - - -Node32->Node33 - - - + + +Node33->Node34 + + + diff --git a/_fab_backend_8hpp_source.xhtml b/_fab_backend_8hpp_source.xhtml index 25dac526..ffc7c7c7 100644 --- a/_fab_backend_8hpp_source.xhtml +++ b/_fab_backend_8hpp_source.xhtml @@ -247,12 +247,12 @@ $(document).ready(function() { init_codefold(0); });
base class for all MQTT request to the backend
Definition MQTTtypes.hpp:17
Facility to load or save data from Flash.
-
u_int64_t uid_t
Definition card.hpp:14
+
u_int64_t uid_t
Definition card.hpp:15
diff --git a/_fab_user_8hpp.xhtml b/_fab_user_8hpp.xhtml index 48a9099a..2ca7395b 100644 --- a/_fab_user_8hpp.xhtml +++ b/_fab_user_8hpp.xhtml @@ -115,7 +115,7 @@ Namespaces diff --git a/_fab_user_8hpp__incl.map b/_fab_user_8hpp__incl.map index 7d0cdfa8..6c24238c 100644 --- a/_fab_user_8hpp__incl.map +++ b/_fab_user_8hpp__incl.map @@ -1,33 +1,35 @@ - + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_fab_user_8hpp__incl.md5 b/_fab_user_8hpp__incl.md5 index f7487111..413206c8 100644 --- a/_fab_user_8hpp__incl.md5 +++ b/_fab_user_8hpp__incl.md5 @@ -1 +1 @@ -ec00223269abe2ac874c5df5879f6be9 \ No newline at end of file +225d7cf15932284eed4dc210ddcc30a2 \ No newline at end of file diff --git a/_fab_user_8hpp__incl.svg b/_fab_user_8hpp__incl.svg index 2f451dda..de913fed 100644 --- a/_fab_user_8hpp__incl.svg +++ b/_fab_user_8hpp__incl.svg @@ -46,7 +46,7 @@
@@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -FabUser.hpp + +FabUser.hpp @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,8 +85,8 @@ var sectionId = 'dynsection-0'; Node3 - -card.hpp + +card.hpp @@ -94,8 +94,8 @@ var sectionId = 'dynsection-0'; Node1->Node3 - - + + @@ -109,11 +109,11 @@ var sectionId = 'dynsection-0';
- + Node1->Node4 - - - + + + @@ -121,17 +121,17 @@ var sectionId = 'dynsection-0'; Node6 - -conf.hpp + +conf.hpp - + Node1->Node6 - - - + + + @@ -139,17 +139,17 @@ var sectionId = 'dynsection-0'; Node7 - -cstdint + +cstdint - + Node1->Node7 - - - + + + @@ -157,35 +157,35 @@ var sectionId = 'dynsection-0'; Node8 - -string + +string - + Node1->Node8 - - - + + + - - -Node13 - - -array + + +Node14 + + +array - - -Node1->Node13 - - - + + +Node1->Node14 + + + @@ -193,8 +193,8 @@ var sectionId = 'dynsection-0'; Node3->Node2 - - + + @@ -202,8 +202,8 @@ var sectionId = 'dynsection-0'; Node3->Node4 - - + + @@ -211,8 +211,8 @@ var sectionId = 'dynsection-0'; Node5 - -iomanip + +iomanip @@ -220,8 +220,8 @@ var sectionId = 'dynsection-0'; Node3->Node5 - - + + @@ -229,8 +229,8 @@ var sectionId = 'dynsection-0'; Node3->Node6 - - + + @@ -238,8 +238,8 @@ var sectionId = 'dynsection-0'; Node11 - -Logging.hpp + +Logging.hpp @@ -247,8 +247,26 @@ var sectionId = 'dynsection-0'; Node3->Node11 - - + + + + + + + +Node13 + + +esp_mac.h + + + + + +Node3->Node13 + + + @@ -256,8 +274,8 @@ var sectionId = 'dynsection-0'; Node6->Node7 - - + + @@ -265,8 +283,8 @@ var sectionId = 'dynsection-0'; Node6->Node8 - - + + @@ -274,8 +292,8 @@ var sectionId = 'dynsection-0'; Node9 - -chrono + +chrono @@ -283,8 +301,8 @@ var sectionId = 'dynsection-0'; Node6->Node9 - - + + @@ -292,8 +310,8 @@ var sectionId = 'dynsection-0'; Node10 - -MachineID.hpp + +MachineID.hpp @@ -301,8 +319,8 @@ var sectionId = 'dynsection-0'; Node6->Node10 - - + + @@ -310,8 +328,8 @@ var sectionId = 'dynsection-0'; Node10->Node7 - - + + @@ -319,8 +337,8 @@ var sectionId = 'dynsection-0'; Node12 - -esp_log.h + +esp_log.h @@ -328,8 +346,8 @@ var sectionId = 'dynsection-0'; Node11->Node12 - - + + diff --git a/_fab_user_8hpp__incl_org.svg b/_fab_user_8hpp__incl_org.svg index 5a732acc..19186197 100644 --- a/_fab_user_8hpp__incl_org.svg +++ b/_fab_user_8hpp__incl_org.svg @@ -4,16 +4,16 @@ - + FabUser.hpp Node1 - -FabUser.hpp + +FabUser.hpp @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node3 - -card.hpp + +card.hpp @@ -48,8 +48,8 @@ Node1->Node3 - - + + @@ -63,11 +63,11 @@ - + Node1->Node4 - - - + + + @@ -75,17 +75,17 @@ Node6 - -conf.hpp + +conf.hpp - + Node1->Node6 - - - + + + @@ -93,17 +93,17 @@ Node7 - -cstdint + +cstdint - + Node1->Node7 - - - + + + @@ -111,35 +111,35 @@ Node8 - -string + +string - + Node1->Node8 - - - + + + - - -Node13 - - -array + + +Node14 + + +array - - -Node1->Node13 - - - + + +Node1->Node14 + + + @@ -147,8 +147,8 @@ Node3->Node2 - - + + @@ -156,8 +156,8 @@ Node3->Node4 - - + + @@ -165,8 +165,8 @@ Node5 - -iomanip + +iomanip @@ -174,8 +174,8 @@ Node3->Node5 - - + + @@ -183,8 +183,8 @@ Node3->Node6 - - + + @@ -192,8 +192,8 @@ Node11 - -Logging.hpp + +Logging.hpp @@ -201,8 +201,26 @@ Node3->Node11 - - + + + + + + + +Node13 + + +esp_mac.h + + + + + +Node3->Node13 + + + @@ -210,8 +228,8 @@ Node6->Node7 - - + + @@ -219,8 +237,8 @@ Node6->Node8 - - + + @@ -228,8 +246,8 @@ Node9 - -chrono + +chrono @@ -237,8 +255,8 @@ Node6->Node9 - - + + @@ -246,8 +264,8 @@ Node10 - -MachineID.hpp + +MachineID.hpp @@ -255,8 +273,8 @@ Node6->Node10 - - + + @@ -264,8 +282,8 @@ Node10->Node7 - - + + @@ -273,8 +291,8 @@ Node12 - -esp_log.h + +esp_log.h @@ -282,8 +300,8 @@ Node11->Node12 - - + + diff --git a/_fab_user_8hpp_source.xhtml b/_fab_user_8hpp_source.xhtml index 42c57557..5d1922bc 100644 --- a/_fab_user_8hpp_source.xhtml +++ b/_fab_user_8hpp_source.xhtml @@ -167,8 +167,8 @@ $(document).ready(function() { init_codefold(0); });
69#endif // FABUSER_HPP_
-
static constexpr uid_t INVALID
Definition card.hpp:15
-
u_int64_t uid_t
Definition card.hpp:14
+
static constexpr uid_t INVALID
Definition card.hpp:16
+
u_int64_t uid_t
Definition card.hpp:15
Represents a user with access level, name, RFID tag, and auth result.
Definition FabUser.hpp:16
UserLevel user_level
Definition FabUser.hpp:28
@@ -189,7 +189,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_l_c_d_wrapper_8cpp.xhtml b/_l_c_d_wrapper_8cpp.xhtml index f279284d..d64b7419 100644 --- a/_l_c_d_wrapper_8cpp.xhtml +++ b/_l_c_d_wrapper_8cpp.xhtml @@ -103,7 +103,7 @@ Namespaces diff --git a/_l_c_d_wrapper_8cpp__incl.map b/_l_c_d_wrapper_8cpp__incl.map index d822868b..70acd9ae 100644 --- a/_l_c_d_wrapper_8cpp__incl.map +++ b/_l_c_d_wrapper_8cpp__incl.map @@ -1,73 +1,77 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_l_c_d_wrapper_8cpp__incl.md5 b/_l_c_d_wrapper_8cpp__incl.md5 index 68872ff4..a4de8c45 100644 --- a/_l_c_d_wrapper_8cpp__incl.md5 +++ b/_l_c_d_wrapper_8cpp__incl.md5 @@ -1 +1 @@ -2e89c760148cf0ce76bd44d8cdef594e \ No newline at end of file +840a5d8958c7c38bd3bb5e3ee2abf6e0 \ No newline at end of file diff --git a/_l_c_d_wrapper_8cpp__incl.svg b/_l_c_d_wrapper_8cpp__incl.svg index f14eb191..be46856d 100644 --- a/_l_c_d_wrapper_8cpp__incl.svg +++ b/_l_c_d_wrapper_8cpp__incl.svg @@ -46,7 +46,7 @@
@@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -LCDWrapper.cpp + +LCDWrapper.cpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -LCDWrapper.hpp + +LCDWrapper.hpp @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,17 +85,17 @@ var sectionId = 'dynsection-0'; Node8 - -sstream + +sstream - + Node1->Node8 - - - + + + @@ -103,17 +103,17 @@ var sectionId = 'dynsection-0'; Node11 - -cstdint + +cstdint - + Node1->Node11 - - - + + + @@ -121,17 +121,17 @@ var sectionId = 'dynsection-0'; Node12 - -string + +string - + Node1->Node12 - - - + + + @@ -139,53 +139,53 @@ var sectionId = 'dynsection-0'; Node15 - -Logging.hpp + +Logging.hpp - + Node1->Node15 - - - + + + - - -Node17 - - -array + + +Node18 + + +array - - -Node1->Node17 - - - + + +Node1->Node18 + + + - - -Node23 - - -type_traits + + +Node25 + + +type_traits - - -Node1->Node23 - - - + + +Node1->Node25 + + + @@ -193,8 +193,8 @@ var sectionId = 'dynsection-0'; Node3 - -BoardInfo.hpp + +BoardInfo.hpp @@ -202,8 +202,8 @@ var sectionId = 'dynsection-0'; Node2->Node3 - - + + @@ -211,17 +211,17 @@ var sectionId = 'dynsection-0'; Node4 - -Machine.hpp + +Machine.hpp - + Node2->Node4 - - - + + + @@ -229,62 +229,62 @@ var sectionId = 'dynsection-0'; Node13 - -chrono + +chrono - + Node2->Node13 - - - + + + - - -Node2->Node17 - - - + + +Node2->Node18 + + + - - -Node19 - - -pins.hpp + + +Node20 + + +pins.hpp - - -Node2->Node19 - - - + + +Node2->Node20 + + + - - -Node22 - - -LiquidCrystal.h + + +Node24 + + +LiquidCrystal.h - - -Node2->Node22 - - - + + +Node2->Node24 + + + @@ -292,8 +292,8 @@ var sectionId = 'dynsection-0'; Node3->Node4 - - + + @@ -301,8 +301,8 @@ var sectionId = 'dynsection-0'; Node5 - -FabUser.hpp + +FabUser.hpp @@ -310,53 +310,71 @@ var sectionId = 'dynsection-0'; Node4->Node5 - - + + - + Node4->Node11 - - - + + + - + Node4->Node13 - - - + + + - - -Node4->Node17 - - - + + +Node4->Node18 + + + - - -Node18 - - -MachineConfig.hpp + + +Node19 + + +MachineConfig.hpp - - -Node4->Node18 - - - + + +Node4->Node19 + + + + + + + + +Node23 + + +optional + + + + + +Node4->Node23 + + + @@ -364,8 +382,8 @@ var sectionId = 'dynsection-0'; Node6 - -Arduino.h + +Arduino.h @@ -373,8 +391,8 @@ var sectionId = 'dynsection-0'; Node5->Node6 - - + + @@ -382,8 +400,8 @@ var sectionId = 'dynsection-0'; Node7 - -card.hpp + +card.hpp @@ -391,17 +409,17 @@ var sectionId = 'dynsection-0'; Node5->Node7 - - + + - + Node5->Node8 - - - + + + @@ -409,44 +427,44 @@ var sectionId = 'dynsection-0'; Node10 - -conf.hpp + +conf.hpp - + Node5->Node10 - - - + + + - + Node5->Node11 - - - + + + - + Node5->Node12 - - - + + + - - -Node5->Node17 - - - + + +Node5->Node18 + + + @@ -454,8 +472,8 @@ var sectionId = 'dynsection-0'; Node7->Node6 - - + + @@ -463,8 +481,8 @@ var sectionId = 'dynsection-0'; Node7->Node8 - - + + @@ -472,8 +490,8 @@ var sectionId = 'dynsection-0'; Node9 - -iomanip + +iomanip @@ -481,8 +499,8 @@ var sectionId = 'dynsection-0'; Node7->Node9 - - + + @@ -490,8 +508,8 @@ var sectionId = 'dynsection-0'; Node7->Node10 - - + + @@ -499,8 +517,26 @@ var sectionId = 'dynsection-0'; Node7->Node15 - - + + + + + + + +Node17 + + +esp_mac.h + + + + + +Node7->Node17 + + + @@ -508,8 +544,8 @@ var sectionId = 'dynsection-0'; Node10->Node11 - - + + @@ -517,8 +553,8 @@ var sectionId = 'dynsection-0'; Node10->Node12 - - + + @@ -526,8 +562,8 @@ var sectionId = 'dynsection-0'; Node10->Node13 - - + + @@ -535,8 +571,8 @@ var sectionId = 'dynsection-0'; Node14 - -MachineID.hpp + +MachineID.hpp @@ -544,8 +580,8 @@ var sectionId = 'dynsection-0'; Node10->Node14 - - + + @@ -553,8 +589,8 @@ var sectionId = 'dynsection-0'; Node14->Node11 - - + + @@ -562,8 +598,8 @@ var sectionId = 'dynsection-0'; Node16 - -esp_log.h + +esp_log.h @@ -571,125 +607,125 @@ var sectionId = 'dynsection-0'; Node15->Node16 - - + + - - -Node18->Node10 - - - + + +Node19->Node10 + + + - - -Node18->Node11 - - - + + +Node19->Node11 + + + - - -Node18->Node12 - - - + + +Node19->Node12 + + + - - -Node18->Node13 - - - + + +Node19->Node13 + + + - - -Node18->Node14 - - - + + +Node19->Node14 + + + - - -Node18->Node19 - - - + + +Node19->Node20 + + + - - -Node19->Node11 - - - + + +Node20->Node11 + + + - - -Node20 - - -Adafruit_NeoPixel.h + + +Node21 + + +Adafruit_NeoPixel.h - - -Node19->Node20 - - - + + +Node20->Node21 + + + - - -Node21 - - -PinsConfig.hpp + + +Node22 + + +PinsConfig.hpp - - -Node19->Node21 - - - + + +Node20->Node22 + + + - - -Node21->Node11 - - - + + +Node22->Node11 + + + - - -Node21->Node17 - - - + + +Node22->Node18 + + + diff --git a/_l_c_d_wrapper_8cpp__incl_org.svg b/_l_c_d_wrapper_8cpp__incl_org.svg index 96970925..91b7a294 100644 --- a/_l_c_d_wrapper_8cpp__incl_org.svg +++ b/_l_c_d_wrapper_8cpp__incl_org.svg @@ -4,16 +4,16 @@ - + LCDWrapper.cpp Node1 - -LCDWrapper.cpp + +LCDWrapper.cpp @@ -21,8 +21,8 @@ Node2 - -LCDWrapper.hpp + +LCDWrapper.hpp @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,17 +39,17 @@ Node8 - -sstream + +sstream - + Node1->Node8 - - - + + + @@ -57,17 +57,17 @@ Node11 - -cstdint + +cstdint - + Node1->Node11 - - - + + + @@ -75,17 +75,17 @@ Node12 - -string + +string - + Node1->Node12 - - - + + + @@ -93,53 +93,53 @@ Node15 - -Logging.hpp + +Logging.hpp - + Node1->Node15 - - - + + + - - -Node17 - - -array + + +Node18 + + +array - - -Node1->Node17 - - - + + +Node1->Node18 + + + - - -Node23 - - -type_traits + + +Node25 + + +type_traits - - -Node1->Node23 - - - + + +Node1->Node25 + + + @@ -147,8 +147,8 @@ Node3 - -BoardInfo.hpp + +BoardInfo.hpp @@ -156,8 +156,8 @@ Node2->Node3 - - + + @@ -165,17 +165,17 @@ Node4 - -Machine.hpp + +Machine.hpp - + Node2->Node4 - - - + + + @@ -183,62 +183,62 @@ Node13 - -chrono + +chrono - + Node2->Node13 - - - + + + - - -Node2->Node17 - - - + + +Node2->Node18 + + + - - -Node19 - - -pins.hpp + + +Node20 + + +pins.hpp - - -Node2->Node19 - - - + + +Node2->Node20 + + + - - -Node22 - - -LiquidCrystal.h + + +Node24 + + +LiquidCrystal.h - - -Node2->Node22 - - - + + +Node2->Node24 + + + @@ -246,8 +246,8 @@ Node3->Node4 - - + + @@ -255,8 +255,8 @@ Node5 - -FabUser.hpp + +FabUser.hpp @@ -264,53 +264,71 @@ Node4->Node5 - - + + - + Node4->Node11 - - - + + + - + Node4->Node13 - - - + + + - - -Node4->Node17 - - - + + +Node4->Node18 + + + - - -Node18 - - -MachineConfig.hpp + + +Node19 + + +MachineConfig.hpp - - -Node4->Node18 - - - + + +Node4->Node19 + + + + + + + + +Node23 + + +optional + + + + + +Node4->Node23 + + + @@ -318,8 +336,8 @@ Node6 - -Arduino.h + +Arduino.h @@ -327,8 +345,8 @@ Node5->Node6 - - + + @@ -336,8 +354,8 @@ Node7 - -card.hpp + +card.hpp @@ -345,17 +363,17 @@ Node5->Node7 - - + + - + Node5->Node8 - - - + + + @@ -363,44 +381,44 @@ Node10 - -conf.hpp + +conf.hpp - + Node5->Node10 - - - + + + - + Node5->Node11 - - - + + + - + Node5->Node12 - - - + + + - - -Node5->Node17 - - - + + +Node5->Node18 + + + @@ -408,8 +426,8 @@ Node7->Node6 - - + + @@ -417,8 +435,8 @@ Node7->Node8 - - + + @@ -426,8 +444,8 @@ Node9 - -iomanip + +iomanip @@ -435,8 +453,8 @@ Node7->Node9 - - + + @@ -444,8 +462,8 @@ Node7->Node10 - - + + @@ -453,8 +471,26 @@ Node7->Node15 - - + + + + + + + +Node17 + + +esp_mac.h + + + + + +Node7->Node17 + + + @@ -462,8 +498,8 @@ Node10->Node11 - - + + @@ -471,8 +507,8 @@ Node10->Node12 - - + + @@ -480,8 +516,8 @@ Node10->Node13 - - + + @@ -489,8 +525,8 @@ Node14 - -MachineID.hpp + +MachineID.hpp @@ -498,8 +534,8 @@ Node10->Node14 - - + + @@ -507,8 +543,8 @@ Node14->Node11 - - + + @@ -516,8 +552,8 @@ Node16 - -esp_log.h + +esp_log.h @@ -525,125 +561,125 @@ Node15->Node16 - - + + - - -Node18->Node10 - - - + + +Node19->Node10 + + + - - -Node18->Node11 - - - + + +Node19->Node11 + + + - - -Node18->Node12 - - - + + +Node19->Node12 + + + - - -Node18->Node13 - - - + + +Node19->Node13 + + + - - -Node18->Node14 - - - + + +Node19->Node14 + + + - - -Node18->Node19 - - - + + +Node19->Node20 + + + - - -Node19->Node11 - - - + + +Node20->Node11 + + + - - -Node20 - - -Adafruit_NeoPixel.h + + +Node21 + + +Adafruit_NeoPixel.h - - -Node19->Node20 - - - + + +Node20->Node21 + + + - - -Node21 - - -PinsConfig.hpp + + +Node22 + + +PinsConfig.hpp - - -Node19->Node21 - - - + + +Node20->Node22 + + + - - -Node21->Node11 - - - + + +Node22->Node11 + + + - - -Node21->Node17 - - - + + +Node22->Node18 + + + diff --git a/_l_c_d_wrapper_8cpp_source.xhtml b/_l_c_d_wrapper_8cpp_source.xhtml index 78b20f4b..7c9c72f1 100644 --- a/_l_c_d_wrapper_8cpp_source.xhtml +++ b/_l_c_d_wrapper_8cpp_source.xhtml @@ -340,7 +340,7 @@ $(document).ready(function() { init_codefold(0); });
237} // namespace fabomatic
-
static const char *const TAG
Definition Logging.hpp:6
+
static const char *const TAG
Definition Logging.hpp:9
DisplayBuffer buffer
auto createChar(uint8_t char_idx, const std::array< uint8_t, HEIGHT_PX > &values) -> void
std::array< std::array< char, conf::lcd::COLS >, conf::lcd::ROWS > DisplayBuffer
@@ -363,7 +363,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_l_c_d_wrapper_8hpp.xhtml b/_l_c_d_wrapper_8hpp.xhtml index e07548f8..de08d670 100644 --- a/_l_c_d_wrapper_8hpp.xhtml +++ b/_l_c_d_wrapper_8hpp.xhtml @@ -114,7 +114,7 @@ Namespaces diff --git a/_l_c_d_wrapper_8hpp__incl.map b/_l_c_d_wrapper_8hpp__incl.map index fac173fc..e6f6b023 100644 --- a/_l_c_d_wrapper_8hpp__incl.map +++ b/_l_c_d_wrapper_8hpp__incl.map @@ -1,64 +1,68 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_l_c_d_wrapper_8hpp__incl.md5 b/_l_c_d_wrapper_8hpp__incl.md5 index c4bbb5b8..a491deec 100644 --- a/_l_c_d_wrapper_8hpp__incl.md5 +++ b/_l_c_d_wrapper_8hpp__incl.md5 @@ -1 +1 @@ -2d85175824b948fb2d2f17e3e3aff04a \ No newline at end of file +e52655953f986cb2971d1bc6a30daffc \ No newline at end of file diff --git a/_l_c_d_wrapper_8hpp__incl.svg b/_l_c_d_wrapper_8hpp__incl.svg index 51a50c2f..7697601e 100644 --- a/_l_c_d_wrapper_8hpp__incl.svg +++ b/_l_c_d_wrapper_8hpp__incl.svg @@ -46,7 +46,7 @@
@@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -LCDWrapper.hpp + +LCDWrapper.hpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -BoardInfo.hpp + +BoardInfo.hpp @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,17 +85,17 @@ var sectionId = 'dynsection-0'; Node3 - -Machine.hpp + +Machine.hpp - + Node1->Node3 - - - + + + @@ -103,71 +103,71 @@ var sectionId = 'dynsection-0'; Node12 - -chrono + +chrono - + Node1->Node12 - - - + + + - - -Node16 - - -array + + +Node17 + + +array - - -Node1->Node16 - - - + + +Node1->Node17 + + + - - -Node18 - - -pins.hpp + + +Node19 + + +pins.hpp - - -Node1->Node18 - - - + + +Node1->Node19 + + + - - -Node21 - - -LiquidCrystal.h + + +Node23 + + +LiquidCrystal.h - - -Node1->Node21 - - - + + +Node1->Node23 + + + @@ -175,8 +175,8 @@ var sectionId = 'dynsection-0'; Node2->Node3 - - + + @@ -184,8 +184,8 @@ var sectionId = 'dynsection-0'; Node4 - -FabUser.hpp + +FabUser.hpp @@ -193,8 +193,8 @@ var sectionId = 'dynsection-0'; Node3->Node4 - - + + @@ -202,53 +202,71 @@ var sectionId = 'dynsection-0'; Node10 - -cstdint + +cstdint - + Node3->Node10 - - - + + + - + Node3->Node12 - - - + + + - - -Node3->Node16 - - - + + +Node3->Node17 + + + - - -Node17 - - -MachineConfig.hpp + + +Node18 + + +MachineConfig.hpp - - -Node3->Node17 - - - + + +Node3->Node18 + + + + + + + + +Node22 + + +optional + + + + + +Node3->Node22 + + + @@ -256,8 +274,8 @@ var sectionId = 'dynsection-0'; Node5 - -Arduino.h + +Arduino.h @@ -265,8 +283,8 @@ var sectionId = 'dynsection-0'; Node4->Node5 - - + + @@ -274,8 +292,8 @@ var sectionId = 'dynsection-0'; Node6 - -card.hpp + +card.hpp @@ -283,8 +301,8 @@ var sectionId = 'dynsection-0'; Node4->Node6 - - + + @@ -292,17 +310,17 @@ var sectionId = 'dynsection-0'; Node7 - -sstream + +sstream - + Node4->Node7 - - - + + + @@ -310,26 +328,26 @@ var sectionId = 'dynsection-0'; Node9 - -conf.hpp + +conf.hpp - + Node4->Node9 - - - + + + - + Node4->Node10 - - - + + + @@ -337,26 +355,26 @@ var sectionId = 'dynsection-0'; Node11 - -string + +string - + Node4->Node11 - - - + + + - - -Node4->Node16 - - - + + +Node4->Node17 + + + @@ -364,8 +382,8 @@ var sectionId = 'dynsection-0'; Node6->Node5 - - + + @@ -373,8 +391,8 @@ var sectionId = 'dynsection-0'; Node6->Node7 - - + + @@ -382,8 +400,8 @@ var sectionId = 'dynsection-0'; Node8 - -iomanip + +iomanip @@ -391,8 +409,8 @@ var sectionId = 'dynsection-0'; Node6->Node8 - - + + @@ -400,8 +418,8 @@ var sectionId = 'dynsection-0'; Node6->Node9 - - + + @@ -409,8 +427,8 @@ var sectionId = 'dynsection-0'; Node14 - -Logging.hpp + +Logging.hpp @@ -418,8 +436,26 @@ var sectionId = 'dynsection-0'; Node6->Node14 - - + + + + + + + +Node16 + + +esp_mac.h + + + + + +Node6->Node16 + + + @@ -427,8 +463,8 @@ var sectionId = 'dynsection-0'; Node9->Node10 - - + + @@ -436,8 +472,8 @@ var sectionId = 'dynsection-0'; Node9->Node11 - - + + @@ -445,8 +481,8 @@ var sectionId = 'dynsection-0'; Node9->Node12 - - + + @@ -454,8 +490,8 @@ var sectionId = 'dynsection-0'; Node13 - -MachineID.hpp + +MachineID.hpp @@ -463,8 +499,8 @@ var sectionId = 'dynsection-0'; Node9->Node13 - - + + @@ -472,8 +508,8 @@ var sectionId = 'dynsection-0'; Node13->Node10 - - + + @@ -481,8 +517,8 @@ var sectionId = 'dynsection-0'; Node15 - -esp_log.h + +esp_log.h @@ -490,125 +526,125 @@ var sectionId = 'dynsection-0'; Node14->Node15 - - + + - - -Node17->Node9 - - - + + +Node18->Node9 + + + - - -Node17->Node10 - - - + + +Node18->Node10 + + + - - -Node17->Node11 - - - + + +Node18->Node11 + + + - - -Node17->Node12 - - - + + +Node18->Node12 + + + - - -Node17->Node13 - - - + + +Node18->Node13 + + + - - -Node17->Node18 - - - + + +Node18->Node19 + + + - - -Node18->Node10 - - - + + +Node19->Node10 + + + - - -Node19 - - -Adafruit_NeoPixel.h + + +Node20 + + +Adafruit_NeoPixel.h - - -Node18->Node19 - - - + + +Node19->Node20 + + + - - -Node20 - - -PinsConfig.hpp + + +Node21 + + +PinsConfig.hpp - - -Node18->Node20 - - - + + +Node19->Node21 + + + - - -Node20->Node10 - - - + + +Node21->Node10 + + + - - -Node20->Node16 - - - + + +Node21->Node17 + + + diff --git a/_l_c_d_wrapper_8hpp__incl_org.svg b/_l_c_d_wrapper_8hpp__incl_org.svg index 3a5b133b..007036ea 100644 --- a/_l_c_d_wrapper_8hpp__incl_org.svg +++ b/_l_c_d_wrapper_8hpp__incl_org.svg @@ -4,16 +4,16 @@ - + LCDWrapper.hpp Node1 - -LCDWrapper.hpp + +LCDWrapper.hpp @@ -21,8 +21,8 @@ Node2 - -BoardInfo.hpp + +BoardInfo.hpp @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,17 +39,17 @@ Node3 - -Machine.hpp + +Machine.hpp - + Node1->Node3 - - - + + + @@ -57,71 +57,71 @@ Node12 - -chrono + +chrono - + Node1->Node12 - - - + + + - - -Node16 - - -array + + +Node17 + + +array - - -Node1->Node16 - - - + + +Node1->Node17 + + + - - -Node18 - - -pins.hpp + + +Node19 + + +pins.hpp - - -Node1->Node18 - - - + + +Node1->Node19 + + + - - -Node21 - - -LiquidCrystal.h + + +Node23 + + +LiquidCrystal.h - - -Node1->Node21 - - - + + +Node1->Node23 + + + @@ -129,8 +129,8 @@ Node2->Node3 - - + + @@ -138,8 +138,8 @@ Node4 - -FabUser.hpp + +FabUser.hpp @@ -147,8 +147,8 @@ Node3->Node4 - - + + @@ -156,53 +156,71 @@ Node10 - -cstdint + +cstdint - + Node3->Node10 - - - + + + - + Node3->Node12 - - - + + + - - -Node3->Node16 - - - + + +Node3->Node17 + + + - - -Node17 - - -MachineConfig.hpp + + +Node18 + + +MachineConfig.hpp - - -Node3->Node17 - - - + + +Node3->Node18 + + + + + + + + +Node22 + + +optional + + + + + +Node3->Node22 + + + @@ -210,8 +228,8 @@ Node5 - -Arduino.h + +Arduino.h @@ -219,8 +237,8 @@ Node4->Node5 - - + + @@ -228,8 +246,8 @@ Node6 - -card.hpp + +card.hpp @@ -237,8 +255,8 @@ Node4->Node6 - - + + @@ -246,17 +264,17 @@ Node7 - -sstream + +sstream - + Node4->Node7 - - - + + + @@ -264,26 +282,26 @@ Node9 - -conf.hpp + +conf.hpp - + Node4->Node9 - - - + + + - + Node4->Node10 - - - + + + @@ -291,26 +309,26 @@ Node11 - -string + +string - + Node4->Node11 - - - + + + - - -Node4->Node16 - - - + + +Node4->Node17 + + + @@ -318,8 +336,8 @@ Node6->Node5 - - + + @@ -327,8 +345,8 @@ Node6->Node7 - - + + @@ -336,8 +354,8 @@ Node8 - -iomanip + +iomanip @@ -345,8 +363,8 @@ Node6->Node8 - - + + @@ -354,8 +372,8 @@ Node6->Node9 - - + + @@ -363,8 +381,8 @@ Node14 - -Logging.hpp + +Logging.hpp @@ -372,8 +390,26 @@ Node6->Node14 - - + + + + + + + +Node16 + + +esp_mac.h + + + + + +Node6->Node16 + + + @@ -381,8 +417,8 @@ Node9->Node10 - - + + @@ -390,8 +426,8 @@ Node9->Node11 - - + + @@ -399,8 +435,8 @@ Node9->Node12 - - + + @@ -408,8 +444,8 @@ Node13 - -MachineID.hpp + +MachineID.hpp @@ -417,8 +453,8 @@ Node9->Node13 - - + + @@ -426,8 +462,8 @@ Node13->Node10 - - + + @@ -435,8 +471,8 @@ Node15 - -esp_log.h + +esp_log.h @@ -444,125 +480,125 @@ Node14->Node15 - - + + - - -Node17->Node9 - - - + + +Node18->Node9 + + + - - -Node17->Node10 - - - + + +Node18->Node10 + + + - - -Node17->Node11 - - - + + +Node18->Node11 + + + - - -Node17->Node12 - - - + + +Node18->Node12 + + + - - -Node17->Node13 - - - + + +Node18->Node13 + + + - - -Node17->Node18 - - - + + +Node18->Node19 + + + - - -Node18->Node10 - - - + + +Node19->Node10 + + + - - -Node19 - - -Adafruit_NeoPixel.h + + +Node20 + + +Adafruit_NeoPixel.h - - -Node18->Node19 - - - + + +Node19->Node20 + + + - - -Node20 - - -PinsConfig.hpp + + +Node21 + + +PinsConfig.hpp - - -Node18->Node20 - - - + + +Node19->Node21 + + + - - -Node20->Node10 - - - + + +Node21->Node10 + + + - - -Node20->Node16 - - - + + +Node21->Node17 + + + diff --git a/_l_c_d_wrapper_8hpp_source.xhtml b/_l_c_d_wrapper_8hpp_source.xhtml index c59ad01d..fd35796b 100644 --- a/_l_c_d_wrapper_8hpp_source.xhtml +++ b/_l_c_d_wrapper_8hpp_source.xhtml @@ -194,7 +194,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_led_8cpp.xhtml b/_led_8cpp.xhtml index 5d8fa2ea..f061a5a3 100644 --- a/_led_8cpp.xhtml +++ b/_led_8cpp.xhtml @@ -98,7 +98,7 @@ Namespaces diff --git a/_led_8cpp_source.xhtml b/_led_8cpp_source.xhtml index bf89ed9c..1c1318e8 100644 --- a/_led_8cpp_source.xhtml +++ b/_led_8cpp_source.xhtml @@ -186,7 +186,7 @@ $(document).ready(function() { init_codefold(0); });
91} // namespace fabomatic
-
static const char *const TAG
Definition Logging.hpp:6
+
static const char *const TAG
Definition Logging.hpp:9
void init()
Definition Led.cpp:6
auto update() -> void
Definition Led.cpp:64
@@ -206,7 +206,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_led_8hpp.xhtml b/_led_8hpp.xhtml index 6e7bd2fc..6a80d30c 100644 --- a/_led_8hpp.xhtml +++ b/_led_8hpp.xhtml @@ -112,7 +112,7 @@ Namespaces diff --git a/_led_8hpp_source.xhtml b/_led_8hpp_source.xhtml index 20f5b891..53980f69 100644 --- a/_led_8hpp_source.xhtml +++ b/_led_8hpp_source.xhtml @@ -152,7 +152,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_logging_8hpp.xhtml b/_logging_8hpp.xhtml index 875837b2..78e735c4 100644 --- a/_logging_8hpp.xhtml +++ b/_logging_8hpp.xhtml @@ -76,6 +76,7 @@ $(function() {
Logging.hpp File Reference
@@ -94,11 +95,33 @@ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

+ + + +

+Macros

#define LOG_LOCAL_LEVEL   5
 

Variables

static const char *const TAG = "FAB-O-MATIC"
 
+

Macro Definition Documentation

+ +

◆ LOG_LOCAL_LEVEL

+ +
+
+ + + + +
#define LOG_LOCAL_LEVEL   5
+
+ +

Definition at line 5 of file Logging.hpp.

+ +
+

Variable Documentation

◆ TAG

@@ -120,16 +143,16 @@ Variables
-

Definition at line 6 of file Logging.hpp.

+

Definition at line 9 of file Logging.hpp.

-

Referenced by fabomatic::BoardLogic::authorize(), fabomatic::LCDWrapper::begin(), fabomatic::BoardLogic::changeStatus(), fabomatic::configModeCallback(), fabomatic::Machine::configure(), fabomatic::FabBackend::configure(), fabomatic::FabBackend::connect(), fabomatic::FabBackend::connectWiFi(), fabomatic::SavedConfig::fromJsonDocument(), fabomatic::Buffer::fromJsonElement(), fabomatic::BoardLogic::getLcd(), fabomatic::Buffer::getMessage(), fabomatic::BoardLogic::getRfid(), fabomatic::SavedConfig::IncrementBootCount(), fabomatic::Led::init(), fabomatic::BoardLogic::initBoard(), fabomatic::FabBackend::loadBuffer(), fabomatic::SavedConfig::LoadFromEEPROM(), fabomatic::BoardLogic::logout(), fabomatic::Machine::logout(), fabomatic::FabBackend::loop(), fabomatic::FabBackend::messageReceived(), fabomatic::BoardLogic::onNewCard(), fabomatic::openConfigPortal(), fabomatic::OTAComplete(), fabomatic::Machine::power(), fabomatic::Machine::power_mqtt(), fabomatic::Machine::power_relay(), fabomatic::card::print(), fabomatic::Tasks::Scheduler::printStats(), fabomatic::FabBackend::processQuery(), fabomatic::FabBackend::publish(), fabomatic::FabBackend::publish(), fabomatic::FabBackend::publishWithReply(), fabomatic::Buffer::push_back(), fabomatic::Buffer::push_front(), fabomatic::BoardLogic::reconfigure(), fabomatic::BoardLogic::refreshFromServer(), fabomatic::Tasks::Task::run(), fabomatic::FabBackend::saveBuffer(), fabomatic::AuthProvider::saveCache(), fabomatic::SavedConfig::SaveToEEPROM(), fabomatic::Machine::setAutologoffDelay(), fabomatic::Machine::setGracePeriod(), fabomatic::Machine::setMachineName(), fabomatic::Machine::setMachineType(), setup(), fabomatic::esp32::setupWatchdog(), fabomatic::taskConnect(), fabomatic::taskEspWatchdog(), fabomatic::taskFactoryReset(), fabomatic::taskIsAlive(), fabomatic::taskLogoffCheck(), fabomatic::taskPoweroffWarning(), fabomatic::taskRfidWatchdog(), fabomatic::tests::test_deserialization(), fabomatic::tests::test_taskEspWatchdog(), fabomatic::FabBackend::transmitBuffer(), fabomatic::AuthProvider::tryLogin(), fabomatic::AuthProvider::uidInWhitelist(), and fabomatic::FabBackend::waitForAnswer().

+

Referenced by fabomatic::BoardLogic::authorize(), fabomatic::LCDWrapper::begin(), fabomatic::BoardLogic::changeStatus(), fabomatic::configModeCallback(), fabomatic::Machine::configure(), fabomatic::FabBackend::configure(), fabomatic::FabBackend::connect(), fabomatic::FabBackend::connectWiFi(), fabomatic::SavedConfig::fromJsonDocument(), fabomatic::Buffer::fromJsonElement(), fabomatic::BoardLogic::getLcd(), fabomatic::Buffer::getMessage(), fabomatic::BoardLogic::getRfid(), fabomatic::SavedConfig::IncrementBootCount(), fabomatic::Led::init(), fabomatic::BoardLogic::initBoard(), fabomatic::FabBackend::loadBuffer(), fabomatic::SavedConfig::LoadFromEEPROM(), fabomatic::BoardLogic::logout(), fabomatic::Machine::logout(), fabomatic::FabBackend::loop(), fabomatic::FabBackend::messageReceived(), fabomatic::BoardLogic::onNewCard(), fabomatic::openConfigPortal(), fabomatic::OTAComplete(), fabomatic::Machine::power(), fabomatic::Machine::power_mqtt(), fabomatic::Machine::power_relay(), fabomatic::card::print(), fabomatic::Tasks::Scheduler::printStats(), fabomatic::FabBackend::processQuery(), fabomatic::FabBackend::publish(), fabomatic::FabBackend::publish(), fabomatic::FabBackend::publishWithReply(), fabomatic::Buffer::push_back(), fabomatic::Buffer::push_front(), fabomatic::BoardLogic::reconfigure(), fabomatic::BoardLogic::refreshFromServer(), fabomatic::Tasks::Task::run(), fabomatic::FabBackend::saveBuffer(), fabomatic::AuthProvider::saveCache(), fabomatic::SavedConfig::SaveToEEPROM(), fabomatic::Machine::setAutologoffDelay(), fabomatic::Machine::setGracePeriod(), fabomatic::Machine::setMachineName(), fabomatic::Machine::setMachineType(), setup(), fabomatic::esp32::setupWatchdog(), fabomatic::Tasks::Task::Task(), fabomatic::taskConnect(), fabomatic::taskEspWatchdog(), fabomatic::taskFactoryReset(), fabomatic::taskIsAlive(), fabomatic::taskLogoffCheck(), fabomatic::taskPoweroffWarning(), fabomatic::taskRfidWatchdog(), fabomatic::tests::test_deserialization(), fabomatic::FabBackend::transmitBuffer(), fabomatic::AuthProvider::tryLogin(), fabomatic::AuthProvider::uidInWhitelist(), and fabomatic::FabBackend::waitForAnswer().

diff --git a/_logging_8hpp__dep__incl.map b/_logging_8hpp__dep__incl.map index 7b35979f..323c8d7b 100644 --- a/_logging_8hpp__dep__incl.map +++ b/_logging_8hpp__dep__incl.map @@ -1,56 +1,58 @@ - + - + - - - - - + + + + + - + - - - + + + - + - + - + - - - + + + - - - - - + + + + + + + - + - + - + - - - - - - - - - - - + + + + + + + + + + + - - + + @@ -77,24 +79,24 @@ - - - + + + - - - - - - - - + + + + + + + + - + @@ -104,56 +106,56 @@ - - - - - - - - - - + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -167,5 +169,5 @@ - + diff --git a/_logging_8hpp__dep__incl.md5 b/_logging_8hpp__dep__incl.md5 index 2e39104a..ba6c5864 100644 --- a/_logging_8hpp__dep__incl.md5 +++ b/_logging_8hpp__dep__incl.md5 @@ -1 +1 @@ -f18bca23807342ab372ac82f260ff2a1 \ No newline at end of file +f873783527128098c531c9a4ce13de92 \ No newline at end of file diff --git a/_logging_8hpp__dep__incl.svg b/_logging_8hpp__dep__incl.svg index b388872c..1b3f610a 100644 --- a/_logging_8hpp__dep__incl.svg +++ b/_logging_8hpp__dep__incl.svg @@ -46,7 +46,7 @@
@@ -58,8 +58,8 @@ var sectionId = 'dynsection-1'; Node1 - -Logging.hpp + +Logging.hpp @@ -76,8 +76,8 @@ var sectionId = 'dynsection-1'; Node1->Node2 - - + + @@ -94,8 +94,8 @@ var sectionId = 'dynsection-1'; Node1->Node3 - - + + @@ -103,8 +103,8 @@ var sectionId = 'dynsection-1'; Node4 - -BufferedMsg.cpp + +BufferedMsg.cpp @@ -112,8 +112,8 @@ var sectionId = 'dynsection-1'; Node1->Node4 - - + + @@ -121,8 +121,8 @@ var sectionId = 'dynsection-1'; Node5 - -Espressif.cpp + +Espressif.cpp @@ -130,8 +130,8 @@ var sectionId = 'dynsection-1'; Node1->Node5 - - + + @@ -148,8 +148,8 @@ var sectionId = 'dynsection-1'; Node1->Node6 - - + + @@ -166,8 +166,8 @@ var sectionId = 'dynsection-1'; Node1->Node7 - - + + @@ -175,8 +175,8 @@ var sectionId = 'dynsection-1'; Node8 - -Led.cpp + +Led.cpp @@ -184,8 +184,8 @@ var sectionId = 'dynsection-1'; Node1->Node8 - - + + @@ -202,8 +202,8 @@ var sectionId = 'dynsection-1'; Node1->Node9 - - + + @@ -220,8 +220,8 @@ var sectionId = 'dynsection-1'; Node1->Node10 - - + + @@ -238,8 +238,8 @@ var sectionId = 'dynsection-1'; Node1->Node11 - - + + @@ -256,8 +256,8 @@ var sectionId = 'dynsection-1'; Node1->Node12 - - + + @@ -265,8 +265,8 @@ var sectionId = 'dynsection-1'; Node13 - -card.hpp + +card.hpp @@ -274,8 +274,8 @@ var sectionId = 'dynsection-1'; Node1->Node13 - - + + @@ -292,17 +292,17 @@ var sectionId = 'dynsection-1'; Node1->Node18 - - + + Node44 - - -test_tasks.cpp + + +test_chrono.cpp @@ -310,8 +310,26 @@ var sectionId = 'dynsection-1'; Node1->Node44 - - + + + + + + + +Node45 + + +test_tasks.cpp + + + + + +Node1->Node45 + + + @@ -319,8 +337,8 @@ var sectionId = 'dynsection-1'; Node14 - -BaseRfidWrapper.hpp + +BaseRfidWrapper.hpp @@ -328,8 +346,8 @@ var sectionId = 'dynsection-1'; Node13->Node14 - - + + @@ -346,8 +364,8 @@ var sectionId = 'dynsection-1'; Node13->Node15 - - + + @@ -364,8 +382,8 @@ var sectionId = 'dynsection-1'; Node13->Node19 - - + + @@ -382,8 +400,8 @@ var sectionId = 'dynsection-1'; Node13->Node20 - - + + @@ -400,8 +418,8 @@ var sectionId = 'dynsection-1'; Node13->Node25 - - + + @@ -409,8 +427,8 @@ var sectionId = 'dynsection-1'; Node26 - -CachedCards.hpp + +CachedCards.hpp @@ -418,8 +436,8 @@ var sectionId = 'dynsection-1'; Node13->Node26 - - + + @@ -427,8 +445,8 @@ var sectionId = 'dynsection-1'; Node30 - -FabUser.hpp + +FabUser.hpp @@ -436,8 +454,8 @@ var sectionId = 'dynsection-1'; Node13->Node30 - - + + @@ -445,8 +463,8 @@ var sectionId = 'dynsection-1'; Node31 - -MQTTtypes.cpp + +MQTTtypes.cpp @@ -454,8 +472,8 @@ var sectionId = 'dynsection-1'; Node13->Node31 - - + + @@ -463,8 +481,8 @@ var sectionId = 'dynsection-1'; Node32 - -MQTTtypes.hpp + +MQTTtypes.hpp @@ -472,8 +490,8 @@ var sectionId = 'dynsection-1'; Node13->Node32 - - + + @@ -481,8 +499,8 @@ var sectionId = 'dynsection-1'; Node14->Node3 - - + + @@ -490,8 +508,8 @@ var sectionId = 'dynsection-1'; Node14->Node15 - - + + @@ -508,8 +526,8 @@ var sectionId = 'dynsection-1'; Node14->Node24 - - + + @@ -517,8 +535,8 @@ var sectionId = 'dynsection-1'; Node14->Node25 - - + + @@ -760,8 +778,8 @@ var sectionId = 'dynsection-1'; Node26->Node27 - - + + @@ -769,8 +787,8 @@ var sectionId = 'dynsection-1'; Node28 - -SavedConfig.hpp + +SavedConfig.hpp @@ -778,8 +796,8 @@ var sectionId = 'dynsection-1'; Node26->Node28 - - + + @@ -832,8 +850,8 @@ var sectionId = 'dynsection-1'; Node28->Node3 - - + + @@ -841,8 +859,8 @@ var sectionId = 'dynsection-1'; Node28->Node6 - - + + @@ -850,8 +868,8 @@ var sectionId = 'dynsection-1'; Node28->Node11 - - + + @@ -859,8 +877,8 @@ var sectionId = 'dynsection-1'; Node28->Node17 - - + + @@ -868,8 +886,8 @@ var sectionId = 'dynsection-1'; Node28->Node18 - - + + @@ -877,8 +895,8 @@ var sectionId = 'dynsection-1'; Node28->Node21 - - + + @@ -886,8 +904,8 @@ var sectionId = 'dynsection-1'; Node28->Node22 - - + + @@ -895,8 +913,8 @@ var sectionId = 'dynsection-1'; Node28->Node23 - - + + @@ -913,8 +931,8 @@ var sectionId = 'dynsection-1'; Node28->Node29 - - + + @@ -1003,8 +1021,8 @@ var sectionId = 'dynsection-1'; Node30->Node15 - - + + @@ -1012,8 +1030,8 @@ var sectionId = 'dynsection-1'; Node30->Node26 - - + + @@ -1021,8 +1039,8 @@ var sectionId = 'dynsection-1'; Node30->Node27 - - + + @@ -1030,8 +1048,8 @@ var sectionId = 'dynsection-1'; Node30->Node29 - - + + @@ -1039,8 +1057,8 @@ var sectionId = 'dynsection-1'; Node30->Node31 - - + + @@ -1048,8 +1066,8 @@ var sectionId = 'dynsection-1'; Node30->Node32 - - + + @@ -1057,8 +1075,8 @@ var sectionId = 'dynsection-1'; Node34 - -Machine.hpp + +Machine.hpp @@ -1066,8 +1084,8 @@ var sectionId = 'dynsection-1'; Node30->Node34 - - + + @@ -1075,8 +1093,8 @@ var sectionId = 'dynsection-1'; Node37 - -secrets.hpp + +secrets.hpp @@ -1084,8 +1102,8 @@ var sectionId = 'dynsection-1'; Node30->Node37 - - + + @@ -1102,8 +1120,8 @@ var sectionId = 'dynsection-1'; Node30->Node39 - - + + @@ -1120,8 +1138,8 @@ var sectionId = 'dynsection-1'; Node30->Node41 - - + + @@ -1129,8 +1147,8 @@ var sectionId = 'dynsection-1'; Node43 - -WhiteList.hpp + +WhiteList.hpp @@ -1138,8 +1156,8 @@ var sectionId = 'dynsection-1'; Node30->Node43 - - + + @@ -1147,8 +1165,8 @@ var sectionId = 'dynsection-1'; Node32->Node29 - - + + @@ -1156,8 +1174,8 @@ var sectionId = 'dynsection-1'; Node32->Node31 - - + + @@ -1165,8 +1183,8 @@ var sectionId = 'dynsection-1'; Node33 - -BufferedMsg.hpp + +BufferedMsg.hpp @@ -1174,8 +1192,8 @@ var sectionId = 'dynsection-1'; Node32->Node33 - - + + @@ -1183,8 +1201,8 @@ var sectionId = 'dynsection-1'; Node33->Node4 - - + + @@ -1192,8 +1210,8 @@ var sectionId = 'dynsection-1'; Node33->Node23 - - + + @@ -1201,8 +1219,8 @@ var sectionId = 'dynsection-1'; Node33->Node28 - - + + @@ -1210,8 +1228,8 @@ var sectionId = 'dynsection-1'; Node33->Node29 - - + + @@ -1219,8 +1237,8 @@ var sectionId = 'dynsection-1'; Node34->Node3 - - + + @@ -1228,8 +1246,8 @@ var sectionId = 'dynsection-1'; Node34->Node9 - - + + @@ -1237,8 +1255,8 @@ var sectionId = 'dynsection-1'; Node34->Node15 - - + + @@ -1246,8 +1264,8 @@ var sectionId = 'dynsection-1'; Node34->Node17 - - + + @@ -1255,8 +1273,8 @@ var sectionId = 'dynsection-1'; Node34->Node32 - - + + @@ -1264,8 +1282,8 @@ var sectionId = 'dynsection-1'; Node35 - -BoardInfo.hpp + +BoardInfo.hpp @@ -1273,8 +1291,8 @@ var sectionId = 'dynsection-1'; Node34->Node35 - - + + @@ -1282,8 +1300,8 @@ var sectionId = 'dynsection-1'; Node36 - -LCDWrapper.hpp + +LCDWrapper.hpp @@ -1291,8 +1309,8 @@ var sectionId = 'dynsection-1'; Node34->Node36 - - + + @@ -1300,8 +1318,8 @@ var sectionId = 'dynsection-1'; Node34->Node37 - - + + @@ -1309,8 +1327,8 @@ var sectionId = 'dynsection-1'; Node35->Node36 - - + + @@ -1318,8 +1336,8 @@ var sectionId = 'dynsection-1'; Node36->Node7 - - + + @@ -1327,8 +1345,8 @@ var sectionId = 'dynsection-1'; Node36->Node15 - - + + @@ -1336,8 +1354,8 @@ var sectionId = 'dynsection-1'; Node36->Node17 - - + + @@ -1345,8 +1363,8 @@ var sectionId = 'dynsection-1'; Node36->Node21 - - + + @@ -1354,8 +1372,8 @@ var sectionId = 'dynsection-1'; Node36->Node22 - - + + @@ -1363,8 +1381,8 @@ var sectionId = 'dynsection-1'; Node37->Node3 - - + + @@ -1372,8 +1390,8 @@ var sectionId = 'dynsection-1'; Node37->Node6 - - + + @@ -1381,8 +1399,8 @@ var sectionId = 'dynsection-1'; Node37->Node9 - - + + @@ -1390,8 +1408,8 @@ var sectionId = 'dynsection-1'; Node37->Node10 - - + + @@ -1399,8 +1417,8 @@ var sectionId = 'dynsection-1'; Node37->Node11 - - + + @@ -1408,8 +1426,8 @@ var sectionId = 'dynsection-1'; Node37->Node15 - - + + @@ -1417,8 +1435,8 @@ var sectionId = 'dynsection-1'; Node37->Node17 - - + + @@ -1426,8 +1444,8 @@ var sectionId = 'dynsection-1'; Node37->Node27 - - + + @@ -1444,8 +1462,8 @@ var sectionId = 'dynsection-1'; Node37->Node38 - - + + @@ -1570,8 +1588,8 @@ var sectionId = 'dynsection-1'; Node43->Node27 - - + + diff --git a/_logging_8hpp__dep__incl_org.svg b/_logging_8hpp__dep__incl_org.svg index 87b31c20..28b5b409 100644 --- a/_logging_8hpp__dep__incl_org.svg +++ b/_logging_8hpp__dep__incl_org.svg @@ -4,16 +4,16 @@ - + Logging.hpp Node1 - -Logging.hpp + +Logging.hpp @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -48,8 +48,8 @@ Node1->Node3 - - + + @@ -57,8 +57,8 @@ Node4 - -BufferedMsg.cpp + +BufferedMsg.cpp @@ -66,8 +66,8 @@ Node1->Node4 - - + + @@ -75,8 +75,8 @@ Node5 - -Espressif.cpp + +Espressif.cpp @@ -84,8 +84,8 @@ Node1->Node5 - - + + @@ -102,8 +102,8 @@ Node1->Node6 - - + + @@ -120,8 +120,8 @@ Node1->Node7 - - + + @@ -129,8 +129,8 @@ Node8 - -Led.cpp + +Led.cpp @@ -138,8 +138,8 @@ Node1->Node8 - - + + @@ -156,8 +156,8 @@ Node1->Node9 - - + + @@ -174,8 +174,8 @@ Node1->Node10 - - + + @@ -192,8 +192,8 @@ Node1->Node11 - - + + @@ -210,8 +210,8 @@ Node1->Node12 - - + + @@ -219,8 +219,8 @@ Node13 - -card.hpp + +card.hpp @@ -228,8 +228,8 @@ Node1->Node13 - - + + @@ -246,17 +246,17 @@ Node1->Node18 - - + + Node44 - - -test_tasks.cpp + + +test_chrono.cpp @@ -264,8 +264,26 @@ Node1->Node44 - - + + + + + + + +Node45 + + +test_tasks.cpp + + + + + +Node1->Node45 + + + @@ -273,8 +291,8 @@ Node14 - -BaseRfidWrapper.hpp + +BaseRfidWrapper.hpp @@ -282,8 +300,8 @@ Node13->Node14 - - + + @@ -300,8 +318,8 @@ Node13->Node15 - - + + @@ -318,8 +336,8 @@ Node13->Node19 - - + + @@ -336,8 +354,8 @@ Node13->Node20 - - + + @@ -354,8 +372,8 @@ Node13->Node25 - - + + @@ -363,8 +381,8 @@ Node26 - -CachedCards.hpp + +CachedCards.hpp @@ -372,8 +390,8 @@ Node13->Node26 - - + + @@ -381,8 +399,8 @@ Node30 - -FabUser.hpp + +FabUser.hpp @@ -390,8 +408,8 @@ Node13->Node30 - - + + @@ -399,8 +417,8 @@ Node31 - -MQTTtypes.cpp + +MQTTtypes.cpp @@ -408,8 +426,8 @@ Node13->Node31 - - + + @@ -417,8 +435,8 @@ Node32 - -MQTTtypes.hpp + +MQTTtypes.hpp @@ -426,8 +444,8 @@ Node13->Node32 - - + + @@ -435,8 +453,8 @@ Node14->Node3 - - + + @@ -444,8 +462,8 @@ Node14->Node15 - - + + @@ -462,8 +480,8 @@ Node14->Node24 - - + + @@ -471,8 +489,8 @@ Node14->Node25 - - + + @@ -714,8 +732,8 @@ Node26->Node27 - - + + @@ -723,8 +741,8 @@ Node28 - -SavedConfig.hpp + +SavedConfig.hpp @@ -732,8 +750,8 @@ Node26->Node28 - - + + @@ -786,8 +804,8 @@ Node28->Node3 - - + + @@ -795,8 +813,8 @@ Node28->Node6 - - + + @@ -804,8 +822,8 @@ Node28->Node11 - - + + @@ -813,8 +831,8 @@ Node28->Node17 - - + + @@ -822,8 +840,8 @@ Node28->Node18 - - + + @@ -831,8 +849,8 @@ Node28->Node21 - - + + @@ -840,8 +858,8 @@ Node28->Node22 - - + + @@ -849,8 +867,8 @@ Node28->Node23 - - + + @@ -867,8 +885,8 @@ Node28->Node29 - - + + @@ -957,8 +975,8 @@ Node30->Node15 - - + + @@ -966,8 +984,8 @@ Node30->Node26 - - + + @@ -975,8 +993,8 @@ Node30->Node27 - - + + @@ -984,8 +1002,8 @@ Node30->Node29 - - + + @@ -993,8 +1011,8 @@ Node30->Node31 - - + + @@ -1002,8 +1020,8 @@ Node30->Node32 - - + + @@ -1011,8 +1029,8 @@ Node34 - -Machine.hpp + +Machine.hpp @@ -1020,8 +1038,8 @@ Node30->Node34 - - + + @@ -1029,8 +1047,8 @@ Node37 - -secrets.hpp + +secrets.hpp @@ -1038,8 +1056,8 @@ Node30->Node37 - - + + @@ -1056,8 +1074,8 @@ Node30->Node39 - - + + @@ -1074,8 +1092,8 @@ Node30->Node41 - - + + @@ -1083,8 +1101,8 @@ Node43 - -WhiteList.hpp + +WhiteList.hpp @@ -1092,8 +1110,8 @@ Node30->Node43 - - + + @@ -1101,8 +1119,8 @@ Node32->Node29 - - + + @@ -1110,8 +1128,8 @@ Node32->Node31 - - + + @@ -1119,8 +1137,8 @@ Node33 - -BufferedMsg.hpp + +BufferedMsg.hpp @@ -1128,8 +1146,8 @@ Node32->Node33 - - + + @@ -1137,8 +1155,8 @@ Node33->Node4 - - + + @@ -1146,8 +1164,8 @@ Node33->Node23 - - + + @@ -1155,8 +1173,8 @@ Node33->Node28 - - + + @@ -1164,8 +1182,8 @@ Node33->Node29 - - + + @@ -1173,8 +1191,8 @@ Node34->Node3 - - + + @@ -1182,8 +1200,8 @@ Node34->Node9 - - + + @@ -1191,8 +1209,8 @@ Node34->Node15 - - + + @@ -1200,8 +1218,8 @@ Node34->Node17 - - + + @@ -1209,8 +1227,8 @@ Node34->Node32 - - + + @@ -1218,8 +1236,8 @@ Node35 - -BoardInfo.hpp + +BoardInfo.hpp @@ -1227,8 +1245,8 @@ Node34->Node35 - - + + @@ -1236,8 +1254,8 @@ Node36 - -LCDWrapper.hpp + +LCDWrapper.hpp @@ -1245,8 +1263,8 @@ Node34->Node36 - - + + @@ -1254,8 +1272,8 @@ Node34->Node37 - - + + @@ -1263,8 +1281,8 @@ Node35->Node36 - - + + @@ -1272,8 +1290,8 @@ Node36->Node7 - - + + @@ -1281,8 +1299,8 @@ Node36->Node15 - - + + @@ -1290,8 +1308,8 @@ Node36->Node17 - - + + @@ -1299,8 +1317,8 @@ Node36->Node21 - - + + @@ -1308,8 +1326,8 @@ Node36->Node22 - - + + @@ -1317,8 +1335,8 @@ Node37->Node3 - - + + @@ -1326,8 +1344,8 @@ Node37->Node6 - - + + @@ -1335,8 +1353,8 @@ Node37->Node9 - - + + @@ -1344,8 +1362,8 @@ Node37->Node10 - - + + @@ -1353,8 +1371,8 @@ Node37->Node11 - - + + @@ -1362,8 +1380,8 @@ Node37->Node15 - - + + @@ -1371,8 +1389,8 @@ Node37->Node17 - - + + @@ -1380,8 +1398,8 @@ Node37->Node27 - - + + @@ -1398,8 +1416,8 @@ Node37->Node38 - - + + @@ -1524,8 +1542,8 @@ Node43->Node27 - - + + diff --git a/_logging_8hpp_source.xhtml b/_logging_8hpp_source.xhtml index 7dd8247f..974cb998 100644 --- a/_logging_8hpp_source.xhtml +++ b/_logging_8hpp_source.xhtml @@ -86,16 +86,21 @@ $(document).ready(function() { init_codefold(0); }); Go to the documentation of this file.
1#ifndef LOGGING_HPP_
2#define LOGGING_HPP_
3
-
4#include "esp_log.h"
-
5
-
6[[maybe_unused]] static const char *const TAG = "FAB-O-MATIC"; // Required for ESP32 Logging
+
4#ifndef LOG_LOCAL_LEVEL
+
5#define LOG_LOCAL_LEVEL 5
+
6#endif
7
-
8#endif // LOGGING_HPP_
-
static const char *const TAG
Definition Logging.hpp:6
+
8#undef TAG
+
9[[maybe_unused]] static const char *const TAG = "FAB-O-MATIC"; // Required for ESP32 Logging
+
10
+
11#include "esp_log.h"
+
12
+
13#endif // LOGGING_HPP_
+
static const char *const TAG
Definition Logging.hpp:9
diff --git a/_m_q_t_ttypes_8cpp.xhtml b/_m_q_t_ttypes_8cpp.xhtml index 06f712aa..a49de84b 100644 --- a/_m_q_t_ttypes_8cpp.xhtml +++ b/_m_q_t_ttypes_8cpp.xhtml @@ -132,7 +132,7 @@ Macros diff --git a/_m_q_t_ttypes_8cpp__incl.map b/_m_q_t_ttypes_8cpp__incl.map index a792e517..ac830075 100644 --- a/_m_q_t_ttypes_8cpp__incl.map +++ b/_m_q_t_ttypes_8cpp__incl.map @@ -1,81 +1,85 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_m_q_t_ttypes_8cpp__incl.md5 b/_m_q_t_ttypes_8cpp__incl.md5 index 84560d31..e1f2b688 100644 --- a/_m_q_t_ttypes_8cpp__incl.md5 +++ b/_m_q_t_ttypes_8cpp__incl.md5 @@ -1 +1 @@ -7e9b13eb75d3413829c9c002c92fc541 \ No newline at end of file +a75c93e0dd249eebdfcfe80a6243dca7 \ No newline at end of file diff --git a/_m_q_t_ttypes_8cpp__incl.svg b/_m_q_t_ttypes_8cpp__incl.svg index a12cb13d..b4916427 100644 --- a/_m_q_t_ttypes_8cpp__incl.svg +++ b/_m_q_t_ttypes_8cpp__incl.svg @@ -46,7 +46,7 @@
@@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -MQTTtypes.cpp + +MQTTtypes.cpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -memory + +memory @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,8 +85,8 @@ var sectionId = 'dynsection-0'; Node3 - -sstream + +sstream @@ -94,8 +94,8 @@ var sectionId = 'dynsection-0'; Node1->Node3 - - + + @@ -103,8 +103,8 @@ var sectionId = 'dynsection-0'; Node4 - -string + +string @@ -112,8 +112,8 @@ var sectionId = 'dynsection-0'; Node1->Node4 - - + + @@ -121,8 +121,8 @@ var sectionId = 'dynsection-0'; Node5 - -string_view + +string_view @@ -130,8 +130,8 @@ var sectionId = 'dynsection-0'; Node1->Node5 - - + + @@ -139,8 +139,8 @@ var sectionId = 'dynsection-0'; Node6 - -WiFi.h + +WiFi.h @@ -148,8 +148,8 @@ var sectionId = 'dynsection-0'; Node1->Node6 - - + + @@ -157,8 +157,8 @@ var sectionId = 'dynsection-0'; Node7 - -Espressif.hpp + +Espressif.hpp @@ -166,8 +166,8 @@ var sectionId = 'dynsection-0'; Node1->Node7 - - + + @@ -175,8 +175,8 @@ var sectionId = 'dynsection-0'; Node9 - -MQTTtypes.hpp + +MQTTtypes.hpp @@ -184,8 +184,8 @@ var sectionId = 'dynsection-0'; Node1->Node9 - - + + @@ -193,17 +193,17 @@ var sectionId = 'dynsection-0'; Node11 - -FabUser.hpp + +FabUser.hpp - + Node1->Node11 - - - + + + @@ -211,35 +211,35 @@ var sectionId = 'dynsection-0'; Node13 - -card.hpp + +card.hpp - + Node1->Node13 - - - + + + - - -Node26 - - -ArduinoJson.hpp + + +Node28 + + +ArduinoJson.hpp - - -Node1->Node26 - - - + + +Node1->Node28 + + + @@ -247,8 +247,8 @@ var sectionId = 'dynsection-0'; Node7->Node5 - - + + @@ -256,8 +256,8 @@ var sectionId = 'dynsection-0'; Node8 - -chrono + +chrono @@ -265,35 +265,35 @@ var sectionId = 'dynsection-0'; Node7->Node8 - - + + - + Node9->Node2 - - - + + + - + Node9->Node4 - - - + + + - + Node9->Node5 - - - + + + @@ -301,8 +301,8 @@ var sectionId = 'dynsection-0'; Node10 - -ArduinoJson.h + +ArduinoJson.h @@ -310,8 +310,8 @@ var sectionId = 'dynsection-0'; Node9->Node10 - - + + @@ -319,53 +319,53 @@ var sectionId = 'dynsection-0'; Node9->Node11 - - + + - + Node9->Node13 - - - + + + - - -Node21 - - -Machine.hpp + + +Node22 + + +Machine.hpp - - -Node9->Node21 - - - + + +Node9->Node22 + + + - + Node11->Node3 - - - + + + - + Node11->Node4 - - - + + + @@ -373,8 +373,8 @@ var sectionId = 'dynsection-0'; Node12 - -Arduino.h + +Arduino.h @@ -382,8 +382,8 @@ var sectionId = 'dynsection-0'; Node11->Node12 - - + + @@ -391,8 +391,8 @@ var sectionId = 'dynsection-0'; Node11->Node13 - - + + @@ -400,17 +400,17 @@ var sectionId = 'dynsection-0'; Node15 - -conf.hpp + +conf.hpp - + Node11->Node15 - - - + + + @@ -418,35 +418,35 @@ var sectionId = 'dynsection-0'; Node16 - -cstdint + +cstdint - + Node11->Node16 - - - + + + - - -Node20 - - -array + + +Node21 + + +array - - -Node11->Node20 - - - + + +Node11->Node21 + + + @@ -454,8 +454,8 @@ var sectionId = 'dynsection-0'; Node13->Node3 - - + + @@ -463,8 +463,8 @@ var sectionId = 'dynsection-0'; Node13->Node12 - - + + @@ -472,8 +472,8 @@ var sectionId = 'dynsection-0'; Node14 - -iomanip + +iomanip @@ -481,8 +481,8 @@ var sectionId = 'dynsection-0'; Node13->Node14 - - + + @@ -490,8 +490,8 @@ var sectionId = 'dynsection-0'; Node13->Node15 - - + + @@ -499,8 +499,8 @@ var sectionId = 'dynsection-0'; Node18 - -Logging.hpp + +Logging.hpp @@ -508,8 +508,26 @@ var sectionId = 'dynsection-0'; Node13->Node18 - - + + + + + + + +Node20 + + +esp_mac.h + + + + + +Node13->Node20 + + + @@ -517,8 +535,8 @@ var sectionId = 'dynsection-0'; Node15->Node4 - - + + @@ -526,8 +544,8 @@ var sectionId = 'dynsection-0'; Node15->Node8 - - + + @@ -535,8 +553,8 @@ var sectionId = 'dynsection-0'; Node15->Node16 - - + + @@ -544,8 +562,8 @@ var sectionId = 'dynsection-0'; Node17 - -MachineID.hpp + +MachineID.hpp @@ -553,8 +571,8 @@ var sectionId = 'dynsection-0'; Node15->Node17 - - + + @@ -562,8 +580,8 @@ var sectionId = 'dynsection-0'; Node17->Node16 - - + + @@ -571,8 +589,8 @@ var sectionId = 'dynsection-0'; Node19 - -esp_log.h + +esp_log.h @@ -580,188 +598,206 @@ var sectionId = 'dynsection-0'; Node18->Node19 - - - - - - - -Node21->Node8 - - - + + - - -Node21->Node11 - - - + + +Node22->Node8 + + + - - -Node21->Node16 - - - + + +Node22->Node11 + + + - - -Node21->Node20 - - - + + +Node22->Node16 + + + - - -Node22 - - -MachineConfig.hpp + + +Node22->Node21 + + + - - -Node21->Node22 - - - + + +Node23 + + +MachineConfig.hpp - - -Node22->Node4 - - - + + +Node22->Node23 + + + - - -Node22->Node8 - - - + + +Node27 + + +optional - - -Node22->Node15 - - - + + +Node22->Node27 + + + - - -Node22->Node16 - - - + + +Node23->Node4 + + + - - -Node22->Node17 - - - + + +Node23->Node8 + + + - - -Node23 - - -pins.hpp + + +Node23->Node15 + + + - - -Node22->Node23 - - - + + +Node23->Node16 + + + - - -Node23->Node16 - - - + + +Node23->Node17 + + + Node24 - - -Adafruit_NeoPixel.h + + +pins.hpp - + Node23->Node24 - - - + + + + + + + + +Node24->Node16 + + + Node25 - - -PinsConfig.hpp + + +Adafruit_NeoPixel.h + + + + + +Node24->Node25 + + + + + + + + +Node26 + + +PinsConfig.hpp - - -Node23->Node25 - - - + + +Node24->Node26 + + + - - -Node25->Node16 - - - + + +Node26->Node16 + + + - - -Node25->Node20 - - - + + +Node26->Node21 + + + diff --git a/_m_q_t_ttypes_8cpp__incl_org.svg b/_m_q_t_ttypes_8cpp__incl_org.svg index 7c0271c4..b86e8119 100644 --- a/_m_q_t_ttypes_8cpp__incl_org.svg +++ b/_m_q_t_ttypes_8cpp__incl_org.svg @@ -4,16 +4,16 @@ - + MQTTtypes.cpp Node1 - -MQTTtypes.cpp + +MQTTtypes.cpp @@ -21,8 +21,8 @@ Node2 - -memory + +memory @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node3 - -sstream + +sstream @@ -48,8 +48,8 @@ Node1->Node3 - - + + @@ -57,8 +57,8 @@ Node4 - -string + +string @@ -66,8 +66,8 @@ Node1->Node4 - - + + @@ -75,8 +75,8 @@ Node5 - -string_view + +string_view @@ -84,8 +84,8 @@ Node1->Node5 - - + + @@ -93,8 +93,8 @@ Node6 - -WiFi.h + +WiFi.h @@ -102,8 +102,8 @@ Node1->Node6 - - + + @@ -111,8 +111,8 @@ Node7 - -Espressif.hpp + +Espressif.hpp @@ -120,8 +120,8 @@ Node1->Node7 - - + + @@ -129,8 +129,8 @@ Node9 - -MQTTtypes.hpp + +MQTTtypes.hpp @@ -138,8 +138,8 @@ Node1->Node9 - - + + @@ -147,17 +147,17 @@ Node11 - -FabUser.hpp + +FabUser.hpp - + Node1->Node11 - - - + + + @@ -165,35 +165,35 @@ Node13 - -card.hpp + +card.hpp - + Node1->Node13 - - - + + + - - -Node26 - - -ArduinoJson.hpp + + +Node28 + + +ArduinoJson.hpp - - -Node1->Node26 - - - + + +Node1->Node28 + + + @@ -201,8 +201,8 @@ Node7->Node5 - - + + @@ -210,8 +210,8 @@ Node8 - -chrono + +chrono @@ -219,35 +219,35 @@ Node7->Node8 - - + + - + Node9->Node2 - - - + + + - + Node9->Node4 - - - + + + - + Node9->Node5 - - - + + + @@ -255,8 +255,8 @@ Node10 - -ArduinoJson.h + +ArduinoJson.h @@ -264,8 +264,8 @@ Node9->Node10 - - + + @@ -273,53 +273,53 @@ Node9->Node11 - - + + - + Node9->Node13 - - - + + + - - -Node21 - - -Machine.hpp + + +Node22 + + +Machine.hpp - - -Node9->Node21 - - - + + +Node9->Node22 + + + - + Node11->Node3 - - - + + + - + Node11->Node4 - - - + + + @@ -327,8 +327,8 @@ Node12 - -Arduino.h + +Arduino.h @@ -336,8 +336,8 @@ Node11->Node12 - - + + @@ -345,8 +345,8 @@ Node11->Node13 - - + + @@ -354,17 +354,17 @@ Node15 - -conf.hpp + +conf.hpp - + Node11->Node15 - - - + + + @@ -372,35 +372,35 @@ Node16 - -cstdint + +cstdint - + Node11->Node16 - - - + + + - - -Node20 - - -array + + +Node21 + + +array - - -Node11->Node20 - - - + + +Node11->Node21 + + + @@ -408,8 +408,8 @@ Node13->Node3 - - + + @@ -417,8 +417,8 @@ Node13->Node12 - - + + @@ -426,8 +426,8 @@ Node14 - -iomanip + +iomanip @@ -435,8 +435,8 @@ Node13->Node14 - - + + @@ -444,8 +444,8 @@ Node13->Node15 - - + + @@ -453,8 +453,8 @@ Node18 - -Logging.hpp + +Logging.hpp @@ -462,8 +462,26 @@ Node13->Node18 - - + + + + + + + +Node20 + + +esp_mac.h + + + + + +Node13->Node20 + + + @@ -471,8 +489,8 @@ Node15->Node4 - - + + @@ -480,8 +498,8 @@ Node15->Node8 - - + + @@ -489,8 +507,8 @@ Node15->Node16 - - + + @@ -498,8 +516,8 @@ Node17 - -MachineID.hpp + +MachineID.hpp @@ -507,8 +525,8 @@ Node15->Node17 - - + + @@ -516,8 +534,8 @@ Node17->Node16 - - + + @@ -525,8 +543,8 @@ Node19 - -esp_log.h + +esp_log.h @@ -534,188 +552,206 @@ Node18->Node19 - - - - - - - -Node21->Node8 - - - + + - - -Node21->Node11 - - - + + +Node22->Node8 + + + - - -Node21->Node16 - - - + + +Node22->Node11 + + + - - -Node21->Node20 - - - + + +Node22->Node16 + + + - - -Node22 - - -MachineConfig.hpp + + +Node22->Node21 + + + - - -Node21->Node22 - - - + + +Node23 + + +MachineConfig.hpp - - -Node22->Node4 - - - + + +Node22->Node23 + + + - - -Node22->Node8 - - - + + +Node27 + + +optional - - -Node22->Node15 - - - + + +Node22->Node27 + + + - - -Node22->Node16 - - - + + +Node23->Node4 + + + - - -Node22->Node17 - - - + + +Node23->Node8 + + + - - -Node23 - - -pins.hpp + + +Node23->Node15 + + + - - -Node22->Node23 - - - + + +Node23->Node16 + + + - - -Node23->Node16 - - - + + +Node23->Node17 + + + Node24 - - -Adafruit_NeoPixel.h + + +pins.hpp - + Node23->Node24 - - - + + + + + + + + +Node24->Node16 + + + Node25 - - -PinsConfig.hpp + + +Adafruit_NeoPixel.h + + + + + +Node24->Node25 + + + + + + + + +Node26 + + +PinsConfig.hpp - - -Node23->Node25 - - - + + +Node24->Node26 + + + - - -Node25->Node16 - - - + + +Node26->Node16 + + + - - -Node25->Node20 - - - + + +Node26->Node21 + + + diff --git a/_m_q_t_ttypes_8cpp_source.xhtml b/_m_q_t_ttypes_8cpp_source.xhtml index 6e694eba..b02890cf 100644 --- a/_m_q_t_ttypes_8cpp_source.xhtml +++ b/_m_q_t_ttypes_8cpp_source.xhtml @@ -134,7 +134,7 @@ $(document).ready(function() { init_codefold(0); });
43
44 ss << "{\"action\":\"alive\","
45 << "\"version\":\"" << FABOMATIC_BUILD << "," << GIT_VERSION << "\","
-
46 << "\"ip\":\"" << WiFi.localIP().toString() << "\","
+
46 << "\"ip\":\"" << WiFi.localIP().toString().c_str() << "\","
47 << "\"serial\":\"" << serial << "\","
48 << "\"heap\":\"" << esp32::getFreeHeap() << "\""
49 << "}";
@@ -290,7 +290,7 @@ $(document).ready(function() { init_codefold(0); });
Contains all the types for MQTT messages between board and backend.
Definition MQTTtypes.cpp:19
UserResult
Result code for user authentication result.
-
auto uid_str(const card::uid_t uid) -> const std::string
Returns a string representation of the UID.
Definition card.hpp:22
+
auto uid_str(const card::uid_t uid) -> const std::string
Returns a string representation of the UID.
Definition card.hpp:23
static constexpr auto DEFAULT_GRACE_PERIOD
Idle time before poweroff. If 0min, machine will stay on.
Definition conf.hpp:62
auto getFreeHeap() -> uint32_t
Definition Espressif.cpp:88
auto esp_serial() -> const std::string_view
Returns the ESP32 serial number as a string.
Definition Espressif.cpp:67
@@ -298,7 +298,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_m_q_t_ttypes_8hpp.xhtml b/_m_q_t_ttypes_8hpp.xhtml index 51f8c5a4..bfecdec3 100644 --- a/_m_q_t_ttypes_8hpp.xhtml +++ b/_m_q_t_ttypes_8hpp.xhtml @@ -162,7 +162,7 @@ Enumerations diff --git a/_m_q_t_ttypes_8hpp__incl.map b/_m_q_t_ttypes_8hpp__incl.map index 1ed6d09e..34bb8d4c 100644 --- a/_m_q_t_ttypes_8hpp__incl.map +++ b/_m_q_t_ttypes_8hpp__incl.map @@ -1,65 +1,69 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/_m_q_t_ttypes_8hpp__incl.md5 b/_m_q_t_ttypes_8hpp__incl.md5 index 981e39ff..cab6f680 100644 --- a/_m_q_t_ttypes_8hpp__incl.md5 +++ b/_m_q_t_ttypes_8hpp__incl.md5 @@ -1 +1 @@ -39c63dbaa13e0ae9ad20368a1bbb3640 \ No newline at end of file +d436ef1c40154d36a08f8b3616be27c3 \ No newline at end of file diff --git a/_m_q_t_ttypes_8hpp__incl.svg b/_m_q_t_ttypes_8hpp__incl.svg index e2415efe..e5fff347 100644 --- a/_m_q_t_ttypes_8hpp__incl.svg +++ b/_m_q_t_ttypes_8hpp__incl.svg @@ -46,7 +46,7 @@
@@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -MQTTtypes.hpp + +MQTTtypes.hpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -ArduinoJson.h + +ArduinoJson.h @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,8 +85,8 @@ var sectionId = 'dynsection-0'; Node3 - -FabUser.hpp + +FabUser.hpp @@ -94,8 +94,8 @@ var sectionId = 'dynsection-0'; Node1->Node3 - - + + @@ -103,17 +103,17 @@ var sectionId = 'dynsection-0'; Node5 - -card.hpp + +card.hpp - + Node1->Node5 - - - + + + @@ -121,71 +121,71 @@ var sectionId = 'dynsection-0'; Node10 - -string + +string - + Node1->Node10 - - - + + + - - -Node16 - - -Machine.hpp + + +Node17 + + +Machine.hpp - - -Node1->Node16 - - - + + +Node1->Node17 + + + - - -Node21 - - -memory + + +Node23 + + +memory - - -Node1->Node21 - - - + + +Node1->Node23 + + + - - -Node22 - - -string_view + + +Node24 + + +string_view - - -Node1->Node22 - - - + + +Node1->Node24 + + + @@ -193,8 +193,8 @@ var sectionId = 'dynsection-0'; Node4 - -Arduino.h + +Arduino.h @@ -202,8 +202,8 @@ var sectionId = 'dynsection-0'; Node3->Node4 - - + + @@ -211,8 +211,8 @@ var sectionId = 'dynsection-0'; Node3->Node5 - - + + @@ -220,17 +220,17 @@ var sectionId = 'dynsection-0'; Node6 - -sstream + +sstream - + Node3->Node6 - - - + + + @@ -238,17 +238,17 @@ var sectionId = 'dynsection-0'; Node8 - -conf.hpp + +conf.hpp - + Node3->Node8 - - - + + + @@ -256,44 +256,44 @@ var sectionId = 'dynsection-0'; Node9 - -cstdint + +cstdint - + Node3->Node9 - - - + + + - + Node3->Node10 - - - + + + - - -Node15 - - -array + + +Node16 + + +array - - -Node3->Node15 - - - + + +Node3->Node16 + + + @@ -301,8 +301,8 @@ var sectionId = 'dynsection-0'; Node5->Node4 - - + + @@ -310,8 +310,8 @@ var sectionId = 'dynsection-0'; Node5->Node6 - - + + @@ -328,8 +328,8 @@ var sectionId = 'dynsection-0'; Node5->Node7 - - + + @@ -337,8 +337,8 @@ var sectionId = 'dynsection-0'; Node5->Node8 - - + + @@ -355,8 +355,26 @@ var sectionId = 'dynsection-0'; Node5->Node13 - - + + + + + + + +Node15 + + +esp_mac.h + + + + + +Node5->Node15 + + + @@ -364,8 +382,8 @@ var sectionId = 'dynsection-0'; Node8->Node9 - - + + @@ -373,8 +391,8 @@ var sectionId = 'dynsection-0'; Node8->Node10 - - + + @@ -382,8 +400,8 @@ var sectionId = 'dynsection-0'; Node11 - -chrono + +chrono @@ -391,8 +409,8 @@ var sectionId = 'dynsection-0'; Node8->Node11 - - + + @@ -400,8 +418,8 @@ var sectionId = 'dynsection-0'; Node12 - -MachineID.hpp + +MachineID.hpp @@ -409,8 +427,8 @@ var sectionId = 'dynsection-0'; Node8->Node12 - - + + @@ -418,8 +436,8 @@ var sectionId = 'dynsection-0'; Node12->Node9 - - + + @@ -441,183 +459,201 @@ var sectionId = 'dynsection-0'; - - -Node16->Node3 - - - - - - - - -Node16->Node9 - - - + + +Node17->Node3 + + + - - -Node16->Node11 - - - + + +Node17->Node9 + + + - - -Node16->Node15 - - - + + +Node17->Node11 + + + - - -Node17 - - -MachineConfig.hpp + + +Node17->Node16 + + + - - -Node16->Node17 - - - + + +Node18 + + +MachineConfig.hpp - - -Node17->Node8 - - - + + +Node17->Node18 + + + - - -Node17->Node9 - - - + + +Node22 + + +optional - - -Node17->Node10 - - - + + +Node17->Node22 + + + - - -Node17->Node11 - - - + + +Node18->Node8 + + + - - -Node17->Node12 - - - + + +Node18->Node9 + + + - - -Node18 - - -pins.hpp + + +Node18->Node10 + + + - - -Node17->Node18 - - - + + +Node18->Node11 + + + - - -Node18->Node9 - - - + + +Node18->Node12 + + + Node19 - - -Adafruit_NeoPixel.h + + +pins.hpp - + Node18->Node19 - - - + + + + + + + + +Node19->Node9 + + + Node20 - - -PinsConfig.hpp + + +Adafruit_NeoPixel.h + + + + + +Node19->Node20 + + + + + + + + +Node21 + + +PinsConfig.hpp - - -Node18->Node20 - - - + + +Node19->Node21 + + + - - -Node20->Node9 - - - + + +Node21->Node9 + + + - - -Node20->Node15 - - - + + +Node21->Node16 + + + diff --git a/_m_q_t_ttypes_8hpp__incl_org.svg b/_m_q_t_ttypes_8hpp__incl_org.svg index 72194da1..ab195965 100644 --- a/_m_q_t_ttypes_8hpp__incl_org.svg +++ b/_m_q_t_ttypes_8hpp__incl_org.svg @@ -4,16 +4,16 @@ - + MQTTtypes.hpp Node1 - -MQTTtypes.hpp + +MQTTtypes.hpp @@ -21,8 +21,8 @@ Node2 - -ArduinoJson.h + +ArduinoJson.h @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node3 - -FabUser.hpp + +FabUser.hpp @@ -48,8 +48,8 @@ Node1->Node3 - - + + @@ -57,17 +57,17 @@ Node5 - -card.hpp + +card.hpp - + Node1->Node5 - - - + + + @@ -75,71 +75,71 @@ Node10 - -string + +string - + Node1->Node10 - - - + + + - - -Node16 - - -Machine.hpp + + +Node17 + + +Machine.hpp - - -Node1->Node16 - - - + + +Node1->Node17 + + + - - -Node21 - - -memory + + +Node23 + + +memory - - -Node1->Node21 - - - + + +Node1->Node23 + + + - - -Node22 - - -string_view + + +Node24 + + +string_view - - -Node1->Node22 - - - + + +Node1->Node24 + + + @@ -147,8 +147,8 @@ Node4 - -Arduino.h + +Arduino.h @@ -156,8 +156,8 @@ Node3->Node4 - - + + @@ -165,8 +165,8 @@ Node3->Node5 - - + + @@ -174,17 +174,17 @@ Node6 - -sstream + +sstream - + Node3->Node6 - - - + + + @@ -192,17 +192,17 @@ Node8 - -conf.hpp + +conf.hpp - + Node3->Node8 - - - + + + @@ -210,44 +210,44 @@ Node9 - -cstdint + +cstdint - + Node3->Node9 - - - + + + - + Node3->Node10 - - - + + + - - -Node15 - - -array + + +Node16 + + +array - - -Node3->Node15 - - - + + +Node3->Node16 + + + @@ -255,8 +255,8 @@ Node5->Node4 - - + + @@ -264,8 +264,8 @@ Node5->Node6 - - + + @@ -282,8 +282,8 @@ Node5->Node7 - - + + @@ -291,8 +291,8 @@ Node5->Node8 - - + + @@ -309,8 +309,26 @@ Node5->Node13 - - + + + + + + + +Node15 + + +esp_mac.h + + + + + +Node5->Node15 + + + @@ -318,8 +336,8 @@ Node8->Node9 - - + + @@ -327,8 +345,8 @@ Node8->Node10 - - + + @@ -336,8 +354,8 @@ Node11 - -chrono + +chrono @@ -345,8 +363,8 @@ Node8->Node11 - - + + @@ -354,8 +372,8 @@ Node12 - -MachineID.hpp + +MachineID.hpp @@ -363,8 +381,8 @@ Node8->Node12 - - + + @@ -372,8 +390,8 @@ Node12->Node9 - - + + @@ -395,183 +413,201 @@ - - -Node16->Node3 - - - - - - - - -Node16->Node9 - - - + + +Node17->Node3 + + + - - -Node16->Node11 - - - + + +Node17->Node9 + + + - - -Node16->Node15 - - - + + +Node17->Node11 + + + - - -Node17 - - -MachineConfig.hpp + + +Node17->Node16 + + + - - -Node16->Node17 - - - + + +Node18 + + +MachineConfig.hpp - - -Node17->Node8 - - - + + +Node17->Node18 + + + - - -Node17->Node9 - - - + + +Node22 + + +optional - - -Node17->Node10 - - - + + +Node17->Node22 + + + - - -Node17->Node11 - - - + + +Node18->Node8 + + + - - -Node17->Node12 - - - + + +Node18->Node9 + + + - - -Node18 - - -pins.hpp + + +Node18->Node10 + + + - - -Node17->Node18 - - - + + +Node18->Node11 + + + - - -Node18->Node9 - - - + + +Node18->Node12 + + + Node19 - - -Adafruit_NeoPixel.h + + +pins.hpp - + Node18->Node19 - - - + + + + + + + + +Node19->Node9 + + + Node20 - - -PinsConfig.hpp + + +Adafruit_NeoPixel.h + + + + + +Node19->Node20 + + + + + + + + +Node21 + + +PinsConfig.hpp - - -Node18->Node20 - - - + + +Node19->Node21 + + + - - -Node20->Node9 - - - + + +Node21->Node9 + + + - - -Node20->Node15 - - - + + +Node21->Node16 + + + diff --git a/_m_q_t_ttypes_8hpp_source.xhtml b/_m_q_t_ttypes_8hpp_source.xhtml index a1f95e6b..607ad3be 100644 --- a/_m_q_t_ttypes_8hpp_source.xhtml +++ b/_m_q_t_ttypes_8hpp_source.xhtml @@ -341,12 +341,12 @@ $(document).ready(function() { init_codefold(0); }); -
u_int64_t uid_t
Definition card.hpp:14
+
u_int64_t uid_t
Definition card.hpp:15
diff --git a/_machine_8cpp.xhtml b/_machine_8cpp.xhtml index 181b2f61..237785da 100644 --- a/_machine_8cpp.xhtml +++ b/_machine_8cpp.xhtml @@ -92,6 +92,7 @@ $(function() { #include <cstdint>
#include <sstream>
#include <type_traits>
+#include <driver/gpio.h>
Include dependency graph for Machine.cpp:
@@ -131,20 +132,20 @@ Macros
ESP_LOGE(TAG, "Machine : call configure first"); \
return ret_type(); \
}
-
static const char *const TAG
Definition Logging.hpp:6
+
static const char *const TAG
Definition Logging.hpp:9
-

Definition at line 18 of file Machine.cpp.

-
20 { \
-
21 ESP_LOGE(TAG, "Machine : call configure first"); \
-
22 return ret_type(); \
-
23 }
+

Definition at line 19 of file Machine.cpp.

+
21 { \
+
22 ESP_LOGE(TAG, "Machine : call configure first"); \
+
23 return ret_type(); \
+
24 }
diff --git a/_machine_8cpp__incl.map b/_machine_8cpp__incl.map index ab1fa6df..060763f4 100644 --- a/_machine_8cpp__incl.map +++ b/_machine_8cpp__incl.map @@ -1,133 +1,142 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_machine_8cpp__incl.md5 b/_machine_8cpp__incl.md5 index bbb00f43..0a8b71b5 100644 --- a/_machine_8cpp__incl.md5 +++ b/_machine_8cpp__incl.md5 @@ -1 +1 @@ -9b414eb537db5a33580a4397c6c505c0 \ No newline at end of file +8ec7c5e08f10f2165afd18dcbf4d059c \ No newline at end of file diff --git a/_machine_8cpp__incl.svg b/_machine_8cpp__incl.svg index 25e5285d..bd37a15e 100644 --- a/_machine_8cpp__incl.svg +++ b/_machine_8cpp__incl.svg @@ -46,7 +46,7 @@
@@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -Machine.cpp + +Machine.cpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -Machine.hpp + +Machine.hpp @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,17 +85,17 @@ var sectionId = 'dynsection-0'; Node4 - -Arduino.h + +Arduino.h - + Node1->Node4 - - - + + + @@ -103,17 +103,17 @@ var sectionId = 'dynsection-0'; Node6 - -sstream + +sstream - + Node1->Node6 - - - + + + @@ -121,17 +121,17 @@ var sectionId = 'dynsection-0'; Node9 - -cstdint + +cstdint - + Node1->Node9 - - - + + + @@ -139,17 +139,17 @@ var sectionId = 'dynsection-0'; Node11 - -chrono + +chrono - + Node1->Node11 - - - + + + @@ -157,107 +157,125 @@ var sectionId = 'dynsection-0'; Node13 - -Logging.hpp + +Logging.hpp - + Node1->Node13 - - - + + + - - -Node17 - - -pins.hpp + + +Node18 + + +pins.hpp - - -Node1->Node17 - - - + + +Node1->Node18 + + + - - -Node20 - - -FabBackend.hpp + + +Node22 + + +FabBackend.hpp - - -Node1->Node20 - - - + + +Node1->Node22 + + + - - -Node35 - - -Tasks.hpp + + +Node36 + + +Tasks.hpp - - -Node1->Node35 - - - + + +Node1->Node36 + + + - - -Node36 - - -secrets.hpp + + +Node38 + + +secrets.hpp - - -Node1->Node36 - - - + + +Node1->Node38 + + + - - -Node37 - - -type_traits + + +Node39 + + +type_traits + + + + + +Node1->Node39 + + + + + + + + +Node40 + + +driver/gpio.h - - -Node1->Node37 - - - + + +Node1->Node40 + + + @@ -265,8 +283,8 @@ var sectionId = 'dynsection-0'; Node3 - -FabUser.hpp + +FabUser.hpp @@ -274,62 +292,80 @@ var sectionId = 'dynsection-0'; Node2->Node3 - - + + - + Node2->Node9 - - - + + + - + Node2->Node11 - - - + + + - - -Node15 - - -array + + +Node16 + + +array - - -Node2->Node15 - - - + + +Node2->Node16 + + + - - -Node16 - - -MachineConfig.hpp + + +Node17 + + +MachineConfig.hpp - - -Node2->Node16 - - - + + +Node2->Node17 + + + + + + + + +Node21 + + +optional + + + + + +Node2->Node21 + + + @@ -337,8 +373,8 @@ var sectionId = 'dynsection-0'; Node3->Node4 - - + + @@ -346,8 +382,8 @@ var sectionId = 'dynsection-0'; Node5 - -card.hpp + +card.hpp @@ -355,17 +391,17 @@ var sectionId = 'dynsection-0'; Node3->Node5 - - + + - + Node3->Node6 - - - + + + @@ -373,26 +409,26 @@ var sectionId = 'dynsection-0'; Node8 - -conf.hpp + +conf.hpp - + Node3->Node8 - - - + + + - + Node3->Node9 - - - + + + @@ -400,26 +436,26 @@ var sectionId = 'dynsection-0'; Node10 - -string + +string - + Node3->Node10 - - - + + + - - -Node3->Node15 - - - + + +Node3->Node16 + + + @@ -427,8 +463,8 @@ var sectionId = 'dynsection-0'; Node5->Node4 - - + + @@ -436,8 +472,8 @@ var sectionId = 'dynsection-0'; Node5->Node6 - - + + @@ -445,8 +481,8 @@ var sectionId = 'dynsection-0'; Node7 - -iomanip + +iomanip @@ -454,8 +490,8 @@ var sectionId = 'dynsection-0'; Node5->Node7 - - + + @@ -463,8 +499,8 @@ var sectionId = 'dynsection-0'; Node5->Node8 - - + + @@ -472,8 +508,26 @@ var sectionId = 'dynsection-0'; Node5->Node13 - - + + + + + + + +Node15 + + +esp_mac.h + + + + + +Node5->Node15 + + + @@ -481,8 +535,8 @@ var sectionId = 'dynsection-0'; Node8->Node9 - - + + @@ -490,8 +544,8 @@ var sectionId = 'dynsection-0'; Node8->Node10 - - + + @@ -499,8 +553,8 @@ var sectionId = 'dynsection-0'; Node8->Node11 - - + + @@ -508,8 +562,8 @@ var sectionId = 'dynsection-0'; Node12 - -MachineID.hpp + +MachineID.hpp @@ -517,8 +571,8 @@ var sectionId = 'dynsection-0'; Node8->Node12 - - + + @@ -526,8 +580,8 @@ var sectionId = 'dynsection-0'; Node12->Node9 - - + + @@ -535,8 +589,8 @@ var sectionId = 'dynsection-0'; Node14 - -esp_log.h + +esp_log.h @@ -544,206 +598,170 @@ var sectionId = 'dynsection-0'; Node13->Node14 - - + + - - -Node16->Node8 - - - + + +Node17->Node8 + + + - - -Node16->Node9 - - - + + +Node17->Node9 + + + - - -Node16->Node10 - - - + + +Node17->Node10 + + + - - -Node16->Node11 - - - + + +Node17->Node11 + + + - - -Node16->Node12 - - - + + +Node17->Node12 + + + - - -Node16->Node17 - - - + + +Node17->Node18 + + + - - -Node17->Node9 - - - + + +Node18->Node9 + + + - - -Node18 - + + +Node19 + Adafruit_NeoPixel.h - - -Node17->Node18 - - - + + +Node18->Node19 + + + - - -Node19 - + + +Node20 + PinsConfig.hpp - - -Node17->Node19 - - - + + +Node18->Node20 + + + - - -Node19->Node9 - - - + + +Node20->Node9 + + + - - -Node19->Node15 - - - + + +Node20->Node16 + + + - - -Node20->Node3 - - - + + +Node22->Node3 + + + - - -Node20->Node8 - - - + + +Node22->Node8 + + + - - -Node20->Node10 - - - + + +Node22->Node10 + + + - - -Node20->Node11 - - - + + +Node22->Node11 + + + - - -Node20->Node15 - - - - - - - - -Node21 - - -functional - - - - - -Node20->Node21 - - - - - - - - -Node22 - - -WiFi.h - - - - - -Node20->Node22 - - - + + +Node22->Node16 + + + @@ -751,17 +769,17 @@ var sectionId = 'dynsection-0'; Node23 - -ArduinoJson.h + +functional - - -Node20->Node23 - - - + + +Node22->Node23 + + + @@ -769,233 +787,242 @@ var sectionId = 'dynsection-0'; Node24 - -MQTTClient.h + +WiFi.h - - -Node20->Node24 - - - + + +Node22->Node24 + + + Node25 - - -MQTTtypes.hpp + + +ArduinoJson.h - - -Node20->Node25 - - - + + +Node22->Node25 + + + - - -Node28 - - -SavedConfig.hpp + + +Node26 + + +MQTTClient.h - - -Node20->Node28 - - - + + +Node22->Node26 + + + - - -Node33 - - -BufferedMsg.hpp + + +Node27 + + +MQTTtypes.hpp - - -Node20->Node33 - - - + + +Node22->Node27 + + + - - -Node25->Node2 - - - + + +Node30 + + +SavedConfig.hpp - - -Node25->Node3 - - - + + +Node22->Node30 + + + - - -Node25->Node5 - - - + + +Node34 + + +BufferedMsg.hpp - - -Node25->Node10 - - - + + +Node22->Node34 + + + - - -Node25->Node23 - - - + + +Node27->Node2 + + + - - -Node26 - - -memory + + +Node27->Node3 + + + - - -Node25->Node26 - - - + + +Node27->Node5 + + + - - -Node27 - - -string_view + + +Node27->Node10 + + + + + + + + +Node27->Node25 + + + - - -Node25->Node27 - - - + + +Node28 + + +memory - - -Node28->Node8 - - - + + +Node27->Node28 + + + - - -Node28->Node9 - - - + + +Node29 + + +string_view - - -Node28->Node10 - - - + + +Node27->Node29 + + + - - -Node28->Node16 - - - + + +Node30->Node8 + + + - - -Node28->Node23 - - - + + +Node30->Node9 + + + - - -Node29 - - -optional + + +Node30->Node10 + + + - - -Node28->Node29 - - - + + +Node30->Node17 + + + - - -Node30 - - -mutex + + +Node30->Node21 + + + - - -Node28->Node30 - - - + + +Node30->Node25 + + + @@ -1003,233 +1030,287 @@ var sectionId = 'dynsection-0'; Node31 - -EEPROM.h + +mutex - - -Node28->Node31 - - - + + +Node30->Node31 + + + Node32 - - -CachedCards.hpp + + +EEPROM.h - - -Node28->Node32 - - - + + +Node30->Node32 + + + - - -Node28->Node33 - - - + + +Node33 + + +CachedCards.hpp - - -Node32->Node3 - - - + + +Node30->Node33 + + + - - -Node32->Node5 - - - + + +Node30->Node34 + + + - - -Node32->Node8 - - - + + +Node33->Node3 + + + - - -Node32->Node15 - - - + + +Node33->Node5 + + + - - -Node33->Node10 - - - + + +Node33->Node8 + + + - - -Node33->Node12 - - - + + +Node33->Node16 + + + - - -Node33->Node23 - - - + + +Node33->Node21 + + + - - -Node33->Node25 - - - + + +Node34->Node10 + + + - - -Node33->Node26 - - - + + +Node34->Node12 + + + - - -Node33->Node29 - - - + + +Node34->Node21 + + + - - -Node34 - - -queue + + +Node34->Node25 + + + + + + + + +Node34->Node27 + + + + + + + + +Node34->Node28 + + + + + + + + +Node35 + + +queue - - -Node33->Node34 - - - + + +Node34->Node35 + + + - - -Node35->Node11 - - - + + +Node36->Node4 + + + + + + + + +Node36->Node11 + + + + + + + + +Node36->Node23 + + + + + + + + +Node37 + + +list - - -Node35->Node21 - - - + + +Node36->Node37 + + + - - -Node36->Node2 - - - + + +Node38->Node2 + + + - - -Node36->Node3 - - - + + +Node38->Node3 + + + - - -Node36->Node8 - - - + + +Node38->Node8 + + + - - -Node36->Node9 - - - + + +Node38->Node9 + + + - - -Node36->Node15 - - - + + +Node38->Node16 + + + - - -Node36->Node16 - - - + + +Node38->Node17 + + + - - -Node36->Node27 - - - + + +Node38->Node29 + + + diff --git a/_machine_8cpp__incl_org.svg b/_machine_8cpp__incl_org.svg index 41f8a5b4..4d596e3f 100644 --- a/_machine_8cpp__incl_org.svg +++ b/_machine_8cpp__incl_org.svg @@ -4,16 +4,16 @@ - + Machine.cpp Node1 - -Machine.cpp + +Machine.cpp @@ -21,8 +21,8 @@ Node2 - -Machine.hpp + +Machine.hpp @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,17 +39,17 @@ Node4 - -Arduino.h + +Arduino.h - + Node1->Node4 - - - + + + @@ -57,17 +57,17 @@ Node6 - -sstream + +sstream - + Node1->Node6 - - - + + + @@ -75,17 +75,17 @@ Node9 - -cstdint + +cstdint - + Node1->Node9 - - - + + + @@ -93,17 +93,17 @@ Node11 - -chrono + +chrono - + Node1->Node11 - - - + + + @@ -111,107 +111,125 @@ Node13 - -Logging.hpp + +Logging.hpp - + Node1->Node13 - - - + + + - - -Node17 - - -pins.hpp + + +Node18 + + +pins.hpp - - -Node1->Node17 - - - + + +Node1->Node18 + + + - - -Node20 - - -FabBackend.hpp + + +Node22 + + +FabBackend.hpp - - -Node1->Node20 - - - + + +Node1->Node22 + + + - - -Node35 - - -Tasks.hpp + + +Node36 + + +Tasks.hpp - - -Node1->Node35 - - - + + +Node1->Node36 + + + - - -Node36 - - -secrets.hpp + + +Node38 + + +secrets.hpp - - -Node1->Node36 - - - + + +Node1->Node38 + + + - - -Node37 - - -type_traits + + +Node39 + + +type_traits + + + + + +Node1->Node39 + + + + + + + + +Node40 + + +driver/gpio.h - - -Node1->Node37 - - - + + +Node1->Node40 + + + @@ -219,8 +237,8 @@ Node3 - -FabUser.hpp + +FabUser.hpp @@ -228,62 +246,80 @@ Node2->Node3 - - + + - + Node2->Node9 - - - + + + - + Node2->Node11 - - - + + + - - -Node15 - - -array + + +Node16 + + +array - - -Node2->Node15 - - - + + +Node2->Node16 + + + - - -Node16 - - -MachineConfig.hpp + + +Node17 + + +MachineConfig.hpp - - -Node2->Node16 - - - + + +Node2->Node17 + + + + + + + + +Node21 + + +optional + + + + + +Node2->Node21 + + + @@ -291,8 +327,8 @@ Node3->Node4 - - + + @@ -300,8 +336,8 @@ Node5 - -card.hpp + +card.hpp @@ -309,17 +345,17 @@ Node3->Node5 - - + + - + Node3->Node6 - - - + + + @@ -327,26 +363,26 @@ Node8 - -conf.hpp + +conf.hpp - + Node3->Node8 - - - + + + - + Node3->Node9 - - - + + + @@ -354,26 +390,26 @@ Node10 - -string + +string - + Node3->Node10 - - - + + + - - -Node3->Node15 - - - + + +Node3->Node16 + + + @@ -381,8 +417,8 @@ Node5->Node4 - - + + @@ -390,8 +426,8 @@ Node5->Node6 - - + + @@ -399,8 +435,8 @@ Node7 - -iomanip + +iomanip @@ -408,8 +444,8 @@ Node5->Node7 - - + + @@ -417,8 +453,8 @@ Node5->Node8 - - + + @@ -426,8 +462,26 @@ Node5->Node13 - - + + + + + + + +Node15 + + +esp_mac.h + + + + + +Node5->Node15 + + + @@ -435,8 +489,8 @@ Node8->Node9 - - + + @@ -444,8 +498,8 @@ Node8->Node10 - - + + @@ -453,8 +507,8 @@ Node8->Node11 - - + + @@ -462,8 +516,8 @@ Node12 - -MachineID.hpp + +MachineID.hpp @@ -471,8 +525,8 @@ Node8->Node12 - - + + @@ -480,8 +534,8 @@ Node12->Node9 - - + + @@ -489,8 +543,8 @@ Node14 - -esp_log.h + +esp_log.h @@ -498,206 +552,170 @@ Node13->Node14 - - + + - - -Node16->Node8 - - - + + +Node17->Node8 + + + - - -Node16->Node9 - - - + + +Node17->Node9 + + + - - -Node16->Node10 - - - + + +Node17->Node10 + + + - - -Node16->Node11 - - - + + +Node17->Node11 + + + - - -Node16->Node12 - - - + + +Node17->Node12 + + + - - -Node16->Node17 - - - + + +Node17->Node18 + + + - - -Node17->Node9 - - - + + +Node18->Node9 + + + - - -Node18 - + + +Node19 + Adafruit_NeoPixel.h - - -Node17->Node18 - - - + + +Node18->Node19 + + + - - -Node19 - + + +Node20 + PinsConfig.hpp - - -Node17->Node19 - - - + + +Node18->Node20 + + + - - -Node19->Node9 - - - + + +Node20->Node9 + + + - - -Node19->Node15 - - - + + +Node20->Node16 + + + - - -Node20->Node3 - - - + + +Node22->Node3 + + + - - -Node20->Node8 - - - + + +Node22->Node8 + + + - - -Node20->Node10 - - - + + +Node22->Node10 + + + - - -Node20->Node11 - - - + + +Node22->Node11 + + + - - -Node20->Node15 - - - - - - - - -Node21 - - -functional - - - - - -Node20->Node21 - - - - - - - - -Node22 - - -WiFi.h - - - - - -Node20->Node22 - - - + + +Node22->Node16 + + + @@ -705,17 +723,17 @@ Node23 - -ArduinoJson.h + +functional - - -Node20->Node23 - - - + + +Node22->Node23 + + + @@ -723,233 +741,242 @@ Node24 - -MQTTClient.h + +WiFi.h - - -Node20->Node24 - - - + + +Node22->Node24 + + + Node25 - - -MQTTtypes.hpp + + +ArduinoJson.h - - -Node20->Node25 - - - + + +Node22->Node25 + + + - - -Node28 - - -SavedConfig.hpp + + +Node26 + + +MQTTClient.h - - -Node20->Node28 - - - + + +Node22->Node26 + + + - - -Node33 - - -BufferedMsg.hpp + + +Node27 + + +MQTTtypes.hpp - - -Node20->Node33 - - - + + +Node22->Node27 + + + - - -Node25->Node2 - - - + + +Node30 + + +SavedConfig.hpp - - -Node25->Node3 - - - + + +Node22->Node30 + + + - - -Node25->Node5 - - - + + +Node34 + + +BufferedMsg.hpp - - -Node25->Node10 - - - + + +Node22->Node34 + + + - - -Node25->Node23 - - - + + +Node27->Node2 + + + - - -Node26 - - -memory + + +Node27->Node3 + + + - - -Node25->Node26 - - - + + +Node27->Node5 + + + - - -Node27 - - -string_view + + +Node27->Node10 + + + + + + + + +Node27->Node25 + + + - - -Node25->Node27 - - - + + +Node28 + + +memory - - -Node28->Node8 - - - + + +Node27->Node28 + + + - - -Node28->Node9 - - - + + +Node29 + + +string_view - - -Node28->Node10 - - - + + +Node27->Node29 + + + - - -Node28->Node16 - - - + + +Node30->Node8 + + + - - -Node28->Node23 - - - + + +Node30->Node9 + + + - - -Node29 - - -optional + + +Node30->Node10 + + + - - -Node28->Node29 - - - + + +Node30->Node17 + + + - - -Node30 - - -mutex + + +Node30->Node21 + + + - - -Node28->Node30 - - - + + +Node30->Node25 + + + @@ -957,233 +984,287 @@ Node31 - -EEPROM.h + +mutex - - -Node28->Node31 - - - + + +Node30->Node31 + + + Node32 - - -CachedCards.hpp + + +EEPROM.h - - -Node28->Node32 - - - + + +Node30->Node32 + + + - - -Node28->Node33 - - - + + +Node33 + + +CachedCards.hpp - - -Node32->Node3 - - - + + +Node30->Node33 + + + - - -Node32->Node5 - - - + + +Node30->Node34 + + + - - -Node32->Node8 - - - + + +Node33->Node3 + + + - - -Node32->Node15 - - - + + +Node33->Node5 + + + - - -Node33->Node10 - - - + + +Node33->Node8 + + + - - -Node33->Node12 - - - + + +Node33->Node16 + + + - - -Node33->Node23 - - - + + +Node33->Node21 + + + - - -Node33->Node25 - - - + + +Node34->Node10 + + + - - -Node33->Node26 - - - + + +Node34->Node12 + + + - - -Node33->Node29 - - - + + +Node34->Node21 + + + - - -Node34 - - -queue + + +Node34->Node25 + + + + + + + + +Node34->Node27 + + + + + + + + +Node34->Node28 + + + + + + + + +Node35 + + +queue - - -Node33->Node34 - - - + + +Node34->Node35 + + + - - -Node35->Node11 - - - + + +Node36->Node4 + + + + + + + + +Node36->Node11 + + + + + + + + +Node36->Node23 + + + + + + + + +Node37 + + +list - - -Node35->Node21 - - - + + +Node36->Node37 + + + - - -Node36->Node2 - - - + + +Node38->Node2 + + + - - -Node36->Node3 - - - + + +Node38->Node3 + + + - - -Node36->Node8 - - - + + +Node38->Node8 + + + - - -Node36->Node9 - - - + + +Node38->Node9 + + + - - -Node36->Node15 - - - + + +Node38->Node16 + + + - - -Node36->Node16 - - - + + +Node38->Node17 + + + - - -Node36->Node27 - - - + + +Node38->Node29 + + + diff --git a/_machine_8cpp_source.xhtml b/_machine_8cpp_source.xhtml index 98f3ebd3..f1846152 100644 --- a/_machine_8cpp_source.xhtml +++ b/_machine_8cpp_source.xhtml @@ -94,468 +94,473 @@ $(document).ready(function() { init_codefold(0); });
9#include <cstdint>
10#include <sstream>
11#include <type_traits>
-
12
-
13namespace fabomatic
-
14{
-
15 using namespace std::chrono_literals;
-
16 using milliseconds = std::chrono::milliseconds;
-
17
-
-
18#define CHECK_CONFIGURED(ret_type) \
-
19 if (!config.has_value() || !server.has_value()) \
-
20 { \
-
21 ESP_LOGE(TAG, "Machine : call configure first"); \
-
22 return ret_type(); \
-
23 }
-
-
24
-
-
25 auto Machine::configure(const MachineConfig &new_config, FabBackend &serv) -> void
-
26 {
-
27 // https://stackoverflow.com/questions/67596731/why-is-stdoptionaltoperator-deleted-when-t-contains-a-const-data-memb
-
28 config.emplace(new_config);
-
29
-
30 server = std::reference_wrapper<FabBackend>(serv);
-
31
-
32 if (config.value().hasRelay())
-
33 {
-
34 const auto pin = config.value().relay_config.ch1_pin;
-
35 digitalWrite(pin,
-
36 config.value().relay_config.active_low ? HIGH : LOW);
-
37 pinMode(pin, OUTPUT);
-
38
-
39 // Relay coil requires some juice
-
40 gpio_set_drive_capability(static_cast<gpio_num_t>(pin), GPIO_DRIVE_CAP_3);
-
41 }
-
42
-
43 ESP_LOGD(TAG, "Machine configured : %s", toString().c_str());
-
44 }
-
-
45
-
- -
49 {
- -
51 return config.value().machine_id;
-
52 }
-
-
53
-
-
56 auto Machine::isFree() const -> bool
-
57 {
-
58 return !active;
-
59 }
-
-
60
-
-
64 auto Machine::login(const FabUser &user) -> bool
-
65 {
-
66 CHECK_CONFIGURED(bool);
-
67 if (isFree() && allowed)
-
68 {
-
69 active = true;
-
70 current_user = user;
-
71 power(true);
-
72 usage_start_timestamp = std::chrono::system_clock::now();
-
73 return true;
-
74 }
-
75 return false;
-
76 }
-
-
77
-
- -
81 {
-
82 return power_state;
-
83 }
-
-
84
-
-
86 auto Machine::logout() -> void
-
87 {
-
88 CHECK_CONFIGURED(void);
-
89 if (active)
-
90 {
-
91 active = false;
-
92 power_state = PowerState::WaitingPowerOff;
-
93 usage_start_timestamp = std::nullopt;
-
94
-
95 // Sets the countdown to power off
-
96 logoff_timestamp = std::chrono::system_clock::now();
-
97
-
98 if (config.value().grace_period == 0s)
-
99 {
-
100 power(false);
-
101 }
-
102
-
103 ESP_LOGI(TAG, "Machine will be shutdown in %lld s",
-
104 config.value().grace_period.count());
-
105 }
-
106 }
-
-
107
-
-
110 auto Machine::canPowerOff() const -> bool
-
111 {
-
112 if (!logoff_timestamp.has_value())
-
113 return false;
-
114
-
115 CHECK_CONFIGURED(bool);
-
116
- -
118 std::chrono::system_clock::now() - logoff_timestamp.value() > config.value().grace_period);
-
119 }
-
-
120
-
-
123 auto Machine::isShutdownImminent() const -> bool
-
124 {
-
125 if (!logoff_timestamp.has_value())
-
126 return false;
-
127
-
128 CHECK_CONFIGURED(bool);
-
129
- -
131 std::chrono::system_clock::now() - logoff_timestamp.value() <= config.value().grace_period);
-
132 }
-
-
133
-
-
136 auto Machine::power_relay(bool value) -> void
-
137 {
-
138 CHECK_CONFIGURED(void);
-
139 ESP_LOGI(TAG, "Machine::power_relay : power set to %d", value);
-
140
-
141 const auto pin = config.value().relay_config.ch1_pin;
-
142
-
143 if (config.value().relay_config.active_low)
-
144 {
-
145 digitalWrite(pin, value ? LOW : HIGH);
-
146 }
-
147 else
-
148 {
-
149 digitalWrite(pin, value ? HIGH : LOW);
-
150 }
-
151
-
152 if (value)
-
153 {
-
154 logoff_timestamp = std::nullopt;
-
155 power_state = PowerState::PoweredOn;
-
156 }
-
157 else
-
158 {
-
159 power_state = PowerState::PoweredOff;
-
160 }
-
161 }
-
-
162
-
-
165 auto Machine::power_mqtt(bool value) -> void
-
166 {
-
167 CHECK_CONFIGURED(void);
-
168
-
169 ESP_LOGI(TAG, "Machine::power_mqtt : power set to %d", value);
-
170
-
171 auto &mqtt_server = server.value().get();
-
172 const auto &sw_topic = config.value().mqtt_switch_topic;
-
173
-
174 String topic{sw_topic.data()};
-
175 String payload = value ? conf::mqtt::mqtt_switch_on_message.data() : conf::mqtt::mqtt_switch_on_message.data();
-
176
-
177 auto retries = 0;
-
178 while (!mqtt_server.publish(topic, payload, false))
-
179 {
-
180 ESP_LOGE(TAG, "Error while publishing %s to %s", payload.c_str(), topic.c_str());
-
181
-
182 mqtt_server.connect();
- -
184 retries++;
-
185 if (retries > conf::mqtt::MAX_TRIES)
-
186 {
-
187 ESP_LOGW(TAG, "Unable to publish to MQTT (%d/%d)", retries, conf::mqtt::MAX_TRIES);
-
188 return;
-
189 }
-
190 }
-
191
-
192 if (value)
-
193 {
-
194 logoff_timestamp = std::nullopt;
-
195 power_state = PowerState::PoweredOn;
-
196 }
-
197 else
-
198 {
-
199 power_state = PowerState::PoweredOff;
-
200 }
-
201 }
-
-
202
-
-
203 auto Machine::power(bool on_or_off) -> void
-
204 {
-
205 CHECK_CONFIGURED(void);
-
206
-
207 ESP_LOGI(TAG, "Machine::power : power set to %d", on_or_off);
-
208
-
209 if (config.value().hasRelay())
-
210 {
-
211 power_relay(on_or_off);
-
212 }
-
213 if (config.value().hasMqttSwitch())
-
214 {
-
215 power_mqtt(on_or_off);
-
216 }
-
217 }
-
-
218
-
- -
220 {
-
221 return current_user;
-
222 }
-
-
223
-
-
226 auto Machine::getUsageDuration() const -> std::chrono::seconds
-
227 {
-
228 if (usage_start_timestamp.has_value())
-
229 {
-
230 return std::chrono::duration_cast<std::chrono::seconds>(std::chrono::system_clock::now() - usage_start_timestamp.value());
-
231 }
-
232 return 0s;
-
233 }
-
-
234
-
-
235 auto Machine::getMachineName() const -> const std::string
-
236 {
-
237 CHECK_CONFIGURED(std::string);
-
238 return std::string{config.value().machine_name.data()};
-
239 }
-
-
240
-
-
241 auto Machine::toString() const -> const std::string
-
242 {
-
243 std::stringstream sstream{};
-
244
-
245 if (!config.has_value() || !server.has_value())
-
246 {
-
247 sstream << "Machine (not configured)";
-
248 return sstream.str();
-
249 }
-
250
-
251 sstream << "Machine (ID:" << getMachineId().id;
-
252 sstream << ", Name:" << getMachineName();
-
253 sstream << ", IsFree: " << isFree();
-
254 sstream << ", IsAllowed:" << allowed;
-
255 sstream << ", PowerState:" << static_cast<int>(getPowerState());
-
256 sstream << ", " << current_user.toString();
-
257 sstream << ", UsageDuration (s):" << getUsageDuration().count();
-
258 sstream << ", ShutdownImminent:" << isShutdownImminent();
-
259 sstream << ", MaintenanceNeeded:" << maintenanceNeeded;
-
260 sstream << ", " << config.value().toString();
-
261 sstream << ", Active:" << active;
-
262 sstream << ", Last logoff:" << (logoff_timestamp.has_value() ? logoff_timestamp.value().time_since_epoch().count() : 0);
-
263 sstream << ", GracePeriod (s):" << getGracePeriod().count();
-
264 sstream << ")";
-
265
-
266 return sstream.str();
-
267 }
-
-
268
-
-
269 auto Machine::getAutologoffDelay() const -> std::chrono::seconds
-
270 {
-
271 CHECK_CONFIGURED(std::chrono::seconds);
-
272 return config.value().autologoff;
-
273 }
-
-
274
-
-
275 auto Machine::setAutologoffDelay(std::chrono::seconds new_delay) -> void
-
276 {
-
277 CHECK_CONFIGURED(void);
+
12#include <driver/gpio.h>
+
13
+
14namespace fabomatic
+
15{
+
16 using namespace std::chrono_literals;
+
17 using milliseconds = std::chrono::milliseconds;
+
18
+
+
19#define CHECK_CONFIGURED(ret_type) \
+
20 if (!config.has_value() || !server.has_value()) \
+
21 { \
+
22 ESP_LOGE(TAG, "Machine : call configure first"); \
+
23 return ret_type(); \
+
24 }
+
+
25
+
+
26 auto Machine::configure(const MachineConfig &new_config, FabBackend &serv) -> void
+
27 {
+
28 // https://stackoverflow.com/questions/67596731/why-is-stdoptionaltoperator-deleted-when-t-contains-a-const-data-memb
+
29 config.emplace(new_config);
+
30
+
31 server = std::reference_wrapper<FabBackend>(serv);
+
32
+
33 if (config.value().hasRelay())
+
34 {
+
35 const auto pin = config.value().relay_config.ch1_pin;
+
36 digitalWrite(pin,
+
37 config.value().relay_config.active_low ? HIGH : LOW);
+
38 pinMode(pin, OUTPUT);
+
39
+
40 // Relay coil requires some juice
+
41 gpio_set_drive_capability(static_cast<gpio_num_t>(pin), GPIO_DRIVE_CAP_3);
+
42 }
+
43
+
44 ESP_LOGD(TAG, "Machine configured : %s", toString().c_str());
+
45 }
+
+
46
+
+ +
50 {
+ +
52 return config.value().machine_id;
+
53 }
+
+
54
+
+
57 auto Machine::isFree() const -> bool
+
58 {
+
59 return !active;
+
60 }
+
+
61
+
+
65 auto Machine::login(const FabUser &user) -> bool
+
66 {
+
67 CHECK_CONFIGURED(bool);
+
68 if (isFree() && allowed)
+
69 {
+
70 active = true;
+
71 current_user = user;
+
72 power(true);
+
73 usage_start_timestamp = fabomatic::Tasks::arduinoNow();
+
74 return true;
+
75 }
+
76 return false;
+
77 }
+
+
78
+
+ +
82 {
+
83 return power_state;
+
84 }
+
+
85
+
+
87 auto Machine::logout() -> void
+
88 {
+
89 CHECK_CONFIGURED(void);
+
90 if (active)
+
91 {
+
92 active = false;
+
93 power_state = PowerState::WaitingPowerOff;
+
94 usage_start_timestamp = std::nullopt;
+
95
+
96 // Sets the countdown to power off
+
97 logoff_timestamp = fabomatic::Tasks::arduinoNow();
+
98
+
99 if (config.value().grace_period == 0s)
+
100 {
+
101 power(false);
+
102 }
+
103
+
104 ESP_LOGI(TAG, "Machine will be shutdown in %lld s",
+
105 config.value().grace_period.count());
+
106 }
+
107 }
+
+
108
+
+
111 auto Machine::canPowerOff() const -> bool
+
112 {
+
113 if (!logoff_timestamp.has_value())
+
114 return false;
+
115
+
116 CHECK_CONFIGURED(bool);
+
117
+ +
119 fabomatic::Tasks::arduinoNow() - logoff_timestamp.value() > config.value().grace_period);
+
120 }
+
+
121
+
+
124 auto Machine::isShutdownImminent() const -> bool
+
125 {
+
126 if (!logoff_timestamp.has_value())
+
127 return false;
+
128
+
129 CHECK_CONFIGURED(bool);
+
130
+ +
132 fabomatic::Tasks::arduinoNow() - logoff_timestamp.value() <= config.value().grace_period);
+
133 }
+
+
134
+
+
137 auto Machine::power_relay(bool value) -> void
+
138 {
+
139 CHECK_CONFIGURED(void);
+
140 ESP_LOGI(TAG, "Machine::power_relay : power set to %d", value);
+
141
+
142 const auto pin = config.value().relay_config.ch1_pin;
+
143
+
144 if (config.value().relay_config.active_low)
+
145 {
+
146 digitalWrite(pin, value ? LOW : HIGH);
+
147 }
+
148 else
+
149 {
+
150 digitalWrite(pin, value ? HIGH : LOW);
+
151 }
+
152
+
153 if (value)
+
154 {
+
155 logoff_timestamp = std::nullopt;
+
156 power_state = PowerState::PoweredOn;
+
157 }
+
158 else
+
159 {
+
160 power_state = PowerState::PoweredOff;
+
161 }
+
162 }
+
+
163
+
+
166 auto Machine::power_mqtt(bool value) -> void
+
167 {
+
168 CHECK_CONFIGURED(void);
+
169
+
170 ESP_LOGI(TAG, "Machine::power_mqtt : power set to %d", value);
+
171
+
172 auto &mqtt_server = server.value().get();
+
173 const auto &sw_topic = config.value().mqtt_switch_topic;
+
174
+
175 String topic{sw_topic.data()};
+
176 String payload = value ? conf::mqtt::mqtt_switch_on_message.data() : conf::mqtt::mqtt_switch_on_message.data();
+
177
+
178 auto retries = 0;
+
179 while (!mqtt_server.publish(topic, payload, false))
+
180 {
+
181 ESP_LOGE(TAG, "Error while publishing %s to %s", payload.c_str(), topic.c_str());
+
182
+
183 mqtt_server.connect();
+ +
185 retries++;
+
186 if (retries > conf::mqtt::MAX_TRIES)
+
187 {
+
188 ESP_LOGW(TAG, "Unable to publish to MQTT (%d/%d)", retries, conf::mqtt::MAX_TRIES);
+
189 return;
+
190 }
+
191 }
+
192
+
193 if (value)
+
194 {
+
195 logoff_timestamp = std::nullopt;
+
196 power_state = PowerState::PoweredOn;
+
197 }
+
198 else
+
199 {
+
200 power_state = PowerState::PoweredOff;
+
201 }
+
202 }
+
+
203
+
+
204 auto Machine::power(bool on_or_off) -> void
+
205 {
+
206 CHECK_CONFIGURED(void);
+
207
+
208 ESP_LOGI(TAG, "Machine::power : power set to %d", on_or_off);
+
209
+
210 if (config.value().hasRelay())
+
211 {
+
212 power_relay(on_or_off);
+
213 }
+
214 if (config.value().hasMqttSwitch())
+
215 {
+
216 power_mqtt(on_or_off);
+
217 }
+
218 }
+
+
219
+
+ +
221 {
+
222 return current_user;
+
223 }
+
+
224
+
+
227 auto Machine::getUsageDuration() const -> std::chrono::seconds
+
228 {
+
229 if (usage_start_timestamp.has_value())
+
230 {
+
231 return std::chrono::duration_cast<std::chrono::seconds>(fabomatic::Tasks::arduinoNow() - usage_start_timestamp.value());
+
232 }
+
233 return 0s;
+
234 }
+
+
235
+
+
236 auto Machine::getMachineName() const -> const std::string
+
237 {
+
238 CHECK_CONFIGURED(std::string);
+
239 return std::string{config.value().machine_name.data()};
+
240 }
+
+
241
+
+
242 auto Machine::toString() const -> const std::string
+
243 {
+
244 std::stringstream sstream{};
+
245
+
246 if (!config.has_value() || !server.has_value())
+
247 {
+
248 sstream << "Machine (not configured)";
+
249 return sstream.str();
+
250 }
+
251
+
252 sstream << "Machine (ID:" << getMachineId().id;
+
253 sstream << ", Name:" << getMachineName();
+
254 sstream << ", IsFree: " << isFree();
+
255 sstream << ", IsAllowed:" << allowed;
+
256 sstream << ", PowerState:" << static_cast<int>(getPowerState());
+
257 sstream << ", " << current_user.toString();
+
258 sstream << ", UsageDuration (s):" << getUsageDuration().count();
+
259 sstream << ", ShutdownImminent:" << isShutdownImminent();
+
260 sstream << ", MaintenanceNeeded:" << maintenanceNeeded;
+
261 sstream << ", " << config.value().toString();
+
262 sstream << ", Active:" << active;
+ +
264 {
+
265 sstream << ", Last logoff:" << logoff_timestamp.value().time_since_epoch();
+
266 }
+
267 sstream << ", GracePeriod (s):" << getGracePeriod().count();
+
268 sstream << ")";
+
269
+
270 return sstream.str();
+
271 }
+
+
272
+
+
273 auto Machine::getAutologoffDelay() const -> std::chrono::seconds
+
274 {
+
275 CHECK_CONFIGURED(std::chrono::seconds);
+
276 return config.value().autologoff;
+
277 }
+
278
-
279 if (config.value().autologoff != new_delay)
-
280 {
-
281 ESP_LOGD(TAG, "Changing autologoff delay to %lld min",
-
282 std::chrono::duration_cast<std::chrono::minutes>(config.value().autologoff).count());
-
283 }
-
284
-
285 config.value().autologoff = new_delay;
-
286 }
-
-
287
-
-
288 auto Machine::isAutologoffExpired() const -> bool
-
289 {
-
290 return getAutologoffDelay() > 0min &&
- -
292 }
-
-
293
-
-
294 auto Machine::setMachineName(const std::string &new_name) -> void
-
295 {
-
296 CHECK_CONFIGURED(void);
+
+
279 auto Machine::setAutologoffDelay(std::chrono::seconds new_delay) -> void
+
280 {
+
281 CHECK_CONFIGURED(void);
+
282
+
283 if (config.value().autologoff != new_delay)
+
284 {
+
285 ESP_LOGD(TAG, "Changing autologoff delay to %lld min",
+
286 std::chrono::duration_cast<std::chrono::minutes>(config.value().autologoff).count());
+
287 }
+
288
+
289 config.value().autologoff = new_delay;
+
290 }
+
+
291
+
+
292 auto Machine::isAutologoffExpired() const -> bool
+
293 {
+
294 return getAutologoffDelay() > 0min &&
+ +
296 }
+
297
-
298 if (config.value().machine_name != new_name)
-
299 {
-
300 ESP_LOGD(TAG, "Changing machine name to %s", new_name.data());
-
301 }
-
302
-
303 config.value().machine_name = new_name;
-
304 }
-
-
305
-
- -
307 {
-
308 CHECK_CONFIGURED(void);
+
+
298 auto Machine::setMachineName(const std::string &new_name) -> void
+
299 {
+
300 CHECK_CONFIGURED(void);
+
301
+
302 if (config.value().machine_name != new_name)
+
303 {
+
304 ESP_LOGD(TAG, "Changing machine name to %s", new_name.data());
+
305 }
+
306
+
307 config.value().machine_name = new_name;
+
308 }
+
309
-
310 if (config.value().machine_type != new_type)
-
311 ESP_LOGD(TAG, "Changing machine type to %d", static_cast<uint8_t>(new_type));
-
312
-
313 config.value().machine_type = new_type;
-
314 }
-
-
315
-
-
316 auto Machine::isConfigured() const -> bool
-
317 {
-
318 return config.has_value() && server.has_value();
-
319 }
-
-
320
-
-
321 auto Machine::getConfig() const -> std::optional<MachineConfig>
-
322 {
-
323 return config;
-
324 }
-
-
325
-
-
326 auto Machine::isAllowed() const -> bool
-
327 {
-
328 return allowed;
-
329 }
-
-
330
-
-
331 auto Machine::setAllowed(bool new_allowed) -> void
-
332 {
-
333 allowed = new_allowed;
-
334 }
-
-
335
-
-
336 auto Machine::isMaintenanceNeeded() const -> bool
-
337 {
-
338 return maintenanceNeeded;
-
339 }
-
-
340
-
-
341 auto Machine::setMaintenanceNeeded(bool new_maintenance_needed) -> void
-
342 {
-
343 maintenanceNeeded = new_maintenance_needed;
-
344 }
-
-
345
-
-
346 auto Machine::getGracePeriod() const -> std::chrono::seconds
-
347 {
-
348 CHECK_CONFIGURED(std::chrono::seconds);
-
349 return config.value().grace_period;
-
350 }
-
-
351
-
-
352 auto Machine::setGracePeriod(std::chrono::seconds new_delay) -> void
-
353 {
-
354 CHECK_CONFIGURED(void);
+
+ +
311 {
+
312 CHECK_CONFIGURED(void);
+
313
+
314 if (config.value().machine_type != new_type)
+
315 ESP_LOGD(TAG, "Changing machine type to %d", static_cast<uint8_t>(new_type));
+
316
+
317 config.value().machine_type = new_type;
+
318 }
+
+
319
+
+
320 auto Machine::isConfigured() const -> bool
+
321 {
+
322 return config.has_value() && server.has_value();
+
323 }
+
+
324
+
+
325 auto Machine::getConfig() const -> std::optional<MachineConfig>
+
326 {
+
327 return config;
+
328 }
+
+
329
+
+
330 auto Machine::isAllowed() const -> bool
+
331 {
+
332 return allowed;
+
333 }
+
+
334
+
+
335 auto Machine::setAllowed(bool new_allowed) -> void
+
336 {
+
337 allowed = new_allowed;
+
338 }
+
+
339
+
+
340 auto Machine::isMaintenanceNeeded() const -> bool
+
341 {
+
342 return maintenanceNeeded;
+
343 }
+
+
344
+
+
345 auto Machine::setMaintenanceNeeded(bool new_maintenance_needed) -> void
+
346 {
+
347 maintenanceNeeded = new_maintenance_needed;
+
348 }
+
+
349
+
+
350 auto Machine::getGracePeriod() const -> std::chrono::seconds
+
351 {
+
352 CHECK_CONFIGURED(std::chrono::seconds);
+
353 return config.value().grace_period;
+
354 }
+
355
-
356 if (config.value().grace_period != new_delay)
-
357 {
-
358 ESP_LOGD(TAG, "Changing grace period to %lld seconds",
-
359 new_delay.count());
-
360 }
-
361
-
362 config.value().grace_period = new_delay;
-
363 }
-
-
364
-
-
365 [[nodiscard]] auto Machine::getMaintenanceInfo() const -> const std::string
-
366 {
-
367 return maintenanceInfo;
-
368 }
-
-
369
-
-
370 auto Machine::setMaintenanceInfo(const std::string &new_description) -> void
-
371 {
-
372 maintenanceInfo = new_description;
-
373 }
-
-
374} // namespace fabomatic
+
+
356 auto Machine::setGracePeriod(std::chrono::seconds new_delay) -> void
+
357 {
+
358 CHECK_CONFIGURED(void);
+
359
+
360 if (config.value().grace_period != new_delay)
+
361 {
+
362 ESP_LOGD(TAG, "Changing grace period to %lld seconds",
+
363 new_delay.count());
+
364 }
+
365
+
366 config.value().grace_period = new_delay;
+
367 }
+
+
368
+
+
369 [[nodiscard]] auto Machine::getMaintenanceInfo() const -> const std::string
+
370 {
+
371 return maintenanceInfo;
+
372 }
+
+
373
+
+
374 auto Machine::setMaintenanceInfo(const std::string &new_description) -> void
+
375 {
+
376 maintenanceInfo = new_description;
+
377 }
+
+
378} // namespace fabomatic
-
static const char *const TAG
Definition Logging.hpp:6
-
#define CHECK_CONFIGURED(ret_type)
Definition Machine.cpp:18
+
static const char *const TAG
Definition Logging.hpp:9
+
#define CHECK_CONFIGURED(ret_type)
Definition Machine.cpp:19
MachineType
Classification of the machine.
Definition MachineID.hpp:9
This class is used to exchange messages with the MQTT broker and the backend.
-
Represents the FabLab machine connected to the board.
Definition Machine.hpp:16
-
auto isAutologoffExpired() const -> bool
Indicates ff the user shall be logged off automatically.
Definition Machine.cpp:288
-
auto power(bool on_or_off) -> void
Powers the machine on or off using relay/MQTT/both.
Definition Machine.cpp:203
-
auto canPowerOff() const -> bool
Indicates if POWEROFF_DELAY_MINUTES delay has expired,and the machine is still idle.
Definition Machine.cpp:110
-
auto power_mqtt(bool on_or_off) -> void
sets the machine power to on (true) or off (false)
Definition Machine.cpp:165
-
auto getMachineName() const -> const std::string
Definition Machine.cpp:235
-
std::optional< std::chrono::time_point< std::chrono::system_clock > > usage_start_timestamp
Definition Machine.hpp:109
-
PowerState power_state
Definition Machine.hpp:111
-
auto setGracePeriod(std::chrono::seconds new_delay) -> void
Sets the idle period after which the machine will power off automatically.
Definition Machine.cpp:352
-
auto isMaintenanceNeeded() const -> bool
Definition Machine.cpp:336
-
auto getActiveUser() const -> FabUser
Definition Machine.cpp:219
-
auto toString() const -> const std::string
Definition Machine.cpp:241
-
auto getPowerState() const -> PowerState
Returns the current power state of the machine.
Definition Machine.cpp:80
- +
Represents the FabLab machine connected to the board.
Definition Machine.hpp:17
+
auto isAutologoffExpired() const -> bool
Indicates ff the user shall be logged off automatically.
Definition Machine.cpp:292
+
auto power(bool on_or_off) -> void
Powers the machine on or off using relay/MQTT/both.
Definition Machine.cpp:204
+
auto canPowerOff() const -> bool
Indicates if POWEROFF_DELAY_MINUTES delay has expired,and the machine is still idle.
Definition Machine.cpp:111
+
auto power_mqtt(bool on_or_off) -> void
sets the machine power to on (true) or off (false)
Definition Machine.cpp:166
+
auto getMachineName() const -> const std::string
Definition Machine.cpp:236
+
PowerState power_state
Definition Machine.hpp:112
+
auto setGracePeriod(std::chrono::seconds new_delay) -> void
Sets the idle period after which the machine will power off automatically.
Definition Machine.cpp:356
+
auto isMaintenanceNeeded() const -> bool
Definition Machine.cpp:340
+
auto getActiveUser() const -> FabUser
Definition Machine.cpp:220
+
auto toString() const -> const std::string
Definition Machine.cpp:242
+
auto getPowerState() const -> PowerState
Returns the current power state of the machine.
Definition Machine.cpp:81
+ -
auto getConfig() const -> std::optional< MachineConfig >
Returns the current configuration of the machine, used for testing.
Definition Machine.cpp:321
-
auto isAllowed() const -> bool
Definition Machine.cpp:326
-
bool allowed
If true, machine is allowed to be used by anybody.
Definition Machine.hpp:116
-
auto getAutologoffDelay() const -> std::chrono::seconds
Definition Machine.cpp:269
-
auto isFree() const -> bool
Indicates is the machine is not used by anybody.
Definition Machine.cpp:56
-
void configure(const MachineConfig &new_config, FabBackend &serv)
Configure the machine, it must be called before most methods.
Definition Machine.cpp:25
-
std::string maintenanceInfo
Definition Machine.hpp:118
- -
std::optional< MachineConfig > config
Definition Machine.hpp:103
-
auto logout() -> void
Logoff the user and stop the usage timer.
Definition Machine.cpp:86
-
auto isShutdownImminent() const -> bool
Indicates if the machine will power down in less than BEEP_REMAINING_MINUTES.
Definition Machine.cpp:123
-
auto getMachineId() const -> MachineID
Returns the machine identifier.
Definition Machine.cpp:48
-
auto setMaintenanceNeeded(bool new_maintenance_needed) -> void
Definition Machine.cpp:341
-
std::optional< std::chrono::time_point< std::chrono::system_clock > > logoff_timestamp
Definition Machine.hpp:110
-
auto getUsageDuration() const -> std::chrono::seconds
Duration of the current usage, or 0s.
Definition Machine.cpp:226
-
auto setMachineType(MachineType new_type) -> void
Sets the machine type as per backend configuration.
Definition Machine.cpp:306
-
auto isConfigured() const -> bool
Indicates if the machine has been configured.
Definition Machine.cpp:316
- -
auto setMaintenanceInfo(const std::string &new_description) -> void
Definition Machine.cpp:370
-
auto login(const FabUser &user) -> bool
Try to login the user and start the usage timer.
Definition Machine.cpp:64
-
auto setMachineName(const std::string &new_name) -> void
Sets the machine name as per backend configuration.
Definition Machine.cpp:294
-
auto setAutologoffDelay(std::chrono::seconds new_delay) -> void
Sets the delay after which the user will be logged off automatically.
Definition Machine.cpp:275
-
auto getMaintenanceInfo() const -> const std::string
Definition Machine.cpp:365
-
std::optional< std::reference_wrapper< FabBackend > > server
Definition Machine.hpp:104
-
auto setAllowed(bool new_allowed) -> void
Definition Machine.cpp:331
-
auto getGracePeriod() const -> std::chrono::seconds
Definition Machine.cpp:346
-
bool maintenanceNeeded
If true, machine needs maintenance.
Definition Machine.hpp:114
-
auto power_relay(bool on_or_off) -> void
sets the machine power to on (true) or off (false)
Definition Machine.cpp:136
-
auto delay(const milliseconds duration) -> void
Wait for a delay, allowing OTA updates.
Definition Tasks.cpp:250
+
auto getConfig() const -> std::optional< MachineConfig >
Returns the current configuration of the machine, used for testing.
Definition Machine.cpp:325
+
auto isAllowed() const -> bool
Definition Machine.cpp:330
+
bool allowed
If true, machine is allowed to be used by anybody.
Definition Machine.hpp:117
+
auto getAutologoffDelay() const -> std::chrono::seconds
Definition Machine.cpp:273
+
auto isFree() const -> bool
Indicates is the machine is not used by anybody.
Definition Machine.cpp:57
+
void configure(const MachineConfig &new_config, FabBackend &serv)
Configure the machine, it must be called before most methods.
Definition Machine.cpp:26
+
std::string maintenanceInfo
Definition Machine.hpp:119
+
std::optional< std::chrono::steady_clock::time_point > usage_start_timestamp
Definition Machine.hpp:110
+ +
std::optional< MachineConfig > config
Definition Machine.hpp:104
+
auto logout() -> void
Logoff the user and stop the usage timer.
Definition Machine.cpp:87
+
auto isShutdownImminent() const -> bool
Indicates if the machine will power down in less than BEEP_REMAINING_MINUTES.
Definition Machine.cpp:124
+
auto getMachineId() const -> MachineID
Returns the machine identifier.
Definition Machine.cpp:49
+
auto setMaintenanceNeeded(bool new_maintenance_needed) -> void
Definition Machine.cpp:345
+
auto getUsageDuration() const -> std::chrono::seconds
Duration of the current usage, or 0s.
Definition Machine.cpp:227
+
auto setMachineType(MachineType new_type) -> void
Sets the machine type as per backend configuration.
Definition Machine.cpp:310
+
std::optional< std::chrono::steady_clock::time_point > logoff_timestamp
Definition Machine.hpp:111
+
auto isConfigured() const -> bool
Indicates if the machine has been configured.
Definition Machine.cpp:320
+ +
auto setMaintenanceInfo(const std::string &new_description) -> void
Definition Machine.cpp:374
+
auto login(const FabUser &user) -> bool
Try to login the user and start the usage timer.
Definition Machine.cpp:65
+
auto setMachineName(const std::string &new_name) -> void
Sets the machine name as per backend configuration.
Definition Machine.cpp:298
+
auto setAutologoffDelay(std::chrono::seconds new_delay) -> void
Sets the delay after which the user will be logged off automatically.
Definition Machine.cpp:279
+
auto getMaintenanceInfo() const -> const std::string
Definition Machine.cpp:369
+
std::optional< std::reference_wrapper< FabBackend > > server
Definition Machine.hpp:105
+
auto setAllowed(bool new_allowed) -> void
Definition Machine.cpp:335
+
auto getGracePeriod() const -> std::chrono::seconds
Definition Machine.cpp:350
+
bool maintenanceNeeded
If true, machine needs maintenance.
Definition Machine.hpp:115
+
auto power_relay(bool on_or_off) -> void
sets the machine power to on (true) or off (false)
Definition Machine.cpp:137
+
auto delay(const milliseconds duration) -> void
Wait for a delay, allowing OTA updates.
Definition Tasks.cpp:266
+
auto arduinoNow() -> const std::chrono::steady_clock::time_point
Definition Tasks.hpp:15
static constexpr auto TIMEOUT_REPLY_SERVER
Timeout for a single backend reply request.
Definition conf.hpp:148
static constexpr auto MAX_TRIES
Number of tries to get a reply from the backend.
Definition conf.hpp:145
static constexpr std::string_view mqtt_switch_on_message
What value shall be written on the topic to switch on the Shelly device.
Definition conf.hpp:160
-
std::chrono::milliseconds milliseconds
+
std::chrono::milliseconds milliseconds
The unique machine identifier for the backend.
Definition MachineID.hpp:20
@@ -565,7 +570,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_machine_8hpp.xhtml b/_machine_8hpp.xhtml index 0d283860..5f204f84 100644 --- a/_machine_8hpp.xhtml +++ b/_machine_8hpp.xhtml @@ -86,6 +86,7 @@ $(function() { #include <array>
#include <chrono>
#include <cstdint>
+#include <optional>
Include dependency graph for Machine.hpp:
@@ -113,7 +114,7 @@ Namespaces
diff --git a/_machine_8hpp__incl.map b/_machine_8hpp__incl.map index bbd7dda2..3358239d 100644 --- a/_machine_8hpp__incl.map +++ b/_machine_8hpp__incl.map @@ -1,54 +1,58 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_machine_8hpp__incl.md5 b/_machine_8hpp__incl.md5 index 405e4125..f9ebbdf0 100644 --- a/_machine_8hpp__incl.md5 +++ b/_machine_8hpp__incl.md5 @@ -1 +1 @@ -526b9fe0d3144b840897c4f6ab699f4f \ No newline at end of file +774af88fa43b4c0379ec9d5dd022187b \ No newline at end of file diff --git a/_machine_8hpp__incl.svg b/_machine_8hpp__incl.svg index 3c26f727..ac29b3a3 100644 --- a/_machine_8hpp__incl.svg +++ b/_machine_8hpp__incl.svg @@ -46,7 +46,7 @@ @@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -Machine.hpp + +Machine.hpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -FabUser.hpp + +FabUser.hpp @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,17 +85,17 @@ var sectionId = 'dynsection-0'; Node8 - -cstdint + +cstdint - + Node1->Node8 - - - + + + @@ -103,53 +103,71 @@ var sectionId = 'dynsection-0'; Node10 - -chrono + +chrono - + Node1->Node10 - - - + + + - - -Node14 - - -array + + +Node15 + + +array - - -Node1->Node14 - - - + + +Node1->Node15 + + + - - -Node15 - - -MachineConfig.hpp + + +Node16 + + +MachineConfig.hpp - - -Node1->Node15 - - - + + +Node1->Node16 + + + + + + + + +Node20 + + +optional + + + + + +Node1->Node20 + + + @@ -157,8 +175,8 @@ var sectionId = 'dynsection-0'; Node3 - -Arduino.h + +Arduino.h @@ -166,8 +184,8 @@ var sectionId = 'dynsection-0'; Node2->Node3 - - + + @@ -175,8 +193,8 @@ var sectionId = 'dynsection-0'; Node4 - -card.hpp + +card.hpp @@ -184,8 +202,8 @@ var sectionId = 'dynsection-0'; Node2->Node4 - - + + @@ -193,17 +211,17 @@ var sectionId = 'dynsection-0'; Node5 - -sstream + +sstream - + Node2->Node5 - - - + + + @@ -211,26 +229,26 @@ var sectionId = 'dynsection-0'; Node7 - -conf.hpp + +conf.hpp - + Node2->Node7 - - - + + + - + Node2->Node8 - - - + + + @@ -238,26 +256,26 @@ var sectionId = 'dynsection-0'; Node9 - -string + +string - + Node2->Node9 - - - + + + - - -Node2->Node14 - - - + + +Node2->Node15 + + + @@ -265,8 +283,8 @@ var sectionId = 'dynsection-0'; Node4->Node3 - - + + @@ -274,8 +292,8 @@ var sectionId = 'dynsection-0'; Node4->Node5 - - + + @@ -283,8 +301,8 @@ var sectionId = 'dynsection-0'; Node6 - -iomanip + +iomanip @@ -292,8 +310,8 @@ var sectionId = 'dynsection-0'; Node4->Node6 - - + + @@ -301,8 +319,8 @@ var sectionId = 'dynsection-0'; Node4->Node7 - - + + @@ -310,8 +328,8 @@ var sectionId = 'dynsection-0'; Node12 - -Logging.hpp + +Logging.hpp @@ -319,8 +337,26 @@ var sectionId = 'dynsection-0'; Node4->Node12 - - + + + + + + + +Node14 + + +esp_mac.h + + + + + +Node4->Node14 + + + @@ -328,8 +364,8 @@ var sectionId = 'dynsection-0'; Node7->Node8 - - + + @@ -337,8 +373,8 @@ var sectionId = 'dynsection-0'; Node7->Node9 - - + + @@ -346,8 +382,8 @@ var sectionId = 'dynsection-0'; Node7->Node10 - - + + @@ -355,8 +391,8 @@ var sectionId = 'dynsection-0'; Node11 - -MachineID.hpp + +MachineID.hpp @@ -364,8 +400,8 @@ var sectionId = 'dynsection-0'; Node7->Node11 - - + + @@ -373,8 +409,8 @@ var sectionId = 'dynsection-0'; Node11->Node8 - - + + @@ -382,8 +418,8 @@ var sectionId = 'dynsection-0'; Node13 - -esp_log.h + +esp_log.h @@ -391,134 +427,134 @@ var sectionId = 'dynsection-0'; Node12->Node13 - - + + - - -Node15->Node7 - - - + + +Node16->Node7 + + + - - -Node15->Node8 - - - + + +Node16->Node8 + + + - - -Node15->Node9 - - - + + +Node16->Node9 + + + - - -Node15->Node10 - - - + + +Node16->Node10 + + + - - -Node15->Node11 - - - + + +Node16->Node11 + + + - - -Node16 - - -pins.hpp + + +Node17 + + +pins.hpp - - -Node15->Node16 - - - + + +Node16->Node17 + + + - - -Node16->Node8 - - - + + +Node17->Node8 + + + - - -Node17 - - -Adafruit_NeoPixel.h + + +Node18 + + +Adafruit_NeoPixel.h - - -Node16->Node17 - - - + + +Node17->Node18 + + + - - -Node18 - - -PinsConfig.hpp + + +Node19 + + +PinsConfig.hpp - - -Node16->Node18 - - - + + +Node17->Node19 + + + - - -Node18->Node8 - - - + + +Node19->Node8 + + + - - -Node18->Node14 - - - + + +Node19->Node15 + + + diff --git a/_machine_8hpp__incl_org.svg b/_machine_8hpp__incl_org.svg index edaec52f..bde79219 100644 --- a/_machine_8hpp__incl_org.svg +++ b/_machine_8hpp__incl_org.svg @@ -4,16 +4,16 @@ - + Machine.hpp Node1 - -Machine.hpp + +Machine.hpp @@ -21,8 +21,8 @@ Node2 - -FabUser.hpp + +FabUser.hpp @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,17 +39,17 @@ Node8 - -cstdint + +cstdint - + Node1->Node8 - - - + + + @@ -57,53 +57,71 @@ Node10 - -chrono + +chrono - + Node1->Node10 - - - + + + - - -Node14 - - -array + + +Node15 + + +array - - -Node1->Node14 - - - + + +Node1->Node15 + + + - - -Node15 - - -MachineConfig.hpp + + +Node16 + + +MachineConfig.hpp - - -Node1->Node15 - - - + + +Node1->Node16 + + + + + + + + +Node20 + + +optional + + + + + +Node1->Node20 + + + @@ -111,8 +129,8 @@ Node3 - -Arduino.h + +Arduino.h @@ -120,8 +138,8 @@ Node2->Node3 - - + + @@ -129,8 +147,8 @@ Node4 - -card.hpp + +card.hpp @@ -138,8 +156,8 @@ Node2->Node4 - - + + @@ -147,17 +165,17 @@ Node5 - -sstream + +sstream - + Node2->Node5 - - - + + + @@ -165,26 +183,26 @@ Node7 - -conf.hpp + +conf.hpp - + Node2->Node7 - - - + + + - + Node2->Node8 - - - + + + @@ -192,26 +210,26 @@ Node9 - -string + +string - + Node2->Node9 - - - + + + - - -Node2->Node14 - - - + + +Node2->Node15 + + + @@ -219,8 +237,8 @@ Node4->Node3 - - + + @@ -228,8 +246,8 @@ Node4->Node5 - - + + @@ -237,8 +255,8 @@ Node6 - -iomanip + +iomanip @@ -246,8 +264,8 @@ Node4->Node6 - - + + @@ -255,8 +273,8 @@ Node4->Node7 - - + + @@ -264,8 +282,8 @@ Node12 - -Logging.hpp + +Logging.hpp @@ -273,8 +291,26 @@ Node4->Node12 - - + + + + + + + +Node14 + + +esp_mac.h + + + + + +Node4->Node14 + + + @@ -282,8 +318,8 @@ Node7->Node8 - - + + @@ -291,8 +327,8 @@ Node7->Node9 - - + + @@ -300,8 +336,8 @@ Node7->Node10 - - + + @@ -309,8 +345,8 @@ Node11 - -MachineID.hpp + +MachineID.hpp @@ -318,8 +354,8 @@ Node7->Node11 - - + + @@ -327,8 +363,8 @@ Node11->Node8 - - + + @@ -336,8 +372,8 @@ Node13 - -esp_log.h + +esp_log.h @@ -345,134 +381,134 @@ Node12->Node13 - - + + - - -Node15->Node7 - - - + + +Node16->Node7 + + + - - -Node15->Node8 - - - + + +Node16->Node8 + + + - - -Node15->Node9 - - - + + +Node16->Node9 + + + - - -Node15->Node10 - - - + + +Node16->Node10 + + + - - -Node15->Node11 - - - + + +Node16->Node11 + + + - - -Node16 - - -pins.hpp + + +Node17 + + +pins.hpp - - -Node15->Node16 - - - + + +Node16->Node17 + + + - - -Node16->Node8 - - - + + +Node17->Node8 + + + - - -Node17 - - -Adafruit_NeoPixel.h + + +Node18 + + +Adafruit_NeoPixel.h - - -Node16->Node17 - - - + + +Node17->Node18 + + + - - -Node18 - - -PinsConfig.hpp + + +Node19 + + +PinsConfig.hpp - - -Node16->Node18 - - - + + +Node17->Node19 + + + - - -Node18->Node8 - - - + + +Node19->Node8 + + + - - -Node18->Node14 - - - + + +Node19->Node15 + + + diff --git a/_machine_8hpp_source.xhtml b/_machine_8hpp_source.xhtml index 54d4b3cc..555b8eed 100644 --- a/_machine_8hpp_source.xhtml +++ b/_machine_8hpp_source.xhtml @@ -91,161 +91,162 @@ $(document).ready(function() { init_codefold(0); });
6#include <array>
7#include <chrono>
8#include <cstdint>
-
9
-
10namespace fabomatic
-
11{
-
12 class FabBackend;
-
13
-
-
15 class Machine
-
16 {
-
17 public:
-
-
18 enum class PowerState : uint8_t
-
19 {
-
20 Unknown,
- - - -
24 };
+
9#include <optional>
+
10
+
11namespace fabomatic
+
12{
+
13 class FabBackend;
+
14
+
+
16 class Machine
+
17 {
+
18 public:
+
+
19 enum class PowerState : uint8_t
+
20 {
+
21 Unknown,
+ + + +
25 };
-
25
-
26 Machine() = default;
-
27 ~Machine() = default;
-
28 Machine(const Machine &) = delete; // copy constructor
-
29 Machine &operator=(const Machine &x) = delete; // copy assignment
-
30 Machine(Machine &&) = delete; // move constructor
-
31 Machine &operator=(Machine &&) = delete; // move assignment
-
32
-
33 auto getActiveUser() const -> FabUser;
-
34
-
36 void configure(const MachineConfig &new_config, FabBackend &serv);
-
37
-
38 [[nodiscard]] auto getMachineId() const -> MachineID;
-
39 [[nodiscard]] auto getMachineName() const -> const std::string;
-
40
-
42 [[nodiscard]] auto getUsageDuration() const -> std::chrono::seconds;
-
43
-
44 [[nodiscard]] auto getAutologoffDelay() const -> std::chrono::seconds;
-
45
-
46 [[nodiscard]] auto getGracePeriod() const -> std::chrono::seconds;
-
47
-
49 auto login(const FabUser &user) -> bool;
-
50
-
52 auto logout() -> void;
-
53
-
55 auto setAutologoffDelay(std::chrono::seconds new_delay) -> void;
-
56
-
58 auto setGracePeriod(std::chrono::seconds new_delay) -> void;
-
59
-
62 auto power(bool on_or_off) -> void;
-
63
-
66 auto setMachineName(const std::string &new_name) -> void;
-
67
-
69 auto setMachineType(MachineType new_type) -> void;
-
70
-
72 [[nodiscard]] auto getPowerState() const -> PowerState;
-
73
-
75 [[nodiscard]] auto isShutdownImminent() const -> bool;
-
76
-
78 [[nodiscard]] auto isFree() const -> bool;
-
79
-
81 [[nodiscard]] auto canPowerOff() const -> bool;
-
82
-
83 [[nodiscard]] auto toString() const -> const std::string;
-
84
-
86 [[nodiscard]] auto isAutologoffExpired() const -> bool;
-
87
-
89 [[nodiscard]] auto isConfigured() const -> bool;
-
90
-
92 [[nodiscard]] auto getConfig() const -> std::optional<MachineConfig>;
-
93
-
94 auto isAllowed() const -> bool;
-
95 auto setAllowed(bool new_allowed) -> void;
-
96 auto isMaintenanceNeeded() const -> bool;
-
97 auto setMaintenanceNeeded(bool new_maintenance_needed) -> void;
-
98
-
99 [[nodiscard]] auto getMaintenanceInfo() const -> const std::string;
-
100 auto setMaintenanceInfo(const std::string &new_description) -> void;
-
101
-
102 private:
-
103 std::optional<MachineConfig> config{std::nullopt};
-
104 std::optional<std::reference_wrapper<FabBackend>> server{std::nullopt};
-
105
-
106 bool active{false};
- -
108
-
109 std::optional<std::chrono::time_point<std::chrono::system_clock>> usage_start_timestamp{std::nullopt}; // When did the machine start?
-
110 std::optional<std::chrono::time_point<std::chrono::system_clock>> logoff_timestamp{std::nullopt}; // When did the last user log off?
- -
112
-
114 bool maintenanceNeeded{false};
-
116 bool allowed{true};
-
117
-
118 std::string maintenanceInfo{""};
-
119
-
120 auto power_mqtt(bool on_or_off) -> void;
-
121 auto power_relay(bool on_or_off) -> void;
-
122 };
+
26
+
27 Machine() = default;
+
28 ~Machine() = default;
+
29 Machine(const Machine &) = delete; // copy constructor
+
30 Machine &operator=(const Machine &x) = delete; // copy assignment
+
31 Machine(Machine &&) = delete; // move constructor
+
32 Machine &operator=(Machine &&) = delete; // move assignment
+
33
+
34 auto getActiveUser() const -> FabUser;
+
35
+
37 void configure(const MachineConfig &new_config, FabBackend &serv);
+
38
+
39 [[nodiscard]] auto getMachineId() const -> MachineID;
+
40 [[nodiscard]] auto getMachineName() const -> const std::string;
+
41
+
43 [[nodiscard]] auto getUsageDuration() const -> std::chrono::seconds;
+
44
+
45 [[nodiscard]] auto getAutologoffDelay() const -> std::chrono::seconds;
+
46
+
47 [[nodiscard]] auto getGracePeriod() const -> std::chrono::seconds;
+
48
+
50 auto login(const FabUser &user) -> bool;
+
51
+
53 auto logout() -> void;
+
54
+
56 auto setAutologoffDelay(std::chrono::seconds new_delay) -> void;
+
57
+
59 auto setGracePeriod(std::chrono::seconds new_delay) -> void;
+
60
+
63 auto power(bool on_or_off) -> void;
+
64
+
67 auto setMachineName(const std::string &new_name) -> void;
+
68
+
70 auto setMachineType(MachineType new_type) -> void;
+
71
+
73 [[nodiscard]] auto getPowerState() const -> PowerState;
+
74
+
76 [[nodiscard]] auto isShutdownImminent() const -> bool;
+
77
+
79 [[nodiscard]] auto isFree() const -> bool;
+
80
+
82 [[nodiscard]] auto canPowerOff() const -> bool;
+
83
+
84 [[nodiscard]] auto toString() const -> const std::string;
+
85
+
87 [[nodiscard]] auto isAutologoffExpired() const -> bool;
+
88
+
90 [[nodiscard]] auto isConfigured() const -> bool;
+
91
+
93 [[nodiscard]] auto getConfig() const -> std::optional<MachineConfig>;
+
94
+
95 auto isAllowed() const -> bool;
+
96 auto setAllowed(bool new_allowed) -> void;
+
97 auto isMaintenanceNeeded() const -> bool;
+
98 auto setMaintenanceNeeded(bool new_maintenance_needed) -> void;
+
99
+
100 [[nodiscard]] auto getMaintenanceInfo() const -> const std::string;
+
101 auto setMaintenanceInfo(const std::string &new_description) -> void;
+
102
+
103 private:
+
104 std::optional<MachineConfig> config{std::nullopt};
+
105 std::optional<std::reference_wrapper<FabBackend>> server{std::nullopt};
+
106
+
107 bool active{false};
+ +
109
+
110 std::optional<std::chrono::steady_clock::time_point> usage_start_timestamp{std::nullopt}; // When did the machine start?
+
111 std::optional<std::chrono::steady_clock::time_point> logoff_timestamp{std::nullopt}; // When did the last user log off?
+ +
113
+
115 bool maintenanceNeeded{false};
+
117 bool allowed{true};
+
118
+
119 std::string maintenanceInfo{""};
+
120
+
121 auto power_mqtt(bool on_or_off) -> void;
+
122 auto power_relay(bool on_or_off) -> void;
+
123 };
-
123} // namespace fabomatic
-
124#endif // MACHINE_HPP_
+
124} // namespace fabomatic
+
125#endif // MACHINE_HPP_
MachineType
Classification of the machine.
Definition MachineID.hpp:9
This class is used to exchange messages with the MQTT broker and the backend.
-
Represents the FabLab machine connected to the board.
Definition Machine.hpp:16
-
auto isAutologoffExpired() const -> bool
Indicates ff the user shall be logged off automatically.
Definition Machine.cpp:288
-
auto power(bool on_or_off) -> void
Powers the machine on or off using relay/MQTT/both.
Definition Machine.cpp:203
-
auto canPowerOff() const -> bool
Indicates if POWEROFF_DELAY_MINUTES delay has expired,and the machine is still idle.
Definition Machine.cpp:110
-
auto power_mqtt(bool on_or_off) -> void
sets the machine power to on (true) or off (false)
Definition Machine.cpp:165
+
Represents the FabLab machine connected to the board.
Definition Machine.hpp:17
+
auto isAutologoffExpired() const -> bool
Indicates ff the user shall be logged off automatically.
Definition Machine.cpp:292
+
auto power(bool on_or_off) -> void
Powers the machine on or off using relay/MQTT/both.
Definition Machine.cpp:204
+
auto canPowerOff() const -> bool
Indicates if POWEROFF_DELAY_MINUTES delay has expired,and the machine is still idle.
Definition Machine.cpp:111
+
auto power_mqtt(bool on_or_off) -> void
sets the machine power to on (true) or off (false)
Definition Machine.cpp:166
Machine & operator=(const Machine &x)=delete
-
auto getMachineName() const -> const std::string
Definition Machine.cpp:235
+
auto getMachineName() const -> const std::string
Definition Machine.cpp:236
Machine(Machine &&)=delete
-
std::optional< std::chrono::time_point< std::chrono::system_clock > > usage_start_timestamp
Definition Machine.hpp:109
-
PowerState power_state
Definition Machine.hpp:111
-
auto setGracePeriod(std::chrono::seconds new_delay) -> void
Sets the idle period after which the machine will power off automatically.
Definition Machine.cpp:352
-
auto isMaintenanceNeeded() const -> bool
Definition Machine.cpp:336
-
auto getActiveUser() const -> FabUser
Definition Machine.cpp:219
-
auto toString() const -> const std::string
Definition Machine.cpp:241
+
PowerState power_state
Definition Machine.hpp:112
+
auto setGracePeriod(std::chrono::seconds new_delay) -> void
Sets the idle period after which the machine will power off automatically.
Definition Machine.cpp:356
+
auto isMaintenanceNeeded() const -> bool
Definition Machine.cpp:340
+
auto getActiveUser() const -> FabUser
Definition Machine.cpp:220
+
auto toString() const -> const std::string
Definition Machine.cpp:242
Machine & operator=(Machine &&)=delete
-
auto getPowerState() const -> PowerState
Returns the current power state of the machine.
Definition Machine.cpp:80
- +
auto getPowerState() const -> PowerState
Returns the current power state of the machine.
Definition Machine.cpp:81
+ -
auto getConfig() const -> std::optional< MachineConfig >
Returns the current configuration of the machine, used for testing.
Definition Machine.cpp:321
-
auto isAllowed() const -> bool
Definition Machine.cpp:326
-
bool allowed
If true, machine is allowed to be used by anybody.
Definition Machine.hpp:116
-
auto getAutologoffDelay() const -> std::chrono::seconds
Definition Machine.cpp:269
-
auto isFree() const -> bool
Indicates is the machine is not used by anybody.
Definition Machine.cpp:56
-
void configure(const MachineConfig &new_config, FabBackend &serv)
Configure the machine, it must be called before most methods.
Definition Machine.cpp:25
-
std::string maintenanceInfo
Definition Machine.hpp:118
- +
auto getConfig() const -> std::optional< MachineConfig >
Returns the current configuration of the machine, used for testing.
Definition Machine.cpp:325
+
auto isAllowed() const -> bool
Definition Machine.cpp:330
+
bool allowed
If true, machine is allowed to be used by anybody.
Definition Machine.hpp:117
+
auto getAutologoffDelay() const -> std::chrono::seconds
Definition Machine.cpp:273
+
auto isFree() const -> bool
Indicates is the machine is not used by anybody.
Definition Machine.cpp:57
+
void configure(const MachineConfig &new_config, FabBackend &serv)
Configure the machine, it must be called before most methods.
Definition Machine.cpp:26
+
std::string maintenanceInfo
Definition Machine.hpp:119
+
std::optional< std::chrono::steady_clock::time_point > usage_start_timestamp
Definition Machine.hpp:110
+ -
std::optional< MachineConfig > config
Definition Machine.hpp:103
-
auto logout() -> void
Logoff the user and stop the usage timer.
Definition Machine.cpp:86
-
auto isShutdownImminent() const -> bool
Indicates if the machine will power down in less than BEEP_REMAINING_MINUTES.
Definition Machine.cpp:123
-
auto getMachineId() const -> MachineID
Returns the machine identifier.
Definition Machine.cpp:48
-
auto setMaintenanceNeeded(bool new_maintenance_needed) -> void
Definition Machine.cpp:341
-
std::optional< std::chrono::time_point< std::chrono::system_clock > > logoff_timestamp
Definition Machine.hpp:110
-
auto getUsageDuration() const -> std::chrono::seconds
Duration of the current usage, or 0s.
Definition Machine.cpp:226
-
auto setMachineType(MachineType new_type) -> void
Sets the machine type as per backend configuration.
Definition Machine.cpp:306
-
auto isConfigured() const -> bool
Indicates if the machine has been configured.
Definition Machine.cpp:316
- -
auto setMaintenanceInfo(const std::string &new_description) -> void
Definition Machine.cpp:370
-
auto login(const FabUser &user) -> bool
Try to login the user and start the usage timer.
Definition Machine.cpp:64
-
auto setMachineName(const std::string &new_name) -> void
Sets the machine name as per backend configuration.
Definition Machine.cpp:294
-
auto setAutologoffDelay(std::chrono::seconds new_delay) -> void
Sets the delay after which the user will be logged off automatically.
Definition Machine.cpp:275
+
std::optional< MachineConfig > config
Definition Machine.hpp:104
+
auto logout() -> void
Logoff the user and stop the usage timer.
Definition Machine.cpp:87
+
auto isShutdownImminent() const -> bool
Indicates if the machine will power down in less than BEEP_REMAINING_MINUTES.
Definition Machine.cpp:124
+
auto getMachineId() const -> MachineID
Returns the machine identifier.
Definition Machine.cpp:49
+
auto setMaintenanceNeeded(bool new_maintenance_needed) -> void
Definition Machine.cpp:345
+
auto getUsageDuration() const -> std::chrono::seconds
Duration of the current usage, or 0s.
Definition Machine.cpp:227
+
auto setMachineType(MachineType new_type) -> void
Sets the machine type as per backend configuration.
Definition Machine.cpp:310
+
std::optional< std::chrono::steady_clock::time_point > logoff_timestamp
Definition Machine.hpp:111
+
auto isConfigured() const -> bool
Indicates if the machine has been configured.
Definition Machine.cpp:320
+ +
auto setMaintenanceInfo(const std::string &new_description) -> void
Definition Machine.cpp:374
+
auto login(const FabUser &user) -> bool
Try to login the user and start the usage timer.
Definition Machine.cpp:65
+
auto setMachineName(const std::string &new_name) -> void
Sets the machine name as per backend configuration.
Definition Machine.cpp:298
+
auto setAutologoffDelay(std::chrono::seconds new_delay) -> void
Sets the delay after which the user will be logged off automatically.
Definition Machine.cpp:279
Machine(const Machine &)=delete
-
auto getMaintenanceInfo() const -> const std::string
Definition Machine.cpp:365
-
std::optional< std::reference_wrapper< FabBackend > > server
Definition Machine.hpp:104
-
auto setAllowed(bool new_allowed) -> void
Definition Machine.cpp:331
-
auto getGracePeriod() const -> std::chrono::seconds
Definition Machine.cpp:346
-
bool maintenanceNeeded
If true, machine needs maintenance.
Definition Machine.hpp:114
-
auto power_relay(bool on_or_off) -> void
sets the machine power to on (true) or off (false)
Definition Machine.cpp:136
+
auto getMaintenanceInfo() const -> const std::string
Definition Machine.cpp:369
+
std::optional< std::reference_wrapper< FabBackend > > server
Definition Machine.hpp:105
+
auto setAllowed(bool new_allowed) -> void
Definition Machine.cpp:335
+
auto getGracePeriod() const -> std::chrono::seconds
Definition Machine.cpp:350
+
bool maintenanceNeeded
If true, machine needs maintenance.
Definition Machine.hpp:115
+
auto power_relay(bool on_or_off) -> void
sets the machine power to on (true) or off (false)
Definition Machine.cpp:137
The unique machine identifier for the backend.
Definition MachineID.hpp:20
Represents a user with access level, name, RFID tag, and auth result.
Definition FabUser.hpp:16
@@ -253,7 +254,7 @@ $(document).ready(function() { init_codefold(0); });
diff --git a/_machine_config_8cpp.xhtml b/_machine_config_8cpp.xhtml index 01bf755a..f8ad7bdb 100644 --- a/_machine_config_8cpp.xhtml +++ b/_machine_config_8cpp.xhtml @@ -98,7 +98,7 @@ Namespaces
diff --git a/_machine_config_8cpp_source.xhtml b/_machine_config_8cpp_source.xhtml index d448337a..35645e97 100644 --- a/_machine_config_8cpp_source.xhtml +++ b/_machine_config_8cpp_source.xhtml @@ -139,7 +139,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_machine_config_8hpp.xhtml b/_machine_config_8hpp.xhtml index 31bbe5d5..0c0d8d96 100644 --- a/_machine_config_8hpp.xhtml +++ b/_machine_config_8hpp.xhtml @@ -114,7 +114,7 @@ Namespaces diff --git a/_machine_config_8hpp_source.xhtml b/_machine_config_8hpp_source.xhtml index c75e1dc3..62100fd4 100644 --- a/_machine_config_8hpp_source.xhtml +++ b/_machine_config_8hpp_source.xhtml @@ -161,7 +161,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_machine_i_d_8hpp.xhtml b/_machine_i_d_8hpp.xhtml index 7d97893d..cc08bccd 100644 --- a/_machine_i_d_8hpp.xhtml +++ b/_machine_i_d_8hpp.xhtml @@ -169,7 +169,7 @@ Enumerations diff --git a/_machine_i_d_8hpp_source.xhtml b/_machine_i_d_8hpp_source.xhtml index a35c3a99..0e661e9b 100644 --- a/_machine_i_d_8hpp_source.xhtml +++ b/_machine_i_d_8hpp_source.xhtml @@ -127,7 +127,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_mock_m_q_t_t_broker_8cpp.xhtml b/_mock_m_q_t_t_broker_8cpp.xhtml index 8f2dc871..80296f42 100644 --- a/_mock_m_q_t_t_broker_8cpp.xhtml +++ b/_mock_m_q_t_t_broker_8cpp.xhtml @@ -134,7 +134,7 @@ Variables diff --git a/_mock_m_q_t_t_broker_8cpp__incl.map b/_mock_m_q_t_t_broker_8cpp__incl.map index 72519fb7..93c1850d 100644 --- a/_mock_m_q_t_t_broker_8cpp__incl.map +++ b/_mock_m_q_t_t_broker_8cpp__incl.map @@ -1,85 +1,88 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_mock_m_q_t_t_broker_8cpp__incl.md5 b/_mock_m_q_t_t_broker_8cpp__incl.md5 index 72341a9f..85bc7525 100644 --- a/_mock_m_q_t_t_broker_8cpp__incl.md5 +++ b/_mock_m_q_t_t_broker_8cpp__incl.md5 @@ -1 +1 @@ -7060e0d571bc118143d3b5f47baae0e3 \ No newline at end of file +10d8f2e02d4e82365e023ce475121ef7 \ No newline at end of file diff --git a/_mock_m_q_t_t_broker_8cpp__incl.svg b/_mock_m_q_t_t_broker_8cpp__incl.svg index eae6612c..74a729ae 100644 --- a/_mock_m_q_t_t_broker_8cpp__incl.svg +++ b/_mock_m_q_t_t_broker_8cpp__incl.svg @@ -46,7 +46,7 @@
@@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -MockMQTTBroker.cpp + +MockMQTTBroker.cpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -mock/MockMQTTBroker.hpp + +mock/MockMQTTBroker.hpp @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,17 +85,17 @@ var sectionId = 'dynsection-0'; Node13 - -conf.hpp + +conf.hpp - + Node1->Node13 - - - + + + @@ -103,53 +103,53 @@ var sectionId = 'dynsection-0'; Node17 - -Logging.hpp + +Logging.hpp - + Node1->Node17 - - - + + + - - -Node20 - - -secrets.hpp + + +Node21 + + +secrets.hpp - - -Node1->Node20 - - - + + +Node1->Node21 + + + - - -Node29 - - -ArduinoJson.h + + +Node30 + + +ArduinoJson.h - - -Node1->Node29 - - - + + +Node1->Node30 + + + @@ -157,8 +157,8 @@ var sectionId = 'dynsection-0'; Node3 - -mutex + +mutex @@ -166,8 +166,8 @@ var sectionId = 'dynsection-0'; Node2->Node3 - - + + @@ -175,8 +175,8 @@ var sectionId = 'dynsection-0'; Node4 - -functional + +functional @@ -184,8 +184,8 @@ var sectionId = 'dynsection-0'; Node2->Node4 - - + + @@ -193,8 +193,8 @@ var sectionId = 'dynsection-0'; Node5 - -queue + +queue @@ -202,8 +202,8 @@ var sectionId = 'dynsection-0'; Node2->Node5 - - + + @@ -211,8 +211,8 @@ var sectionId = 'dynsection-0'; Node6 - -string + +string @@ -220,8 +220,8 @@ var sectionId = 'dynsection-0'; Node2->Node6 - - + + @@ -229,8 +229,8 @@ var sectionId = 'dynsection-0'; Node7 - -BaseRfidWrapper.hpp + +BaseRfidWrapper.hpp @@ -238,26 +238,26 @@ var sectionId = 'dynsection-0'; Node2->Node7 - - + + - - -Node19 - - -sMQTTBroker.h + + +Node20 + + +sMQTTBroker.h - - -Node2->Node19 - - - + + +Node2->Node20 + + + @@ -265,8 +265,8 @@ var sectionId = 'dynsection-0'; Node8 - -optional + +optional @@ -274,8 +274,8 @@ var sectionId = 'dynsection-0'; Node7->Node8 - - + + @@ -283,8 +283,8 @@ var sectionId = 'dynsection-0'; Node9 - -card.hpp + +card.hpp @@ -292,8 +292,8 @@ var sectionId = 'dynsection-0'; Node7->Node9 - - + + @@ -301,8 +301,8 @@ var sectionId = 'dynsection-0'; Node10 - -sstream + +sstream @@ -310,8 +310,8 @@ var sectionId = 'dynsection-0'; Node9->Node10 - - + + @@ -319,8 +319,8 @@ var sectionId = 'dynsection-0'; Node11 - -iomanip + +iomanip @@ -328,8 +328,8 @@ var sectionId = 'dynsection-0'; Node9->Node11 - - + + @@ -337,8 +337,8 @@ var sectionId = 'dynsection-0'; Node12 - -Arduino.h + +Arduino.h @@ -346,8 +346,8 @@ var sectionId = 'dynsection-0'; Node9->Node12 - - + + @@ -355,8 +355,8 @@ var sectionId = 'dynsection-0'; Node9->Node13 - - + + @@ -364,8 +364,26 @@ var sectionId = 'dynsection-0'; Node9->Node17 - - + + + + + + + +Node19 + + +esp_mac.h + + + + + +Node9->Node19 + + + @@ -373,8 +391,8 @@ var sectionId = 'dynsection-0'; Node13->Node6 - - + + @@ -382,8 +400,8 @@ var sectionId = 'dynsection-0'; Node14 - -cstdint + +cstdint @@ -391,8 +409,8 @@ var sectionId = 'dynsection-0'; Node13->Node14 - - + + @@ -400,8 +418,8 @@ var sectionId = 'dynsection-0'; Node15 - -chrono + +chrono @@ -409,8 +427,8 @@ var sectionId = 'dynsection-0'; Node13->Node15 - - + + @@ -418,8 +436,8 @@ var sectionId = 'dynsection-0'; Node16 - -MachineID.hpp + +MachineID.hpp @@ -427,8 +445,8 @@ var sectionId = 'dynsection-0'; Node13->Node16 - - + + @@ -436,8 +454,8 @@ var sectionId = 'dynsection-0'; Node16->Node14 - - + + @@ -445,8 +463,8 @@ var sectionId = 'dynsection-0'; Node18 - -esp_log.h + +esp_log.h @@ -454,44 +472,26 @@ var sectionId = 'dynsection-0'; Node17->Node18 - - - - - - - -Node20->Node13 - - - + + - - -Node20->Node14 - - - + + +Node21->Node13 + + + - - -Node21 - - -array - - - - - -Node20->Node21 - - - + + +Node21->Node14 + + + @@ -499,305 +499,332 @@ var sectionId = 'dynsection-0'; Node22 - -string_view + +array - - -Node20->Node22 - - - + + +Node21->Node22 + + + Node23 - - -MachineConfig.hpp + + +string_view - - -Node20->Node23 - - - + + +Node21->Node23 + + + - - -Node27 - - -Machine.hpp + + +Node24 + + +MachineConfig.hpp - - -Node20->Node27 - - - + + +Node21->Node24 + + + Node28 - - -FabUser.hpp + + +Machine.hpp - - -Node20->Node28 - - - + + +Node21->Node28 + + + - - -Node23->Node6 - - - - - - - - -Node23->Node13 - - - + + +Node29 + + +FabUser.hpp - - -Node23->Node14 - - - + + +Node21->Node29 + + + - - -Node23->Node15 - - - + + +Node24->Node6 + + + - - -Node23->Node16 - - - + + +Node24->Node13 + + + - - -Node24 - - -pins.hpp + + +Node24->Node14 + + + - - -Node23->Node24 - - - + + +Node24->Node15 + + + - - -Node24->Node14 - - - + + +Node24->Node16 + + + Node25 - - -Adafruit_NeoPixel.h + + +pins.hpp - + Node24->Node25 - - - + + + + + + + + +Node25->Node14 + + + Node26 - - -PinsConfig.hpp + + +Adafruit_NeoPixel.h - - -Node24->Node26 - - - + + +Node25->Node26 + + + - - -Node26->Node14 - - - + + +Node27 + + +PinsConfig.hpp - - -Node26->Node21 - - - + + +Node25->Node27 + + + - + Node27->Node14 - - - + + + - - -Node27->Node15 - - - + + +Node27->Node22 + + + - - -Node27->Node21 - - - + + +Node28->Node8 + + + - - -Node27->Node23 - - - + + +Node28->Node14 + + + - - -Node27->Node28 - - - + + +Node28->Node15 + + + - - -Node28->Node6 - - - + + +Node28->Node22 + + + - - -Node28->Node9 - - - + + +Node28->Node24 + + + - - -Node28->Node10 - - - + + +Node28->Node29 + + + - - -Node28->Node12 - - - + + +Node29->Node6 + + + - - -Node28->Node13 - - - + + +Node29->Node9 + + + - - -Node28->Node14 - - - + + +Node29->Node10 + + + + + + + + +Node29->Node12 + + + + + + + + +Node29->Node13 + + + + + + + + +Node29->Node14 + + + - - -Node28->Node21 - - - + + +Node29->Node22 + + + diff --git a/_mock_m_q_t_t_broker_8cpp__incl_org.svg b/_mock_m_q_t_t_broker_8cpp__incl_org.svg index 16a816fd..ceb35029 100644 --- a/_mock_m_q_t_t_broker_8cpp__incl_org.svg +++ b/_mock_m_q_t_t_broker_8cpp__incl_org.svg @@ -4,16 +4,16 @@ - + MockMQTTBroker.cpp Node1 - -MockMQTTBroker.cpp + +MockMQTTBroker.cpp @@ -21,8 +21,8 @@ Node2 - -mock/MockMQTTBroker.hpp + +mock/MockMQTTBroker.hpp @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,17 +39,17 @@ Node13 - -conf.hpp + +conf.hpp - + Node1->Node13 - - - + + + @@ -57,53 +57,53 @@ Node17 - -Logging.hpp + +Logging.hpp - + Node1->Node17 - - - + + + - - -Node20 - - -secrets.hpp + + +Node21 + + +secrets.hpp - - -Node1->Node20 - - - + + +Node1->Node21 + + + - - -Node29 - - -ArduinoJson.h + + +Node30 + + +ArduinoJson.h - - -Node1->Node29 - - - + + +Node1->Node30 + + + @@ -111,8 +111,8 @@ Node3 - -mutex + +mutex @@ -120,8 +120,8 @@ Node2->Node3 - - + + @@ -129,8 +129,8 @@ Node4 - -functional + +functional @@ -138,8 +138,8 @@ Node2->Node4 - - + + @@ -147,8 +147,8 @@ Node5 - -queue + +queue @@ -156,8 +156,8 @@ Node2->Node5 - - + + @@ -165,8 +165,8 @@ Node6 - -string + +string @@ -174,8 +174,8 @@ Node2->Node6 - - + + @@ -183,8 +183,8 @@ Node7 - -BaseRfidWrapper.hpp + +BaseRfidWrapper.hpp @@ -192,26 +192,26 @@ Node2->Node7 - - + + - - -Node19 - - -sMQTTBroker.h + + +Node20 + + +sMQTTBroker.h - - -Node2->Node19 - - - + + +Node2->Node20 + + + @@ -219,8 +219,8 @@ Node8 - -optional + +optional @@ -228,8 +228,8 @@ Node7->Node8 - - + + @@ -237,8 +237,8 @@ Node9 - -card.hpp + +card.hpp @@ -246,8 +246,8 @@ Node7->Node9 - - + + @@ -255,8 +255,8 @@ Node10 - -sstream + +sstream @@ -264,8 +264,8 @@ Node9->Node10 - - + + @@ -273,8 +273,8 @@ Node11 - -iomanip + +iomanip @@ -282,8 +282,8 @@ Node9->Node11 - - + + @@ -291,8 +291,8 @@ Node12 - -Arduino.h + +Arduino.h @@ -300,8 +300,8 @@ Node9->Node12 - - + + @@ -309,8 +309,8 @@ Node9->Node13 - - + + @@ -318,8 +318,26 @@ Node9->Node17 - - + + + + + + + +Node19 + + +esp_mac.h + + + + + +Node9->Node19 + + + @@ -327,8 +345,8 @@ Node13->Node6 - - + + @@ -336,8 +354,8 @@ Node14 - -cstdint + +cstdint @@ -345,8 +363,8 @@ Node13->Node14 - - + + @@ -354,8 +372,8 @@ Node15 - -chrono + +chrono @@ -363,8 +381,8 @@ Node13->Node15 - - + + @@ -372,8 +390,8 @@ Node16 - -MachineID.hpp + +MachineID.hpp @@ -381,8 +399,8 @@ Node13->Node16 - - + + @@ -390,8 +408,8 @@ Node16->Node14 - - + + @@ -399,8 +417,8 @@ Node18 - -esp_log.h + +esp_log.h @@ -408,44 +426,26 @@ Node17->Node18 - - - - - - - -Node20->Node13 - - - + + - - -Node20->Node14 - - - + + +Node21->Node13 + + + - - -Node21 - - -array - - - - - -Node20->Node21 - - - + + +Node21->Node14 + + + @@ -453,305 +453,332 @@ Node22 - -string_view + +array - - -Node20->Node22 - - - + + +Node21->Node22 + + + Node23 - - -MachineConfig.hpp + + +string_view - - -Node20->Node23 - - - + + +Node21->Node23 + + + - - -Node27 - - -Machine.hpp + + +Node24 + + +MachineConfig.hpp - - -Node20->Node27 - - - + + +Node21->Node24 + + + Node28 - - -FabUser.hpp + + +Machine.hpp - - -Node20->Node28 - - - + + +Node21->Node28 + + + - - -Node23->Node6 - - - - - - - - -Node23->Node13 - - - + + +Node29 + + +FabUser.hpp - - -Node23->Node14 - - - + + +Node21->Node29 + + + - - -Node23->Node15 - - - + + +Node24->Node6 + + + - - -Node23->Node16 - - - + + +Node24->Node13 + + + - - -Node24 - - -pins.hpp + + +Node24->Node14 + + + - - -Node23->Node24 - - - + + +Node24->Node15 + + + - - -Node24->Node14 - - - + + +Node24->Node16 + + + Node25 - - -Adafruit_NeoPixel.h + + +pins.hpp - + Node24->Node25 - - - + + + + + + + + +Node25->Node14 + + + Node26 - - -PinsConfig.hpp + + +Adafruit_NeoPixel.h - - -Node24->Node26 - - - + + +Node25->Node26 + + + - - -Node26->Node14 - - - + + +Node27 + + +PinsConfig.hpp - - -Node26->Node21 - - - + + +Node25->Node27 + + + - + Node27->Node14 - - - + + + - - -Node27->Node15 - - - + + +Node27->Node22 + + + - - -Node27->Node21 - - - + + +Node28->Node8 + + + - - -Node27->Node23 - - - + + +Node28->Node14 + + + - - -Node27->Node28 - - - + + +Node28->Node15 + + + - - -Node28->Node6 - - - + + +Node28->Node22 + + + - - -Node28->Node9 - - - + + +Node28->Node24 + + + - - -Node28->Node10 - - - + + +Node28->Node29 + + + - - -Node28->Node12 - - - + + +Node29->Node6 + + + - - -Node28->Node13 - - - + + +Node29->Node9 + + + - - -Node28->Node14 - - - + + +Node29->Node10 + + + + + + + + +Node29->Node12 + + + + + + + + +Node29->Node13 + + + + + + + + +Node29->Node14 + + + - - -Node28->Node21 - - - + + +Node29->Node22 + + + diff --git a/_mock_m_q_t_t_broker_8cpp_source.xhtml b/_mock_m_q_t_t_broker_8cpp_source.xhtml index e3c561da..c18d8a4d 100644 --- a/_mock_m_q_t_t_broker_8cpp_source.xhtml +++ b/_mock_m_q_t_t_broker_8cpp_source.xhtml @@ -315,7 +315,7 @@ $(document).ready(function() { init_codefold(0); });
auto start() -> void
Starts the MQTT broker.
auto defaultReplies(const std::string &query) const -> const std::string
Provides fake server replies for testing purposes.
-
auto uid_str(const card::uid_t uid) -> const std::string
Returns a string representation of the UID.
Definition card.hpp:22
+
auto uid_str(const card::uid_t uid) -> const std::string
Returns a string representation of the UID.
Definition card.hpp:23
static constexpr std::string_view mqtt_switch_topic
In case Shelly is used, name of the topic on MQTT Broker.
Definition conf.hpp:157
static constexpr auto PORT_NUMBER
MQTT port for broker.
Definition conf.hpp:151
static constexpr WhiteList whitelist
Static list of whitelisted RFID cards.
Definition secrets.hpp:23
@@ -326,7 +326,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_mock_m_q_t_t_broker_8hpp.xhtml b/_mock_m_q_t_t_broker_8hpp.xhtml index 29763f44..906c3f61 100644 --- a/_mock_m_q_t_t_broker_8hpp.xhtml +++ b/_mock_m_q_t_t_broker_8hpp.xhtml @@ -116,7 +116,7 @@ Namespaces diff --git a/_mock_m_q_t_t_broker_8hpp__incl.map b/_mock_m_q_t_t_broker_8hpp__incl.map index 91b931d9..7b285445 100644 --- a/_mock_m_q_t_t_broker_8hpp__incl.map +++ b/_mock_m_q_t_t_broker_8hpp__incl.map @@ -10,22 +10,24 @@ - - + + - - + + - + - + - + - - - + + + + + @@ -35,5 +37,5 @@ - + diff --git a/_mock_m_q_t_t_broker_8hpp__incl.md5 b/_mock_m_q_t_t_broker_8hpp__incl.md5 index 43a16d16..e528144a 100644 --- a/_mock_m_q_t_t_broker_8hpp__incl.md5 +++ b/_mock_m_q_t_t_broker_8hpp__incl.md5 @@ -1 +1 @@ -844f11f436900317d509d58e1e5e6716 \ No newline at end of file +f34605cc8aa1322e7968c4790b137451 \ No newline at end of file diff --git a/_mock_m_q_t_t_broker_8hpp__incl.svg b/_mock_m_q_t_t_broker_8hpp__incl.svg index 2e966359..2a6edfac 100644 --- a/_mock_m_q_t_t_broker_8hpp__incl.svg +++ b/_mock_m_q_t_t_broker_8hpp__incl.svg @@ -46,7 +46,7 @@
@@ -153,19 +153,19 @@ var sectionId = 'dynsection-0';
- - -Node18 - + + +Node19 + sMQTTBroker.h - - -Node1->Node18 - + + +Node1->Node19 + @@ -193,8 +193,8 @@ var sectionId = 'dynsection-0'; Node8 - -card.hpp + +card.hpp @@ -202,8 +202,8 @@ var sectionId = 'dynsection-0'; Node6->Node8 - - + + @@ -220,8 +220,8 @@ var sectionId = 'dynsection-0'; Node8->Node9 - - + + @@ -238,8 +238,8 @@ var sectionId = 'dynsection-0'; Node8->Node10 - - + + @@ -256,8 +256,8 @@ var sectionId = 'dynsection-0'; Node8->Node11 - - + + @@ -274,8 +274,8 @@ var sectionId = 'dynsection-0'; Node8->Node12 - - + + @@ -283,8 +283,8 @@ var sectionId = 'dynsection-0'; Node16 - -Logging.hpp + +Logging.hpp @@ -292,8 +292,26 @@ var sectionId = 'dynsection-0'; Node8->Node16 - - + + + + + + + +Node18 + + +esp_mac.h + + + + + +Node8->Node18 + + + @@ -382,8 +400,8 @@ var sectionId = 'dynsection-0'; Node16->Node17 - - + + diff --git a/_mock_m_q_t_t_broker_8hpp__incl_org.svg b/_mock_m_q_t_t_broker_8hpp__incl_org.svg index e3b091bc..82d33145 100644 --- a/_mock_m_q_t_t_broker_8hpp__incl_org.svg +++ b/_mock_m_q_t_t_broker_8hpp__incl_org.svg @@ -4,8 +4,8 @@ - + MockMQTTBroker.hpp @@ -107,19 +107,19 @@ - - -Node18 - + + +Node19 + sMQTTBroker.h - - -Node1->Node18 - + + +Node1->Node19 + @@ -147,8 +147,8 @@ Node8 - -card.hpp + +card.hpp @@ -156,8 +156,8 @@ Node6->Node8 - - + + @@ -174,8 +174,8 @@ Node8->Node9 - - + + @@ -192,8 +192,8 @@ Node8->Node10 - - + + @@ -210,8 +210,8 @@ Node8->Node11 - - + + @@ -228,8 +228,8 @@ Node8->Node12 - - + + @@ -237,8 +237,8 @@ Node16 - -Logging.hpp + +Logging.hpp @@ -246,8 +246,26 @@ Node8->Node16 - - + + + + + + + +Node18 + + +esp_mac.h + + + + + +Node8->Node18 + + + @@ -336,8 +354,8 @@ Node16->Node17 - - + + diff --git a/_mock_m_q_t_t_broker_8hpp_source.xhtml b/_mock_m_q_t_t_broker_8hpp_source.xhtml index 513429c9..20752ab5 100644 --- a/_mock_m_q_t_t_broker_8hpp_source.xhtml +++ b/_mock_m_q_t_t_broker_8hpp_source.xhtml @@ -161,7 +161,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_mock_mrfc522_8cpp.xhtml b/_mock_mrfc522_8cpp.xhtml index 8338507d..9b88088d 100644 --- a/_mock_mrfc522_8cpp.xhtml +++ b/_mock_mrfc522_8cpp.xhtml @@ -81,6 +81,7 @@ $(function() {
#include "mock/MockMrfc522.hpp"
+#include "Tasks.hpp"
#include <algorithm>
Include dependency graph for MockMrfc522.cpp:
@@ -98,7 +99,7 @@ Namespaces
diff --git a/_mock_mrfc522_8cpp__incl.map b/_mock_mrfc522_8cpp__incl.map index 9418040b..cdbb8917 100644 --- a/_mock_mrfc522_8cpp__incl.map +++ b/_mock_mrfc522_8cpp__incl.map @@ -1,51 +1,61 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_mock_mrfc522_8cpp__incl.md5 b/_mock_mrfc522_8cpp__incl.md5 index 62b57bf4..7a8abcd5 100644 --- a/_mock_mrfc522_8cpp__incl.md5 +++ b/_mock_mrfc522_8cpp__incl.md5 @@ -1 +1 @@ -79efe5b798f8409890657e27ee6391c0 \ No newline at end of file +c3b0fbb6e56e22cdb3df4646235ac425 \ No newline at end of file diff --git a/_mock_mrfc522_8cpp__incl.svg b/_mock_mrfc522_8cpp__incl.svg index 061ca218..b4d63b80 100644 --- a/_mock_mrfc522_8cpp__incl.svg +++ b/_mock_mrfc522_8cpp__incl.svg @@ -46,7 +46,7 @@ @@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -MockMrfc522.cpp + +MockMrfc522.cpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -mock/MockMrfc522.hpp + +mock/MockMrfc522.hpp @@ -76,26 +76,44 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + - - -Node21 - - -algorithm + + +Node22 + + +Tasks.hpp - - -Node1->Node21 - - - + + +Node1->Node22 + + + + + + + + +Node25 + + +algorithm + + + + + +Node1->Node25 + + + @@ -103,8 +121,8 @@ var sectionId = 'dynsection-0'; Node3 - -Arduino.h + +Arduino.h @@ -112,8 +130,8 @@ var sectionId = 'dynsection-0'; Node2->Node3 - - + + @@ -121,8 +139,8 @@ var sectionId = 'dynsection-0'; Node4 - -array + +array @@ -130,8 +148,8 @@ var sectionId = 'dynsection-0'; Node2->Node4 - - + + @@ -139,8 +157,8 @@ var sectionId = 'dynsection-0'; Node5 - -memory + +memory @@ -148,8 +166,8 @@ var sectionId = 'dynsection-0'; Node2->Node5 - - + + @@ -157,8 +175,8 @@ var sectionId = 'dynsection-0'; Node6 - -optional + +optional @@ -166,8 +184,8 @@ var sectionId = 'dynsection-0'; Node2->Node6 - - + + @@ -175,8 +193,8 @@ var sectionId = 'dynsection-0'; Node7 - -FabUser.hpp + +FabUser.hpp @@ -184,26 +202,8 @@ var sectionId = 'dynsection-0'; Node2->Node7 - - - - - - - -Node18 - - -MFRC522DriverPinSimple.h - - - - - -Node2->Node18 - - - + + @@ -211,8 +211,8 @@ var sectionId = 'dynsection-0'; Node19 - -MFRC522DriverSPI.h + +MFRC522DriverPinSimple.h @@ -220,8 +220,8 @@ var sectionId = 'dynsection-0'; Node2->Node19 - - + + @@ -229,8 +229,8 @@ var sectionId = 'dynsection-0'; Node20 - -MFRC522v2.h + +MFRC522DriverSPI.h @@ -238,8 +238,26 @@ var sectionId = 'dynsection-0'; Node2->Node20 - - + + + + + + + +Node21 + + +MFRC522v2.h + + + + + +Node2->Node21 + + + @@ -247,17 +265,17 @@ var sectionId = 'dynsection-0'; Node7->Node3 - - + + - + Node7->Node4 - - - + + + @@ -265,8 +283,8 @@ var sectionId = 'dynsection-0'; Node8 - -card.hpp + +card.hpp @@ -274,8 +292,8 @@ var sectionId = 'dynsection-0'; Node7->Node8 - - + + @@ -283,17 +301,17 @@ var sectionId = 'dynsection-0'; Node9 - -sstream + +sstream - + Node7->Node9 - - - + + + @@ -301,17 +319,17 @@ var sectionId = 'dynsection-0'; Node11 - -conf.hpp + +conf.hpp - + Node7->Node11 - - - + + + @@ -319,17 +337,17 @@ var sectionId = 'dynsection-0'; Node12 - -cstdint + +cstdint - + Node7->Node12 - - - + + + @@ -337,17 +355,17 @@ var sectionId = 'dynsection-0'; Node13 - -string + +string - + Node7->Node13 - - - + + + @@ -355,8 +373,8 @@ var sectionId = 'dynsection-0'; Node8->Node3 - - + + @@ -364,8 +382,8 @@ var sectionId = 'dynsection-0'; Node8->Node9 - - + + @@ -373,8 +391,8 @@ var sectionId = 'dynsection-0'; Node10 - -iomanip + +iomanip @@ -382,8 +400,8 @@ var sectionId = 'dynsection-0'; Node8->Node10 - - + + @@ -391,8 +409,8 @@ var sectionId = 'dynsection-0'; Node8->Node11 - - + + @@ -400,8 +418,8 @@ var sectionId = 'dynsection-0'; Node16 - -Logging.hpp + +Logging.hpp @@ -409,8 +427,26 @@ var sectionId = 'dynsection-0'; Node8->Node16 - - + + + + + + + +Node18 + + +esp_mac.h + + + + + +Node8->Node18 + + + @@ -418,8 +454,8 @@ var sectionId = 'dynsection-0'; Node11->Node12 - - + + @@ -427,8 +463,8 @@ var sectionId = 'dynsection-0'; Node11->Node13 - - + + @@ -436,8 +472,8 @@ var sectionId = 'dynsection-0'; Node14 - -chrono + +chrono @@ -445,8 +481,8 @@ var sectionId = 'dynsection-0'; Node11->Node14 - - + + @@ -454,8 +490,8 @@ var sectionId = 'dynsection-0'; Node15 - -MachineID.hpp + +MachineID.hpp @@ -463,8 +499,8 @@ var sectionId = 'dynsection-0'; Node11->Node15 - - + + @@ -472,8 +508,8 @@ var sectionId = 'dynsection-0'; Node15->Node12 - - + + @@ -481,8 +517,8 @@ var sectionId = 'dynsection-0'; Node17 - -esp_log.h + +esp_log.h @@ -490,8 +526,62 @@ var sectionId = 'dynsection-0'; Node16->Node17 - - + + + + + + + +Node22->Node3 + + + + + + + + +Node22->Node14 + + + + + + + + +Node23 + + +functional + + + + + +Node22->Node23 + + + + + + + + +Node24 + + +list + + + + + +Node22->Node24 + + + diff --git a/_mock_mrfc522_8cpp__incl_org.svg b/_mock_mrfc522_8cpp__incl_org.svg index 5ff3210e..2e77c7be 100644 --- a/_mock_mrfc522_8cpp__incl_org.svg +++ b/_mock_mrfc522_8cpp__incl_org.svg @@ -4,16 +4,16 @@ - + MockMrfc522.cpp Node1 - -MockMrfc522.cpp + +MockMrfc522.cpp @@ -21,8 +21,8 @@ Node2 - -mock/MockMrfc522.hpp + +mock/MockMrfc522.hpp @@ -30,26 +30,44 @@ Node1->Node2 - - + + - - -Node21 - - -algorithm + + +Node22 + + +Tasks.hpp - - -Node1->Node21 - - - + + +Node1->Node22 + + + + + + + + +Node25 + + +algorithm + + + + + +Node1->Node25 + + + @@ -57,8 +75,8 @@ Node3 - -Arduino.h + +Arduino.h @@ -66,8 +84,8 @@ Node2->Node3 - - + + @@ -75,8 +93,8 @@ Node4 - -array + +array @@ -84,8 +102,8 @@ Node2->Node4 - - + + @@ -93,8 +111,8 @@ Node5 - -memory + +memory @@ -102,8 +120,8 @@ Node2->Node5 - - + + @@ -111,8 +129,8 @@ Node6 - -optional + +optional @@ -120,8 +138,8 @@ Node2->Node6 - - + + @@ -129,8 +147,8 @@ Node7 - -FabUser.hpp + +FabUser.hpp @@ -138,26 +156,8 @@ Node2->Node7 - - - - - - - -Node18 - - -MFRC522DriverPinSimple.h - - - - - -Node2->Node18 - - - + + @@ -165,8 +165,8 @@ Node19 - -MFRC522DriverSPI.h + +MFRC522DriverPinSimple.h @@ -174,8 +174,8 @@ Node2->Node19 - - + + @@ -183,8 +183,8 @@ Node20 - -MFRC522v2.h + +MFRC522DriverSPI.h @@ -192,8 +192,26 @@ Node2->Node20 - - + + + + + + + +Node21 + + +MFRC522v2.h + + + + + +Node2->Node21 + + + @@ -201,17 +219,17 @@ Node7->Node3 - - + + - + Node7->Node4 - - - + + + @@ -219,8 +237,8 @@ Node8 - -card.hpp + +card.hpp @@ -228,8 +246,8 @@ Node7->Node8 - - + + @@ -237,17 +255,17 @@ Node9 - -sstream + +sstream - + Node7->Node9 - - - + + + @@ -255,17 +273,17 @@ Node11 - -conf.hpp + +conf.hpp - + Node7->Node11 - - - + + + @@ -273,17 +291,17 @@ Node12 - -cstdint + +cstdint - + Node7->Node12 - - - + + + @@ -291,17 +309,17 @@ Node13 - -string + +string - + Node7->Node13 - - - + + + @@ -309,8 +327,8 @@ Node8->Node3 - - + + @@ -318,8 +336,8 @@ Node8->Node9 - - + + @@ -327,8 +345,8 @@ Node10 - -iomanip + +iomanip @@ -336,8 +354,8 @@ Node8->Node10 - - + + @@ -345,8 +363,8 @@ Node8->Node11 - - + + @@ -354,8 +372,8 @@ Node16 - -Logging.hpp + +Logging.hpp @@ -363,8 +381,26 @@ Node8->Node16 - - + + + + + + + +Node18 + + +esp_mac.h + + + + + +Node8->Node18 + + + @@ -372,8 +408,8 @@ Node11->Node12 - - + + @@ -381,8 +417,8 @@ Node11->Node13 - - + + @@ -390,8 +426,8 @@ Node14 - -chrono + +chrono @@ -399,8 +435,8 @@ Node11->Node14 - - + + @@ -408,8 +444,8 @@ Node15 - -MachineID.hpp + +MachineID.hpp @@ -417,8 +453,8 @@ Node11->Node15 - - + + @@ -426,8 +462,8 @@ Node15->Node12 - - + + @@ -435,8 +471,8 @@ Node17 - -esp_log.h + +esp_log.h @@ -444,8 +480,62 @@ Node16->Node17 - - + + + + + + + +Node22->Node3 + + + + + + + + +Node22->Node14 + + + + + + + + +Node23 + + +functional + + + + + +Node22->Node23 + + + + + + + + +Node24 + + +list + + + + + +Node22->Node24 + + + diff --git a/_mock_mrfc522_8cpp_source.xhtml b/_mock_mrfc522_8cpp_source.xhtml index 708a3d11..8603e45d 100644 --- a/_mock_mrfc522_8cpp_source.xhtml +++ b/_mock_mrfc522_8cpp_source.xhtml @@ -84,109 +84,112 @@ $(document).ready(function() { init_codefold(0); });
Go to the documentation of this file.
-
2
-
3#include <algorithm>
-
4
-
5namespace fabomatic
-
6{
-
- -
8 {
-
9 UidDriver retVal{};
-
10 if (getSimulatedUid().has_value())
-
11 {
-
12 retVal.size = sizeof(uid.value());
-
13 const auto arr_uid = card::to_array(uid.value());
-
14 std::copy(arr_uid.begin(), arr_uid.end(), retVal.uidByte.begin());
-
15 retVal.sak = 1;
-
16 }
-
17 return retVal;
-
18 }
+
2#include "Tasks.hpp"
+
3
+
4#include <algorithm>
+
5
+
6namespace fabomatic
+
7{
+
+ +
9 {
+
10 UidDriver retVal{};
+
11 if (getSimulatedUid().has_value())
+
12 {
+
13 retVal.size = sizeof(uid.value());
+
14 const auto arr_uid = card::to_array(uid.value());
+
15 std::copy(arr_uid.begin(), arr_uid.end(), retVal.uidByte.begin());
+
16 retVal.sak = 1;
+
17 }
+
18 return retVal;
+
19 }
-
19
-
20 auto MockMrfc522::PICC_IsNewCardPresent() -> bool { return getSimulatedUid().has_value(); }
-
21
-
22 auto MockMrfc522::PICC_ReadCardSerial() -> bool { return getSimulatedUid().has_value(); }
-
23
-
24 void MockMrfc522::reset() { uid = std::nullopt; }
-
25
-
26 auto MockMrfc522::PCD_Init() -> bool { return true; }
-
27
-
-
28 auto MockMrfc522::PICC_WakeupA(byte *bufferATQA, byte &bufferSize) -> bool
-
29 {
-
30 if (getSimulatedUid().has_value())
-
31 {
-
32 return true;
-
33 }
-
34 return false;
-
35 }
+
20
+
21 auto MockMrfc522::PICC_IsNewCardPresent() -> bool { return getSimulatedUid().has_value(); }
+
22
+
23 auto MockMrfc522::PICC_ReadCardSerial() -> bool { return getSimulatedUid().has_value(); }
+
24
+
25 void MockMrfc522::reset() { uid = std::nullopt; }
+
26
+
27 auto MockMrfc522::PCD_Init() -> bool { return true; }
+
28
+
+
29 auto MockMrfc522::PICC_WakeupA(byte *bufferATQA, byte &bufferSize) -> bool
+
30 {
+
31 if (getSimulatedUid().has_value())
+
32 {
+
33 return true;
+
34 }
+
35 return false;
+
36 }
-
36
-
37 auto MockMrfc522::PCD_PerformSelfTest() -> bool { return true; }
-
38
-
39 auto MockMrfc522::PCD_SetAntennaGain(MFRC522Constants::PCD_RxGain gain) -> void {}
-
40
- -
42
-
-
43 auto MockMrfc522::setUid(const std::optional<card::uid_t> &uid, const std::optional<std::chrono::milliseconds> &max_delay) -> void
-
44 {
-
45 this->uid = uid;
-
46 if (max_delay.has_value())
-
47 {
-
48 stop_uid_simulate_time = std::chrono::system_clock::now() + max_delay.value();
-
49 }
-
50 else
-
51 {
-
52 stop_uid_simulate_time = std::nullopt;
-
53 }
-
54 }
+
37
+
38 auto MockMrfc522::PCD_PerformSelfTest() -> bool { return true; }
+
39
+
40 auto MockMrfc522::PCD_SetAntennaGain(MFRC522Constants::PCD_RxGain gain) -> void {}
+
41
+ +
43
+
+
44 auto MockMrfc522::setUid(const std::optional<card::uid_t> &uid, const std::optional<std::chrono::milliseconds> &max_delay) -> void
+
45 {
+
46 this->uid = uid;
+
47 if (max_delay.has_value())
+
48 {
+
49 stop_uid_simulate_time = fabomatic::Tasks::arduinoNow() + max_delay.value();
+
50 }
+
51 else
+
52 {
+
53 stop_uid_simulate_time = std::nullopt;
+
54 }
+
55 }
-
55
-
-
56 auto MockMrfc522::resetUid() -> void
-
57 {
-
58 uid = std::nullopt;
-
59 stop_uid_simulate_time = std::nullopt;
-
60 }
+
56
+
+
57 auto MockMrfc522::resetUid() -> void
+
58 {
+
59 uid = std::nullopt;
+
60 stop_uid_simulate_time = std::nullopt;
+
61 }
-
61
-
-
62 auto MockMrfc522::getSimulatedUid() const -> std::optional<card::uid_t>
-
63 {
-
64 if (stop_uid_simulate_time.has_value() && std::chrono::system_clock::now() > stop_uid_simulate_time.value())
-
65 {
-
66 return std::nullopt;
-
67 }
-
68 return uid;
-
69 }
+
62
+
+
63 auto MockMrfc522::getSimulatedUid() const -> std::optional<card::uid_t>
+
64 {
+ +
66 {
+
67 return std::nullopt;
+
68 }
+
69 return uid;
+
70 }
-
70} // namespace fabomatic
+
71} // namespace fabomatic
+
This class implements a Mrfc522 with settable tag ID in order to allow simulation.
-
auto PICC_WakeupA(byte *bufferATQA, byte &bufferSize) -> bool
- -
auto getDriverUid() const -> MockMrfc522::UidDriver
-
auto resetUid() -> void
-
auto PICC_ReadCardSerial() -> bool
+
auto PICC_WakeupA(byte *bufferATQA, byte &bufferSize) -> bool
+ +
auto getDriverUid() const -> MockMrfc522::UidDriver
+
auto resetUid() -> void
+
auto PICC_ReadCardSerial() -> bool
std::optional< card::uid_t > uid
-
std::optional< card::uid_t > getSimulatedUid() const
-
auto setUid(const std::optional< card::uid_t > &uid, const std::optional< std::chrono::milliseconds > &max_delay) -> void
-
std::optional< std::chrono::time_point< std::chrono::system_clock > > stop_uid_simulate_time
-
auto PICC_IsNewCardPresent() -> bool
-
auto PCD_Init() -> bool
-
auto PCD_SetAntennaGain(MFRC522Constants::PCD_RxGain gain) -> void
-
auto PCD_DumpVersionToSerial() -> void
-
auto PCD_PerformSelfTest() -> bool
-
constexpr auto to_array(const uid_t uid) -> const std::array< uint8_t, conf::rfid_tags::UID_BYTE_LEN >
Converts a UID from an array of bytes to a number.
Definition card.hpp:53
+
std::optional< card::uid_t > getSimulatedUid() const
+
auto setUid(const std::optional< card::uid_t > &uid, const std::optional< std::chrono::milliseconds > &max_delay) -> void
+
auto PICC_IsNewCardPresent() -> bool
+
auto PCD_Init() -> bool
+
auto PCD_SetAntennaGain(MFRC522Constants::PCD_RxGain gain) -> void
+
auto PCD_DumpVersionToSerial() -> void
+
auto PCD_PerformSelfTest() -> bool
+
std::optional< std::chrono::steady_clock::time_point > stop_uid_simulate_time
+
auto arduinoNow() -> const std::chrono::steady_clock::time_point
Definition Tasks.hpp:15
+
constexpr auto to_array(const uid_t uid) -> const std::array< uint8_t, conf::rfid_tags::UID_BYTE_LEN >
Converts a UID from an array of bytes to a number.
Definition card.hpp:54
byte size
Number of bytes in the UID. 4, 7 or 10.
diff --git a/_mock_mrfc522_8hpp.xhtml b/_mock_mrfc522_8hpp.xhtml index 7de07546..0cd55590 100644 --- a/_mock_mrfc522_8hpp.xhtml +++ b/_mock_mrfc522_8hpp.xhtml @@ -118,7 +118,7 @@ Namespaces
diff --git a/_mock_mrfc522_8hpp__incl.map b/_mock_mrfc522_8hpp__incl.map index 212c412f..e86e1013 100644 --- a/_mock_mrfc522_8hpp__incl.map +++ b/_mock_mrfc522_8hpp__incl.map @@ -1,47 +1,49 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_mock_mrfc522_8hpp__incl.md5 b/_mock_mrfc522_8hpp__incl.md5 index ac299a41..dfcd6066 100644 --- a/_mock_mrfc522_8hpp__incl.md5 +++ b/_mock_mrfc522_8hpp__incl.md5 @@ -1 +1 @@ -140f3a7651f4b00aa37fabc80c14bfc7 \ No newline at end of file +8bb82ba6d581090522858332a8fab54e \ No newline at end of file diff --git a/_mock_mrfc522_8hpp__incl.svg b/_mock_mrfc522_8hpp__incl.svg index 285a7a98..890ea299 100644 --- a/_mock_mrfc522_8hpp__incl.svg +++ b/_mock_mrfc522_8hpp__incl.svg @@ -46,7 +46,7 @@ @@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -MockMrfc522.hpp + +MockMrfc522.hpp @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,8 +85,8 @@ var sectionId = 'dynsection-0'; Node3 - -array + +array @@ -94,8 +94,8 @@ var sectionId = 'dynsection-0'; Node1->Node3 - - + + @@ -103,8 +103,8 @@ var sectionId = 'dynsection-0'; Node4 - -memory + +memory @@ -112,8 +112,8 @@ var sectionId = 'dynsection-0'; Node1->Node4 - - + + @@ -121,8 +121,8 @@ var sectionId = 'dynsection-0'; Node5 - -optional + +optional @@ -130,8 +130,8 @@ var sectionId = 'dynsection-0'; Node1->Node5 - - + + @@ -139,8 +139,8 @@ var sectionId = 'dynsection-0'; Node6 - -FabUser.hpp + +FabUser.hpp @@ -148,26 +148,8 @@ var sectionId = 'dynsection-0'; Node1->Node6 - - - - - - - -Node17 - - -MFRC522DriverPinSimple.h - - - - - -Node1->Node17 - - - + + @@ -175,8 +157,8 @@ var sectionId = 'dynsection-0'; Node18 - -MFRC522DriverSPI.h + +MFRC522DriverPinSimple.h @@ -184,8 +166,8 @@ var sectionId = 'dynsection-0'; Node1->Node18 - - + + @@ -193,8 +175,8 @@ var sectionId = 'dynsection-0'; Node19 - -MFRC522v2.h + +MFRC522DriverSPI.h @@ -202,8 +184,26 @@ var sectionId = 'dynsection-0'; Node1->Node19 - - + + + + + + + +Node20 + + +MFRC522v2.h + + + + + +Node1->Node20 + + + @@ -211,17 +211,17 @@ var sectionId = 'dynsection-0'; Node6->Node2 - - + + - + Node6->Node3 - - - + + + @@ -229,8 +229,8 @@ var sectionId = 'dynsection-0'; Node7 - -card.hpp + +card.hpp @@ -238,8 +238,8 @@ var sectionId = 'dynsection-0'; Node6->Node7 - - + + @@ -247,17 +247,17 @@ var sectionId = 'dynsection-0'; Node8 - -sstream + +sstream - + Node6->Node8 - - - + + + @@ -265,17 +265,17 @@ var sectionId = 'dynsection-0'; Node10 - -conf.hpp + +conf.hpp - + Node6->Node10 - - - + + + @@ -283,17 +283,17 @@ var sectionId = 'dynsection-0'; Node11 - -cstdint + +cstdint - + Node6->Node11 - - - + + + @@ -301,17 +301,17 @@ var sectionId = 'dynsection-0'; Node12 - -string + +string - + Node6->Node12 - - - + + + @@ -319,8 +319,8 @@ var sectionId = 'dynsection-0'; Node7->Node2 - - + + @@ -328,8 +328,8 @@ var sectionId = 'dynsection-0'; Node7->Node8 - - + + @@ -337,8 +337,8 @@ var sectionId = 'dynsection-0'; Node9 - -iomanip + +iomanip @@ -346,8 +346,8 @@ var sectionId = 'dynsection-0'; Node7->Node9 - - + + @@ -355,8 +355,8 @@ var sectionId = 'dynsection-0'; Node7->Node10 - - + + @@ -364,8 +364,8 @@ var sectionId = 'dynsection-0'; Node15 - -Logging.hpp + +Logging.hpp @@ -373,8 +373,26 @@ var sectionId = 'dynsection-0'; Node7->Node15 - - + + + + + + + +Node17 + + +esp_mac.h + + + + + +Node7->Node17 + + + @@ -382,8 +400,8 @@ var sectionId = 'dynsection-0'; Node10->Node11 - - + + @@ -391,8 +409,8 @@ var sectionId = 'dynsection-0'; Node10->Node12 - - + + @@ -400,8 +418,8 @@ var sectionId = 'dynsection-0'; Node13 - -chrono + +chrono @@ -409,8 +427,8 @@ var sectionId = 'dynsection-0'; Node10->Node13 - - + + @@ -418,8 +436,8 @@ var sectionId = 'dynsection-0'; Node14 - -MachineID.hpp + +MachineID.hpp @@ -427,8 +445,8 @@ var sectionId = 'dynsection-0'; Node10->Node14 - - + + @@ -436,8 +454,8 @@ var sectionId = 'dynsection-0'; Node14->Node11 - - + + @@ -445,8 +463,8 @@ var sectionId = 'dynsection-0'; Node16 - -esp_log.h + +esp_log.h @@ -454,8 +472,8 @@ var sectionId = 'dynsection-0'; Node15->Node16 - - + + diff --git a/_mock_mrfc522_8hpp__incl_org.svg b/_mock_mrfc522_8hpp__incl_org.svg index 86d93104..1a33da1b 100644 --- a/_mock_mrfc522_8hpp__incl_org.svg +++ b/_mock_mrfc522_8hpp__incl_org.svg @@ -4,16 +4,16 @@ - + MockMrfc522.hpp Node1 - -MockMrfc522.hpp + +MockMrfc522.hpp @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node3 - -array + +array @@ -48,8 +48,8 @@ Node1->Node3 - - + + @@ -57,8 +57,8 @@ Node4 - -memory + +memory @@ -66,8 +66,8 @@ Node1->Node4 - - + + @@ -75,8 +75,8 @@ Node5 - -optional + +optional @@ -84,8 +84,8 @@ Node1->Node5 - - + + @@ -93,8 +93,8 @@ Node6 - -FabUser.hpp + +FabUser.hpp @@ -102,26 +102,8 @@ Node1->Node6 - - - - - - - -Node17 - - -MFRC522DriverPinSimple.h - - - - - -Node1->Node17 - - - + + @@ -129,8 +111,8 @@ Node18 - -MFRC522DriverSPI.h + +MFRC522DriverPinSimple.h @@ -138,8 +120,8 @@ Node1->Node18 - - + + @@ -147,8 +129,8 @@ Node19 - -MFRC522v2.h + +MFRC522DriverSPI.h @@ -156,8 +138,26 @@ Node1->Node19 - - + + + + + + + +Node20 + + +MFRC522v2.h + + + + + +Node1->Node20 + + + @@ -165,17 +165,17 @@ Node6->Node2 - - + + - + Node6->Node3 - - - + + + @@ -183,8 +183,8 @@ Node7 - -card.hpp + +card.hpp @@ -192,8 +192,8 @@ Node6->Node7 - - + + @@ -201,17 +201,17 @@ Node8 - -sstream + +sstream - + Node6->Node8 - - - + + + @@ -219,17 +219,17 @@ Node10 - -conf.hpp + +conf.hpp - + Node6->Node10 - - - + + + @@ -237,17 +237,17 @@ Node11 - -cstdint + +cstdint - + Node6->Node11 - - - + + + @@ -255,17 +255,17 @@ Node12 - -string + +string - + Node6->Node12 - - - + + + @@ -273,8 +273,8 @@ Node7->Node2 - - + + @@ -282,8 +282,8 @@ Node7->Node8 - - + + @@ -291,8 +291,8 @@ Node9 - -iomanip + +iomanip @@ -300,8 +300,8 @@ Node7->Node9 - - + + @@ -309,8 +309,8 @@ Node7->Node10 - - + + @@ -318,8 +318,8 @@ Node15 - -Logging.hpp + +Logging.hpp @@ -327,8 +327,26 @@ Node7->Node15 - - + + + + + + + +Node17 + + +esp_mac.h + + + + + +Node7->Node17 + + + @@ -336,8 +354,8 @@ Node10->Node11 - - + + @@ -345,8 +363,8 @@ Node10->Node12 - - + + @@ -354,8 +372,8 @@ Node13 - -chrono + +chrono @@ -363,8 +381,8 @@ Node10->Node13 - - + + @@ -372,8 +390,8 @@ Node14 - -MachineID.hpp + +MachineID.hpp @@ -381,8 +399,8 @@ Node10->Node14 - - + + @@ -390,8 +408,8 @@ Node14->Node11 - - + + @@ -399,8 +417,8 @@ Node16 - -esp_log.h + +esp_log.h @@ -408,8 +426,8 @@ Node15->Node16 - - + + diff --git a/_mock_mrfc522_8hpp_source.xhtml b/_mock_mrfc522_8hpp_source.xhtml index 34b67934..802c0f9d 100644 --- a/_mock_mrfc522_8hpp_source.xhtml +++ b/_mock_mrfc522_8hpp_source.xhtml @@ -104,7 +104,7 @@ $(document).ready(function() { init_codefold(0); });
19 {
20 private:
21 std::optional<card::uid_t> uid{std::nullopt};
-
22 std::optional<std::chrono::time_point<std::chrono::system_clock>> stop_uid_simulate_time{std::nullopt};
+
22 std::optional<std::chrono::steady_clock::time_point> stop_uid_simulate_time{std::nullopt};
23 std::optional<card::uid_t> getSimulatedUid() const;
24
25 public:
@@ -142,23 +142,23 @@ $(document).ready(function() { init_codefold(0); });
This class implements a Mrfc522 with settable tag ID in order to allow simulation.
-
auto PICC_WakeupA(byte *bufferATQA, byte &bufferSize) -> bool
- -
auto getDriverUid() const -> MockMrfc522::UidDriver
-
auto resetUid() -> void
-
auto PICC_ReadCardSerial() -> bool
+
auto PICC_WakeupA(byte *bufferATQA, byte &bufferSize) -> bool
+ +
auto getDriverUid() const -> MockMrfc522::UidDriver
+
auto resetUid() -> void
+
auto PICC_ReadCardSerial() -> bool
std::optional< card::uid_t > uid
-
std::optional< card::uid_t > getSimulatedUid() const
-
auto setUid(const std::optional< card::uid_t > &uid, const std::optional< std::chrono::milliseconds > &max_delay) -> void
-
std::optional< std::chrono::time_point< std::chrono::system_clock > > stop_uid_simulate_time
+
std::optional< card::uid_t > getSimulatedUid() const
+
auto setUid(const std::optional< card::uid_t > &uid, const std::optional< std::chrono::milliseconds > &max_delay) -> void
static constexpr auto RxGainMax
-
auto PICC_IsNewCardPresent() -> bool
-
auto PCD_Init() -> bool
-
auto PCD_SetAntennaGain(MFRC522Constants::PCD_RxGain gain) -> void
-
auto PCD_DumpVersionToSerial() -> void
-
auto PCD_PerformSelfTest() -> bool
+
auto PICC_IsNewCardPresent() -> bool
+
auto PCD_Init() -> bool
+
auto PCD_SetAntennaGain(MFRC522Constants::PCD_RxGain gain) -> void
+
auto PCD_DumpVersionToSerial() -> void
+
auto PCD_PerformSelfTest() -> bool
+
std::optional< std::chrono::steady_clock::time_point > stop_uid_simulate_time
-
std::chrono::milliseconds milliseconds
+
std::chrono::milliseconds milliseconds
byte sak
The SAK (Select acknowledge) byte returned from the PICC after successful selection.
std::array< byte, 10 > uidByte
@@ -166,7 +166,7 @@ $(document).ready(function() { init_codefold(0); });
diff --git a/_mrfc522_driver_8cpp.xhtml b/_mrfc522_driver_8cpp.xhtml index e8899512..2e06f4e0 100644 --- a/_mrfc522_driver_8cpp.xhtml +++ b/_mrfc522_driver_8cpp.xhtml @@ -103,7 +103,7 @@ Namespaces
diff --git a/_mrfc522_driver_8cpp__incl.map b/_mrfc522_driver_8cpp__incl.map index 1e7e5c84..4ce51812 100644 --- a/_mrfc522_driver_8cpp__incl.map +++ b/_mrfc522_driver_8cpp__incl.map @@ -1,65 +1,67 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_mrfc522_driver_8cpp__incl.md5 b/_mrfc522_driver_8cpp__incl.md5 index 5794e97b..dabf78c8 100644 --- a/_mrfc522_driver_8cpp__incl.md5 +++ b/_mrfc522_driver_8cpp__incl.md5 @@ -1 +1 @@ -e04d77c0c4b1790ebe60c50a0f8a2d86 \ No newline at end of file +459faf88f61a55362941ae668327dfae \ No newline at end of file diff --git a/_mrfc522_driver_8cpp__incl.svg b/_mrfc522_driver_8cpp__incl.svg index 811c6f55..1dd952d0 100644 --- a/_mrfc522_driver_8cpp__incl.svg +++ b/_mrfc522_driver_8cpp__incl.svg @@ -46,7 +46,7 @@ @@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -Mrfc522Driver.cpp + +Mrfc522Driver.cpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -Arduino.h + +Arduino.h @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,8 +85,8 @@ var sectionId = 'dynsection-0'; Node3 - -algorithm + +algorithm @@ -94,8 +94,8 @@ var sectionId = 'dynsection-0'; Node1->Node3 - - + + @@ -103,8 +103,8 @@ var sectionId = 'dynsection-0'; Node4 - -memory + +memory @@ -112,8 +112,8 @@ var sectionId = 'dynsection-0'; Node1->Node4 - - + + @@ -121,8 +121,8 @@ var sectionId = 'dynsection-0'; Node5 - -MFRC522DriverPinSimple.h + +MFRC522DriverPinSimple.h @@ -130,8 +130,8 @@ var sectionId = 'dynsection-0'; Node1->Node5 - - + + @@ -139,8 +139,8 @@ var sectionId = 'dynsection-0'; Node6 - -MFRC522DriverSPI.h + +MFRC522DriverSPI.h @@ -148,8 +148,8 @@ var sectionId = 'dynsection-0'; Node1->Node6 - - + + @@ -157,8 +157,8 @@ var sectionId = 'dynsection-0'; Node7 - -MFRC522v2.h + +MFRC522v2.h @@ -166,8 +166,8 @@ var sectionId = 'dynsection-0'; Node1->Node7 - - + + @@ -175,8 +175,8 @@ var sectionId = 'dynsection-0'; Node8 - -Mrfc522Driver.hpp + +Mrfc522Driver.hpp @@ -184,8 +184,8 @@ var sectionId = 'dynsection-0'; Node1->Node8 - - + + @@ -193,8 +193,8 @@ var sectionId = 'dynsection-0'; Node8->Node2 - - + + @@ -202,35 +202,35 @@ var sectionId = 'dynsection-0'; Node8->Node4 - - + + - + Node8->Node5 - - - + + + - + Node8->Node6 - - - + + + - + Node8->Node7 - - - + + + @@ -238,8 +238,8 @@ var sectionId = 'dynsection-0'; Node9 - -array + +array @@ -247,8 +247,8 @@ var sectionId = 'dynsection-0'; Node8->Node9 - - + + @@ -256,8 +256,8 @@ var sectionId = 'dynsection-0'; Node10 - -FabUser.hpp + +FabUser.hpp @@ -265,44 +265,44 @@ var sectionId = 'dynsection-0'; Node8->Node10 - - + + - - -Node21 - - -MFRC522Debug.h + + +Node22 + + +MFRC522Debug.h - - -Node8->Node21 - - - + + +Node8->Node22 + + + - - -Node22 - - -pins.hpp + + +Node23 + + +pins.hpp - - -Node8->Node22 - - - + + +Node8->Node23 + + + @@ -310,17 +310,17 @@ var sectionId = 'dynsection-0'; Node10->Node2 - - + + - + Node10->Node9 - - - + + + @@ -328,8 +328,8 @@ var sectionId = 'dynsection-0'; Node11 - -card.hpp + +card.hpp @@ -337,8 +337,8 @@ var sectionId = 'dynsection-0'; Node10->Node11 - - + + @@ -346,17 +346,17 @@ var sectionId = 'dynsection-0'; Node12 - -sstream + +sstream - + Node10->Node12 - - - + + + @@ -364,17 +364,17 @@ var sectionId = 'dynsection-0'; Node14 - -conf.hpp + +conf.hpp - + Node10->Node14 - - - + + + @@ -382,17 +382,17 @@ var sectionId = 'dynsection-0'; Node15 - -cstdint + +cstdint - + Node10->Node15 - - - + + + @@ -400,17 +400,17 @@ var sectionId = 'dynsection-0'; Node16 - -string + +string - + Node10->Node16 - - - + + + @@ -418,8 +418,8 @@ var sectionId = 'dynsection-0'; Node11->Node2 - - + + @@ -427,8 +427,8 @@ var sectionId = 'dynsection-0'; Node11->Node12 - - + + @@ -436,8 +436,8 @@ var sectionId = 'dynsection-0'; Node13 - -iomanip + +iomanip @@ -445,8 +445,8 @@ var sectionId = 'dynsection-0'; Node11->Node13 - - + + @@ -454,8 +454,8 @@ var sectionId = 'dynsection-0'; Node11->Node14 - - + + @@ -463,8 +463,8 @@ var sectionId = 'dynsection-0'; Node19 - -Logging.hpp + +Logging.hpp @@ -472,8 +472,26 @@ var sectionId = 'dynsection-0'; Node11->Node19 - - + + + + + + + +Node21 + + +esp_mac.h + + + + + +Node11->Node21 + + + @@ -481,8 +499,8 @@ var sectionId = 'dynsection-0'; Node14->Node15 - - + + @@ -490,8 +508,8 @@ var sectionId = 'dynsection-0'; Node14->Node16 - - + + @@ -499,8 +517,8 @@ var sectionId = 'dynsection-0'; Node17 - -chrono + +chrono @@ -508,8 +526,8 @@ var sectionId = 'dynsection-0'; Node14->Node17 - - + + @@ -517,8 +535,8 @@ var sectionId = 'dynsection-0'; Node18 - -MachineID.hpp + +MachineID.hpp @@ -526,8 +544,8 @@ var sectionId = 'dynsection-0'; Node14->Node18 - - + + @@ -535,8 +553,8 @@ var sectionId = 'dynsection-0'; Node18->Node15 - - + + @@ -544,8 +562,8 @@ var sectionId = 'dynsection-0'; Node20 - -esp_log.h + +esp_log.h @@ -553,71 +571,71 @@ var sectionId = 'dynsection-0'; Node19->Node20 - - + + - - -Node22->Node15 - - - + + +Node23->Node15 + + + - - -Node23 - - -Adafruit_NeoPixel.h + + +Node24 + + +Adafruit_NeoPixel.h - - -Node22->Node23 - - - + + +Node23->Node24 + + + - - -Node24 - - -PinsConfig.hpp + + +Node25 + + +PinsConfig.hpp - - -Node22->Node24 - - - + + +Node23->Node25 + + + - - -Node24->Node9 - - - + + +Node25->Node9 + + + - - -Node24->Node15 - - - + + +Node25->Node15 + + + diff --git a/_mrfc522_driver_8cpp__incl_org.svg b/_mrfc522_driver_8cpp__incl_org.svg index 3d810a65..1b3e5023 100644 --- a/_mrfc522_driver_8cpp__incl_org.svg +++ b/_mrfc522_driver_8cpp__incl_org.svg @@ -4,16 +4,16 @@ - + Mrfc522Driver.cpp Node1 - -Mrfc522Driver.cpp + +Mrfc522Driver.cpp @@ -21,8 +21,8 @@ Node2 - -Arduino.h + +Arduino.h @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node3 - -algorithm + +algorithm @@ -48,8 +48,8 @@ Node1->Node3 - - + + @@ -57,8 +57,8 @@ Node4 - -memory + +memory @@ -66,8 +66,8 @@ Node1->Node4 - - + + @@ -75,8 +75,8 @@ Node5 - -MFRC522DriverPinSimple.h + +MFRC522DriverPinSimple.h @@ -84,8 +84,8 @@ Node1->Node5 - - + + @@ -93,8 +93,8 @@ Node6 - -MFRC522DriverSPI.h + +MFRC522DriverSPI.h @@ -102,8 +102,8 @@ Node1->Node6 - - + + @@ -111,8 +111,8 @@ Node7 - -MFRC522v2.h + +MFRC522v2.h @@ -120,8 +120,8 @@ Node1->Node7 - - + + @@ -129,8 +129,8 @@ Node8 - -Mrfc522Driver.hpp + +Mrfc522Driver.hpp @@ -138,8 +138,8 @@ Node1->Node8 - - + + @@ -147,8 +147,8 @@ Node8->Node2 - - + + @@ -156,35 +156,35 @@ Node8->Node4 - - + + - + Node8->Node5 - - - + + + - + Node8->Node6 - - - + + + - + Node8->Node7 - - - + + + @@ -192,8 +192,8 @@ Node9 - -array + +array @@ -201,8 +201,8 @@ Node8->Node9 - - + + @@ -210,8 +210,8 @@ Node10 - -FabUser.hpp + +FabUser.hpp @@ -219,44 +219,44 @@ Node8->Node10 - - + + - - -Node21 - - -MFRC522Debug.h + + +Node22 + + +MFRC522Debug.h - - -Node8->Node21 - - - + + +Node8->Node22 + + + - - -Node22 - - -pins.hpp + + +Node23 + + +pins.hpp - - -Node8->Node22 - - - + + +Node8->Node23 + + + @@ -264,17 +264,17 @@ Node10->Node2 - - + + - + Node10->Node9 - - - + + + @@ -282,8 +282,8 @@ Node11 - -card.hpp + +card.hpp @@ -291,8 +291,8 @@ Node10->Node11 - - + + @@ -300,17 +300,17 @@ Node12 - -sstream + +sstream - + Node10->Node12 - - - + + + @@ -318,17 +318,17 @@ Node14 - -conf.hpp + +conf.hpp - + Node10->Node14 - - - + + + @@ -336,17 +336,17 @@ Node15 - -cstdint + +cstdint - + Node10->Node15 - - - + + + @@ -354,17 +354,17 @@ Node16 - -string + +string - + Node10->Node16 - - - + + + @@ -372,8 +372,8 @@ Node11->Node2 - - + + @@ -381,8 +381,8 @@ Node11->Node12 - - + + @@ -390,8 +390,8 @@ Node13 - -iomanip + +iomanip @@ -399,8 +399,8 @@ Node11->Node13 - - + + @@ -408,8 +408,8 @@ Node11->Node14 - - + + @@ -417,8 +417,8 @@ Node19 - -Logging.hpp + +Logging.hpp @@ -426,8 +426,26 @@ Node11->Node19 - - + + + + + + + +Node21 + + +esp_mac.h + + + + + +Node11->Node21 + + + @@ -435,8 +453,8 @@ Node14->Node15 - - + + @@ -444,8 +462,8 @@ Node14->Node16 - - + + @@ -453,8 +471,8 @@ Node17 - -chrono + +chrono @@ -462,8 +480,8 @@ Node14->Node17 - - + + @@ -471,8 +489,8 @@ Node18 - -MachineID.hpp + +MachineID.hpp @@ -480,8 +498,8 @@ Node14->Node18 - - + + @@ -489,8 +507,8 @@ Node18->Node15 - - + + @@ -498,8 +516,8 @@ Node20 - -esp_log.h + +esp_log.h @@ -507,71 +525,71 @@ Node19->Node20 - - + + - - -Node22->Node15 - - - + + +Node23->Node15 + + + - - -Node23 - - -Adafruit_NeoPixel.h + + +Node24 + + +Adafruit_NeoPixel.h - - -Node22->Node23 - - - + + +Node23->Node24 + + + - - -Node24 - - -PinsConfig.hpp + + +Node25 + + +PinsConfig.hpp - - -Node22->Node24 - - - + + +Node23->Node25 + + + - - -Node24->Node9 - - - + + +Node25->Node9 + + + - - -Node24->Node15 - - - + + +Node25->Node15 + + + diff --git a/_mrfc522_driver_8cpp_source.xhtml b/_mrfc522_driver_8cpp_source.xhtml index e019c1f3..f3f301cf 100644 --- a/_mrfc522_driver_8cpp_source.xhtml +++ b/_mrfc522_driver_8cpp_source.xhtml @@ -193,7 +193,7 @@ $(document).ready(function() { init_codefold(0); });
diff --git a/_mrfc522_driver_8hpp.xhtml b/_mrfc522_driver_8hpp.xhtml index f393052e..43b622c5 100644 --- a/_mrfc522_driver_8hpp.xhtml +++ b/_mrfc522_driver_8hpp.xhtml @@ -119,7 +119,7 @@ Namespaces diff --git a/_mrfc522_driver_8hpp__incl.map b/_mrfc522_driver_8hpp__incl.map index 487a9d80..117f4631 100644 --- a/_mrfc522_driver_8hpp__incl.map +++ b/_mrfc522_driver_8hpp__incl.map @@ -1,56 +1,58 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_mrfc522_driver_8hpp__incl.md5 b/_mrfc522_driver_8hpp__incl.md5 index d4aa3a1f..3e992508 100644 --- a/_mrfc522_driver_8hpp__incl.md5 +++ b/_mrfc522_driver_8hpp__incl.md5 @@ -1 +1 @@ -c570018edd8151feb599079a5c3e9032 \ No newline at end of file +c48a381d71d13cbb72330b612da82b49 \ No newline at end of file diff --git a/_mrfc522_driver_8hpp__incl.svg b/_mrfc522_driver_8hpp__incl.svg index 75559acb..d15a368c 100644 --- a/_mrfc522_driver_8hpp__incl.svg +++ b/_mrfc522_driver_8hpp__incl.svg @@ -46,7 +46,7 @@
@@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -Mrfc522Driver.hpp + +Mrfc522Driver.hpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -Arduino.h + +Arduino.h @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,8 +85,8 @@ var sectionId = 'dynsection-0'; Node3 - -memory + +memory @@ -94,8 +94,8 @@ var sectionId = 'dynsection-0'; Node1->Node3 - - + + @@ -103,8 +103,8 @@ var sectionId = 'dynsection-0'; Node4 - -array + +array @@ -112,8 +112,8 @@ var sectionId = 'dynsection-0'; Node1->Node4 - - + + @@ -121,8 +121,8 @@ var sectionId = 'dynsection-0'; Node5 - -FabUser.hpp + +FabUser.hpp @@ -130,26 +130,8 @@ var sectionId = 'dynsection-0'; Node1->Node5 - - - - - - - -Node16 - - -MFRC522Debug.h - - - - - -Node1->Node16 - - - + + @@ -157,8 +139,8 @@ var sectionId = 'dynsection-0'; Node17 - -MFRC522DriverPinSimple.h + +MFRC522Debug.h @@ -166,8 +148,8 @@ var sectionId = 'dynsection-0'; Node1->Node17 - - + + @@ -175,8 +157,8 @@ var sectionId = 'dynsection-0'; Node18 - -MFRC522DriverSPI.h + +MFRC522DriverPinSimple.h @@ -184,8 +166,8 @@ var sectionId = 'dynsection-0'; Node1->Node18 - - + + @@ -193,8 +175,8 @@ var sectionId = 'dynsection-0'; Node19 - -MFRC522v2.h + +MFRC522DriverSPI.h @@ -202,17 +184,17 @@ var sectionId = 'dynsection-0'; Node1->Node19 - - + + Node20 - - -pins.hpp + + +MFRC522v2.h @@ -220,8 +202,26 @@ var sectionId = 'dynsection-0'; Node1->Node20 - - + + + + + + + +Node21 + + +pins.hpp + + + + + +Node1->Node21 + + + @@ -229,17 +229,17 @@ var sectionId = 'dynsection-0'; Node5->Node2 - - + + - + Node5->Node4 - - - + + + @@ -247,8 +247,8 @@ var sectionId = 'dynsection-0'; Node6 - -card.hpp + +card.hpp @@ -256,8 +256,8 @@ var sectionId = 'dynsection-0'; Node5->Node6 - - + + @@ -265,17 +265,17 @@ var sectionId = 'dynsection-0'; Node7 - -sstream + +sstream - + Node5->Node7 - - - + + + @@ -283,17 +283,17 @@ var sectionId = 'dynsection-0'; Node9 - -conf.hpp + +conf.hpp - + Node5->Node9 - - - + + + @@ -301,17 +301,17 @@ var sectionId = 'dynsection-0'; Node10 - -cstdint + +cstdint - + Node5->Node10 - - - + + + @@ -319,17 +319,17 @@ var sectionId = 'dynsection-0'; Node11 - -string + +string - + Node5->Node11 - - - + + + @@ -337,8 +337,8 @@ var sectionId = 'dynsection-0'; Node6->Node2 - - + + @@ -346,8 +346,8 @@ var sectionId = 'dynsection-0'; Node6->Node7 - - + + @@ -355,8 +355,8 @@ var sectionId = 'dynsection-0'; Node8 - -iomanip + +iomanip @@ -364,8 +364,8 @@ var sectionId = 'dynsection-0'; Node6->Node8 - - + + @@ -373,8 +373,8 @@ var sectionId = 'dynsection-0'; Node6->Node9 - - + + @@ -382,8 +382,8 @@ var sectionId = 'dynsection-0'; Node14 - -Logging.hpp + +Logging.hpp @@ -391,8 +391,26 @@ var sectionId = 'dynsection-0'; Node6->Node14 - - + + + + + + + +Node16 + + +esp_mac.h + + + + + +Node6->Node16 + + + @@ -400,8 +418,8 @@ var sectionId = 'dynsection-0'; Node9->Node10 - - + + @@ -409,8 +427,8 @@ var sectionId = 'dynsection-0'; Node9->Node11 - - + + @@ -418,8 +436,8 @@ var sectionId = 'dynsection-0'; Node12 - -chrono + +chrono @@ -427,8 +445,8 @@ var sectionId = 'dynsection-0'; Node9->Node12 - - + + @@ -436,8 +454,8 @@ var sectionId = 'dynsection-0'; Node13 - -MachineID.hpp + +MachineID.hpp @@ -445,8 +463,8 @@ var sectionId = 'dynsection-0'; Node9->Node13 - - + + @@ -454,8 +472,8 @@ var sectionId = 'dynsection-0'; Node13->Node10 - - + + @@ -463,8 +481,8 @@ var sectionId = 'dynsection-0'; Node15 - -esp_log.h + +esp_log.h @@ -472,71 +490,71 @@ var sectionId = 'dynsection-0'; Node14->Node15 - - + + - - -Node20->Node10 - - - + + +Node21->Node10 + + + - - -Node21 - - -Adafruit_NeoPixel.h + + +Node22 + + +Adafruit_NeoPixel.h - - -Node20->Node21 - - - + + +Node21->Node22 + + + - - -Node22 - - -PinsConfig.hpp + + +Node23 + + +PinsConfig.hpp - - -Node20->Node22 - - - + + +Node21->Node23 + + + - - -Node22->Node4 - - - + + +Node23->Node4 + + + - - -Node22->Node10 - - - + + +Node23->Node10 + + + diff --git a/_mrfc522_driver_8hpp__incl_org.svg b/_mrfc522_driver_8hpp__incl_org.svg index edd0f0d2..105cea6a 100644 --- a/_mrfc522_driver_8hpp__incl_org.svg +++ b/_mrfc522_driver_8hpp__incl_org.svg @@ -4,16 +4,16 @@ - + Mrfc522Driver.hpp Node1 - -Mrfc522Driver.hpp + +Mrfc522Driver.hpp @@ -21,8 +21,8 @@ Node2 - -Arduino.h + +Arduino.h @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node3 - -memory + +memory @@ -48,8 +48,8 @@ Node1->Node3 - - + + @@ -57,8 +57,8 @@ Node4 - -array + +array @@ -66,8 +66,8 @@ Node1->Node4 - - + + @@ -75,8 +75,8 @@ Node5 - -FabUser.hpp + +FabUser.hpp @@ -84,26 +84,8 @@ Node1->Node5 - - - - - - - -Node16 - - -MFRC522Debug.h - - - - - -Node1->Node16 - - - + + @@ -111,8 +93,8 @@ Node17 - -MFRC522DriverPinSimple.h + +MFRC522Debug.h @@ -120,8 +102,8 @@ Node1->Node17 - - + + @@ -129,8 +111,8 @@ Node18 - -MFRC522DriverSPI.h + +MFRC522DriverPinSimple.h @@ -138,8 +120,8 @@ Node1->Node18 - - + + @@ -147,8 +129,8 @@ Node19 - -MFRC522v2.h + +MFRC522DriverSPI.h @@ -156,17 +138,17 @@ Node1->Node19 - - + + Node20 - - -pins.hpp + + +MFRC522v2.h @@ -174,8 +156,26 @@ Node1->Node20 - - + + + + + + + +Node21 + + +pins.hpp + + + + + +Node1->Node21 + + + @@ -183,17 +183,17 @@ Node5->Node2 - - + + - + Node5->Node4 - - - + + + @@ -201,8 +201,8 @@ Node6 - -card.hpp + +card.hpp @@ -210,8 +210,8 @@ Node5->Node6 - - + + @@ -219,17 +219,17 @@ Node7 - -sstream + +sstream - + Node5->Node7 - - - + + + @@ -237,17 +237,17 @@ Node9 - -conf.hpp + +conf.hpp - + Node5->Node9 - - - + + + @@ -255,17 +255,17 @@ Node10 - -cstdint + +cstdint - + Node5->Node10 - - - + + + @@ -273,17 +273,17 @@ Node11 - -string + +string - + Node5->Node11 - - - + + + @@ -291,8 +291,8 @@ Node6->Node2 - - + + @@ -300,8 +300,8 @@ Node6->Node7 - - + + @@ -309,8 +309,8 @@ Node8 - -iomanip + +iomanip @@ -318,8 +318,8 @@ Node6->Node8 - - + + @@ -327,8 +327,8 @@ Node6->Node9 - - + + @@ -336,8 +336,8 @@ Node14 - -Logging.hpp + +Logging.hpp @@ -345,8 +345,26 @@ Node6->Node14 - - + + + + + + + +Node16 + + +esp_mac.h + + + + + +Node6->Node16 + + + @@ -354,8 +372,8 @@ Node9->Node10 - - + + @@ -363,8 +381,8 @@ Node9->Node11 - - + + @@ -372,8 +390,8 @@ Node12 - -chrono + +chrono @@ -381,8 +399,8 @@ Node9->Node12 - - + + @@ -390,8 +408,8 @@ Node13 - -MachineID.hpp + +MachineID.hpp @@ -399,8 +417,8 @@ Node9->Node13 - - + + @@ -408,8 +426,8 @@ Node13->Node10 - - + + @@ -417,8 +435,8 @@ Node15 - -esp_log.h + +esp_log.h @@ -426,71 +444,71 @@ Node14->Node15 - - + + - - -Node20->Node10 - - - + + +Node21->Node10 + + + - - -Node21 - - -Adafruit_NeoPixel.h + + +Node22 + + +Adafruit_NeoPixel.h - - -Node20->Node21 - - - + + +Node21->Node22 + + + - - -Node22 - - -PinsConfig.hpp + + +Node23 + + +PinsConfig.hpp - - -Node20->Node22 - - - + + +Node21->Node23 + + + - - -Node22->Node4 - - - + + +Node23->Node4 + + + - - -Node22->Node10 - - - + + +Node23->Node10 + + + diff --git a/_mrfc522_driver_8hpp_source.xhtml b/_mrfc522_driver_8hpp_source.xhtml index cab53679..88a6a796 100644 --- a/_mrfc522_driver_8hpp_source.xhtml +++ b/_mrfc522_driver_8hpp_source.xhtml @@ -161,7 +161,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_o_t_a_8cpp.xhtml b/_o_t_a_8cpp.xhtml index 95c33cbd..6b6d1be4 100644 --- a/_o_t_a_8cpp.xhtml +++ b/_o_t_a_8cpp.xhtml @@ -126,7 +126,7 @@ Variables diff --git a/_o_t_a_8cpp__incl.map b/_o_t_a_8cpp__incl.map index 3af2bce0..f3816151 100644 --- a/_o_t_a_8cpp__incl.map +++ b/_o_t_a_8cpp__incl.map @@ -1,176 +1,179 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_o_t_a_8cpp__incl.md5 b/_o_t_a_8cpp__incl.md5 index c1160740..43b29b58 100644 --- a/_o_t_a_8cpp__incl.md5 +++ b/_o_t_a_8cpp__incl.md5 @@ -1 +1 @@ -2a0e1167ca2c492260e66f2cb136988c \ No newline at end of file +7b2f465170d2afdd3a9983729ab16680 \ No newline at end of file diff --git a/_o_t_a_8cpp__incl.svg b/_o_t_a_8cpp__incl.svg index 58328c89..5fb369dd 100644 --- a/_o_t_a_8cpp__incl.svg +++ b/_o_t_a_8cpp__incl.svg @@ -46,7 +46,7 @@ @@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -OTA.cpp + +OTA.cpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -atomic + +atomic @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,8 +85,8 @@ var sectionId = 'dynsection-0'; Node3 - -OTA.hpp + +OTA.hpp @@ -94,44 +94,44 @@ var sectionId = 'dynsection-0'; Node1->Node3 - - + + - - -Node26 - - -BoardLogic.hpp + + +Node28 + + +BoardLogic.hpp - - -Node1->Node26 - - - + + +Node1->Node28 + + + - - -Node53 - - -language/lang.hpp + + +Node54 + + +language/lang.hpp - - -Node1->Node53 - - - + + +Node1->Node54 + + + @@ -139,8 +139,8 @@ var sectionId = 'dynsection-0'; Node4 - -ArduinoOTA.h + +ArduinoOTA.h @@ -148,8 +148,8 @@ var sectionId = 'dynsection-0'; Node3->Node4 - - + + @@ -157,8 +157,8 @@ var sectionId = 'dynsection-0'; Node5 - -WiFiManager.h + +WiFiManager.h @@ -166,8 +166,8 @@ var sectionId = 'dynsection-0'; Node3->Node5 - - + + @@ -175,8 +175,8 @@ var sectionId = 'dynsection-0'; Node6 - -secrets.hpp + +secrets.hpp @@ -184,8 +184,8 @@ var sectionId = 'dynsection-0'; Node3->Node6 - - + + @@ -193,8 +193,8 @@ var sectionId = 'dynsection-0'; Node7 - -cstdint + +cstdint @@ -202,8 +202,8 @@ var sectionId = 'dynsection-0'; Node6->Node7 - - + + @@ -211,8 +211,8 @@ var sectionId = 'dynsection-0'; Node8 - -array + +array @@ -220,8 +220,8 @@ var sectionId = 'dynsection-0'; Node6->Node8 - - + + @@ -229,8 +229,8 @@ var sectionId = 'dynsection-0'; Node9 - -string_view + +string_view @@ -238,8 +238,8 @@ var sectionId = 'dynsection-0'; Node6->Node9 - - + + @@ -247,8 +247,8 @@ var sectionId = 'dynsection-0'; Node10 - -MachineConfig.hpp + +MachineConfig.hpp @@ -256,8 +256,8 @@ var sectionId = 'dynsection-0'; Node6->Node10 - - + + @@ -265,17 +265,17 @@ var sectionId = 'dynsection-0'; Node17 - -conf.hpp + +conf.hpp - + Node6->Node17 - - - + + + @@ -283,8 +283,8 @@ var sectionId = 'dynsection-0'; Node18 - -Machine.hpp + +Machine.hpp @@ -292,8 +292,8 @@ var sectionId = 'dynsection-0'; Node6->Node18 - - + + @@ -301,17 +301,17 @@ var sectionId = 'dynsection-0'; Node19 - -FabUser.hpp + +FabUser.hpp - + Node6->Node19 - - - + + + @@ -319,8 +319,8 @@ var sectionId = 'dynsection-0'; Node10->Node7 - - + + @@ -328,8 +328,8 @@ var sectionId = 'dynsection-0'; Node11 - -chrono + +chrono @@ -337,8 +337,8 @@ var sectionId = 'dynsection-0'; Node10->Node11 - - + + @@ -346,8 +346,8 @@ var sectionId = 'dynsection-0'; Node12 - -string + +string @@ -355,8 +355,8 @@ var sectionId = 'dynsection-0'; Node10->Node12 - - + + @@ -364,8 +364,8 @@ var sectionId = 'dynsection-0'; Node13 - -pins.hpp + +pins.hpp @@ -373,8 +373,8 @@ var sectionId = 'dynsection-0'; Node10->Node13 - - + + @@ -382,8 +382,8 @@ var sectionId = 'dynsection-0'; Node16 - -MachineID.hpp + +MachineID.hpp @@ -391,8 +391,8 @@ var sectionId = 'dynsection-0'; Node10->Node16 - - + + @@ -400,8 +400,8 @@ var sectionId = 'dynsection-0'; Node10->Node17 - - + + @@ -409,8 +409,8 @@ var sectionId = 'dynsection-0'; Node13->Node7 - - + + @@ -418,8 +418,8 @@ var sectionId = 'dynsection-0'; Node14 - -Adafruit_NeoPixel.h + +Adafruit_NeoPixel.h @@ -427,8 +427,8 @@ var sectionId = 'dynsection-0'; Node13->Node14 - - + + @@ -436,8 +436,8 @@ var sectionId = 'dynsection-0'; Node15 - -PinsConfig.hpp + +PinsConfig.hpp @@ -445,8 +445,8 @@ var sectionId = 'dynsection-0'; Node13->Node15 - - + + @@ -454,8 +454,8 @@ var sectionId = 'dynsection-0'; Node15->Node7 - - + + @@ -463,8 +463,8 @@ var sectionId = 'dynsection-0'; Node15->Node8 - - + + @@ -472,8 +472,8 @@ var sectionId = 'dynsection-0'; Node16->Node7 - - + + @@ -481,8 +481,8 @@ var sectionId = 'dynsection-0'; Node17->Node7 - - + + @@ -490,8 +490,8 @@ var sectionId = 'dynsection-0'; Node17->Node11 - - + + @@ -499,8 +499,8 @@ var sectionId = 'dynsection-0'; Node17->Node12 - - + + @@ -508,44 +508,44 @@ var sectionId = 'dynsection-0'; Node17->Node16 - - + + - + Node18->Node7 - - - + + + - + Node18->Node8 - - - + + + - + Node18->Node10 - - - + + + - + Node18->Node11 - - - + + + @@ -553,44 +553,62 @@ var sectionId = 'dynsection-0'; Node18->Node19 - - + + + + + + + +Node27 + + +optional + + + + + +Node18->Node27 + + + - + Node19->Node7 - - - + + + - + Node19->Node8 - - - + + + - + Node19->Node12 - - - + + + - + Node19->Node17 - - - + + + @@ -598,8 +616,8 @@ var sectionId = 'dynsection-0'; Node20 - -Arduino.h + +Arduino.h @@ -607,8 +625,8 @@ var sectionId = 'dynsection-0'; Node19->Node20 - - + + @@ -616,8 +634,8 @@ var sectionId = 'dynsection-0'; Node21 - -card.hpp + +card.hpp @@ -625,8 +643,8 @@ var sectionId = 'dynsection-0'; Node19->Node21 - - + + @@ -634,17 +652,17 @@ var sectionId = 'dynsection-0'; Node22 - -sstream + +sstream - + Node19->Node22 - - - + + + @@ -652,8 +670,8 @@ var sectionId = 'dynsection-0'; Node21->Node17 - - + + @@ -661,8 +679,8 @@ var sectionId = 'dynsection-0'; Node21->Node20 - - + + @@ -670,8 +688,8 @@ var sectionId = 'dynsection-0'; Node21->Node22 - - + + @@ -679,8 +697,8 @@ var sectionId = 'dynsection-0'; Node23 - -iomanip + +iomanip @@ -688,8 +706,8 @@ var sectionId = 'dynsection-0'; Node21->Node23 - - + + @@ -697,8 +715,8 @@ var sectionId = 'dynsection-0'; Node24 - -Logging.hpp + +Logging.hpp @@ -706,458 +724,467 @@ var sectionId = 'dynsection-0'; Node21->Node24 - - + + - - -Node26->Node6 - - - + + +Node26 + + +esp_mac.h - - -Node26->Node13 - - - + + +Node21->Node26 + + + - - -Node26->Node18 - - - + + +Node28->Node6 + + + - - -Node26->Node19 - - - + + +Node28->Node13 + + + - - -Node26->Node21 - - - + + +Node28->Node18 + + + - - -Node27 - - -AuthProvider.hpp + + +Node28->Node19 + + + - - -Node26->Node27 - - - + + +Node28->Node21 + + + - - -Node33 - - -BaseRfidWrapper.hpp + + +Node29 + + +AuthProvider.hpp - - -Node26->Node33 - - - + + +Node28->Node29 + + + Node35 - - -FabBackend.hpp + + +BaseRfidWrapper.hpp - - -Node26->Node35 - - - + + +Node28->Node35 + + + - - -Node47 - - -LCDWrapper.hpp + + +Node36 + + +FabBackend.hpp - - -Node26->Node47 - - - + + +Node28->Node36 + + + - - -Node50 - - -Led.hpp + + +Node48 + + +LCDWrapper.hpp - - -Node26->Node50 - - - + + +Node28->Node48 + + + Node51 - - -Buzzer.hpp - - - - - -Node26->Node51 - - - + + +Led.hpp - - -Node27->Node6 - - - + + +Node28->Node51 + + + - - -Node27->Node9 - - - + + +Node52 + + +Buzzer.hpp - - -Node27->Node12 - - - + + +Node28->Node52 + + + - - -Node27->Node19 - - - + + +Node29->Node6 + + + - - -Node28 - - -list + + +Node29->Node9 + + + - - -Node27->Node28 - - - + + +Node29->Node12 + + + - - -Node29 - - -tuple + + +Node29->Node19 + + + - - -Node27->Node29 - - - + + +Node29->Node27 + + + Node30 - - -WhiteList.hpp + + +list + + + + + +Node29->Node30 + + + + + + + + +Node31 + + +tuple - - -Node27->Node30 - - - + + +Node29->Node31 + + + Node32 - - -CachedCards.hpp + + +WhiteList.hpp - - -Node27->Node32 - - - + + +Node29->Node32 + + + - - -Node30->Node8 - - - + + +Node34 + + +CachedCards.hpp - - -Node30->Node9 - - - + + +Node29->Node34 + + + - - -Node30->Node17 - - - + + +Node32->Node8 + + + - - -Node30->Node19 - - - + + +Node32->Node9 + + + - - -Node30->Node29 - - - + + +Node32->Node17 + + + - - -Node31 - - -unordered_map + + +Node32->Node19 + + + - - -Node30->Node31 - - - + + +Node32->Node31 + + + - - -Node32->Node8 - - - + + +Node33 + + +unordered_map - - -Node32->Node17 - - - + + +Node32->Node33 + + + - - -Node32->Node19 - - - + + +Node34->Node8 + + + - - -Node32->Node21 - - - + + +Node34->Node17 + + + - - -Node33->Node21 - - - + + +Node34->Node19 + + + - - -Node34 - - -optional + + +Node34->Node21 + + + - - -Node33->Node34 - - - + + +Node34->Node27 + + + - - -Node35->Node8 - - - + + +Node35->Node21 + + + - - -Node35->Node11 - - - + + +Node35->Node27 + + + - - -Node35->Node12 - - - + + +Node36->Node8 + + + - - -Node35->Node17 - - - + + +Node36->Node11 + + + - - -Node35->Node19 - - - + + +Node36->Node12 + + + - - -Node36 - - -functional + + +Node36->Node17 + + + - - -Node35->Node36 - - - + + +Node36->Node19 + + + @@ -1165,17 +1192,17 @@ var sectionId = 'dynsection-0'; Node37 - -WiFi.h + +functional - - -Node35->Node37 - - - + + +Node36->Node37 + + + @@ -1183,17 +1210,17 @@ var sectionId = 'dynsection-0'; Node38 - -ArduinoJson.h + +WiFi.h - - -Node35->Node38 - - - + + +Node36->Node38 + + + @@ -1201,422 +1228,422 @@ var sectionId = 'dynsection-0'; Node39 - -MQTTClient.h + +ArduinoJson.h - - -Node35->Node39 - - - + + +Node36->Node39 + + + Node40 - - -MQTTtypes.hpp + + +MQTTClient.h - - -Node35->Node40 - - - + + +Node36->Node40 + + + - - -Node42 - - -SavedConfig.hpp + + +Node41 + + +MQTTtypes.hpp - - -Node35->Node42 - - - + + +Node36->Node41 + + + - - -Node45 - - -BufferedMsg.hpp + + +Node43 + + +SavedConfig.hpp - - -Node35->Node45 - - - + + +Node36->Node43 + + + - - -Node40->Node9 - - - + + +Node46 + + +BufferedMsg.hpp - - -Node40->Node12 - - - + + +Node36->Node46 + + + - - -Node40->Node18 - - - + + +Node41->Node9 + + + - - -Node40->Node19 - - - + + +Node41->Node12 + + + - - -Node40->Node21 - - - + + +Node41->Node18 + + + - - -Node40->Node38 - - - + + +Node41->Node19 + + + - - -Node41 - - -memory + + +Node41->Node21 + + + - - -Node40->Node41 - - - + + +Node41->Node39 + + + - - -Node42->Node7 - - - + + +Node42 + + +memory - - -Node42->Node10 - - - + + +Node41->Node42 + + + - - -Node42->Node12 - - - + + +Node43->Node7 + + + - - -Node42->Node17 - - - + + +Node43->Node10 + + + - - -Node42->Node32 - - - + + +Node43->Node12 + + + - - -Node42->Node34 - - - + + +Node43->Node17 + + + - - -Node42->Node38 - - - + + +Node43->Node27 + + + - - -Node43 - - -mutex + + +Node43->Node34 + + + - - -Node42->Node43 - - - + + +Node43->Node39 + + + - - -Node42->Node45 - - - + + +Node43->Node46 + + + - - -Node45->Node12 - - - + + +Node46->Node12 + + + - - -Node45->Node16 - - - + + +Node46->Node16 + + + - - -Node45->Node34 - - - + + +Node46->Node27 + + + - - -Node45->Node38 - - - + + +Node46->Node39 + + + - - -Node45->Node40 - - - + + +Node46->Node41 + + + - - -Node45->Node41 - - - + + +Node46->Node42 + + + - - -Node47->Node8 - - - + + +Node48->Node8 + + + - - -Node47->Node11 - - - + + +Node48->Node11 + + + - - -Node47->Node13 - - - + + +Node48->Node13 + + + - - -Node47->Node18 - - - + + +Node48->Node18 + + + - - -Node48 - - -BoardInfo.hpp + + +Node49 + + +BoardInfo.hpp - - -Node47->Node48 - - - + + +Node48->Node49 + + + - - -Node49 - - -LiquidCrystal.h + + +Node50 + + +LiquidCrystal.h - - -Node47->Node49 - - - + + +Node48->Node50 + + + - - -Node48->Node18 - - - + + +Node49->Node18 + + + - - -Node50->Node13 - - - + + +Node51->Node13 + + + - - -Node50->Node14 - - - + + +Node51->Node14 + + + - - -Node50->Node20 - - - + + +Node51->Node20 + + + - - -Node50->Node41 - - - + + +Node51->Node42 + + + - - -Node52 - - -inttypes.h + + +Node53 + + +inttypes.h - - -Node51->Node52 - - - + + +Node52->Node53 + + + diff --git a/_o_t_a_8cpp__incl_org.svg b/_o_t_a_8cpp__incl_org.svg index 96dde0a5..b9576aa6 100644 --- a/_o_t_a_8cpp__incl_org.svg +++ b/_o_t_a_8cpp__incl_org.svg @@ -4,16 +4,16 @@ - + OTA.cpp Node1 - -OTA.cpp + +OTA.cpp @@ -21,8 +21,8 @@ Node2 - -atomic + +atomic @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node3 - -OTA.hpp + +OTA.hpp @@ -48,44 +48,44 @@ Node1->Node3 - - + + - - -Node26 - - -BoardLogic.hpp + + +Node28 + + +BoardLogic.hpp - - -Node1->Node26 - - - + + +Node1->Node28 + + + - - -Node53 - - -language/lang.hpp + + +Node54 + + +language/lang.hpp - - -Node1->Node53 - - - + + +Node1->Node54 + + + @@ -93,8 +93,8 @@ Node4 - -ArduinoOTA.h + +ArduinoOTA.h @@ -102,8 +102,8 @@ Node3->Node4 - - + + @@ -111,8 +111,8 @@ Node5 - -WiFiManager.h + +WiFiManager.h @@ -120,8 +120,8 @@ Node3->Node5 - - + + @@ -129,8 +129,8 @@ Node6 - -secrets.hpp + +secrets.hpp @@ -138,8 +138,8 @@ Node3->Node6 - - + + @@ -147,8 +147,8 @@ Node7 - -cstdint + +cstdint @@ -156,8 +156,8 @@ Node6->Node7 - - + + @@ -165,8 +165,8 @@ Node8 - -array + +array @@ -174,8 +174,8 @@ Node6->Node8 - - + + @@ -183,8 +183,8 @@ Node9 - -string_view + +string_view @@ -192,8 +192,8 @@ Node6->Node9 - - + + @@ -201,8 +201,8 @@ Node10 - -MachineConfig.hpp + +MachineConfig.hpp @@ -210,8 +210,8 @@ Node6->Node10 - - + + @@ -219,17 +219,17 @@ Node17 - -conf.hpp + +conf.hpp - + Node6->Node17 - - - + + + @@ -237,8 +237,8 @@ Node18 - -Machine.hpp + +Machine.hpp @@ -246,8 +246,8 @@ Node6->Node18 - - + + @@ -255,17 +255,17 @@ Node19 - -FabUser.hpp + +FabUser.hpp - + Node6->Node19 - - - + + + @@ -273,8 +273,8 @@ Node10->Node7 - - + + @@ -282,8 +282,8 @@ Node11 - -chrono + +chrono @@ -291,8 +291,8 @@ Node10->Node11 - - + + @@ -300,8 +300,8 @@ Node12 - -string + +string @@ -309,8 +309,8 @@ Node10->Node12 - - + + @@ -318,8 +318,8 @@ Node13 - -pins.hpp + +pins.hpp @@ -327,8 +327,8 @@ Node10->Node13 - - + + @@ -336,8 +336,8 @@ Node16 - -MachineID.hpp + +MachineID.hpp @@ -345,8 +345,8 @@ Node10->Node16 - - + + @@ -354,8 +354,8 @@ Node10->Node17 - - + + @@ -363,8 +363,8 @@ Node13->Node7 - - + + @@ -372,8 +372,8 @@ Node14 - -Adafruit_NeoPixel.h + +Adafruit_NeoPixel.h @@ -381,8 +381,8 @@ Node13->Node14 - - + + @@ -390,8 +390,8 @@ Node15 - -PinsConfig.hpp + +PinsConfig.hpp @@ -399,8 +399,8 @@ Node13->Node15 - - + + @@ -408,8 +408,8 @@ Node15->Node7 - - + + @@ -417,8 +417,8 @@ Node15->Node8 - - + + @@ -426,8 +426,8 @@ Node16->Node7 - - + + @@ -435,8 +435,8 @@ Node17->Node7 - - + + @@ -444,8 +444,8 @@ Node17->Node11 - - + + @@ -453,8 +453,8 @@ Node17->Node12 - - + + @@ -462,44 +462,44 @@ Node17->Node16 - - + + - + Node18->Node7 - - - + + + - + Node18->Node8 - - - + + + - + Node18->Node10 - - - + + + - + Node18->Node11 - - - + + + @@ -507,44 +507,62 @@ Node18->Node19 - - + + + + + + + +Node27 + + +optional + + + + + +Node18->Node27 + + + - + Node19->Node7 - - - + + + - + Node19->Node8 - - - + + + - + Node19->Node12 - - - + + + - + Node19->Node17 - - - + + + @@ -552,8 +570,8 @@ Node20 - -Arduino.h + +Arduino.h @@ -561,8 +579,8 @@ Node19->Node20 - - + + @@ -570,8 +588,8 @@ Node21 - -card.hpp + +card.hpp @@ -579,8 +597,8 @@ Node19->Node21 - - + + @@ -588,17 +606,17 @@ Node22 - -sstream + +sstream - + Node19->Node22 - - - + + + @@ -606,8 +624,8 @@ Node21->Node17 - - + + @@ -615,8 +633,8 @@ Node21->Node20 - - + + @@ -624,8 +642,8 @@ Node21->Node22 - - + + @@ -633,8 +651,8 @@ Node23 - -iomanip + +iomanip @@ -642,8 +660,8 @@ Node21->Node23 - - + + @@ -651,8 +669,8 @@ Node24 - -Logging.hpp + +Logging.hpp @@ -660,458 +678,467 @@ Node21->Node24 - - + + - - -Node26->Node6 - - - + + +Node26 + + +esp_mac.h - - -Node26->Node13 - - - + + +Node21->Node26 + + + - - -Node26->Node18 - - - + + +Node28->Node6 + + + - - -Node26->Node19 - - - + + +Node28->Node13 + + + - - -Node26->Node21 - - - + + +Node28->Node18 + + + - - -Node27 - - -AuthProvider.hpp + + +Node28->Node19 + + + - - -Node26->Node27 - - - + + +Node28->Node21 + + + - - -Node33 - - -BaseRfidWrapper.hpp + + +Node29 + + +AuthProvider.hpp - - -Node26->Node33 - - - + + +Node28->Node29 + + + Node35 - - -FabBackend.hpp + + +BaseRfidWrapper.hpp - - -Node26->Node35 - - - + + +Node28->Node35 + + + - - -Node47 - - -LCDWrapper.hpp + + +Node36 + + +FabBackend.hpp - - -Node26->Node47 - - - + + +Node28->Node36 + + + - - -Node50 - - -Led.hpp + + +Node48 + + +LCDWrapper.hpp - - -Node26->Node50 - - - + + +Node28->Node48 + + + Node51 - - -Buzzer.hpp - - - - - -Node26->Node51 - - - + + +Led.hpp - - -Node27->Node6 - - - + + +Node28->Node51 + + + - - -Node27->Node9 - - - + + +Node52 + + +Buzzer.hpp - - -Node27->Node12 - - - + + +Node28->Node52 + + + - - -Node27->Node19 - - - + + +Node29->Node6 + + + - - -Node28 - - -list + + +Node29->Node9 + + + - - -Node27->Node28 - - - + + +Node29->Node12 + + + - - -Node29 - - -tuple + + +Node29->Node19 + + + - - -Node27->Node29 - - - + + +Node29->Node27 + + + Node30 - - -WhiteList.hpp + + +list + + + + + +Node29->Node30 + + + + + + + + +Node31 + + +tuple - - -Node27->Node30 - - - + + +Node29->Node31 + + + Node32 - - -CachedCards.hpp + + +WhiteList.hpp - - -Node27->Node32 - - - + + +Node29->Node32 + + + - - -Node30->Node8 - - - + + +Node34 + + +CachedCards.hpp - - -Node30->Node9 - - - + + +Node29->Node34 + + + - - -Node30->Node17 - - - + + +Node32->Node8 + + + - - -Node30->Node19 - - - + + +Node32->Node9 + + + - - -Node30->Node29 - - - + + +Node32->Node17 + + + - - -Node31 - - -unordered_map + + +Node32->Node19 + + + - - -Node30->Node31 - - - + + +Node32->Node31 + + + - - -Node32->Node8 - - - + + +Node33 + + +unordered_map - - -Node32->Node17 - - - + + +Node32->Node33 + + + - - -Node32->Node19 - - - + + +Node34->Node8 + + + - - -Node32->Node21 - - - + + +Node34->Node17 + + + - - -Node33->Node21 - - - + + +Node34->Node19 + + + - - -Node34 - - -optional + + +Node34->Node21 + + + - - -Node33->Node34 - - - + + +Node34->Node27 + + + - - -Node35->Node8 - - - + + +Node35->Node21 + + + - - -Node35->Node11 - - - + + +Node35->Node27 + + + - - -Node35->Node12 - - - + + +Node36->Node8 + + + - - -Node35->Node17 - - - + + +Node36->Node11 + + + - - -Node35->Node19 - - - + + +Node36->Node12 + + + - - -Node36 - - -functional + + +Node36->Node17 + + + - - -Node35->Node36 - - - + + +Node36->Node19 + + + @@ -1119,17 +1146,17 @@ Node37 - -WiFi.h + +functional - - -Node35->Node37 - - - + + +Node36->Node37 + + + @@ -1137,17 +1164,17 @@ Node38 - -ArduinoJson.h + +WiFi.h - - -Node35->Node38 - - - + + +Node36->Node38 + + + @@ -1155,422 +1182,422 @@ Node39 - -MQTTClient.h + +ArduinoJson.h - - -Node35->Node39 - - - + + +Node36->Node39 + + + Node40 - - -MQTTtypes.hpp + + +MQTTClient.h - - -Node35->Node40 - - - + + +Node36->Node40 + + + - - -Node42 - - -SavedConfig.hpp + + +Node41 + + +MQTTtypes.hpp - - -Node35->Node42 - - - + + +Node36->Node41 + + + - - -Node45 - - -BufferedMsg.hpp + + +Node43 + + +SavedConfig.hpp - - -Node35->Node45 - - - + + +Node36->Node43 + + + - - -Node40->Node9 - - - + + +Node46 + + +BufferedMsg.hpp - - -Node40->Node12 - - - + + +Node36->Node46 + + + - - -Node40->Node18 - - - + + +Node41->Node9 + + + - - -Node40->Node19 - - - + + +Node41->Node12 + + + - - -Node40->Node21 - - - + + +Node41->Node18 + + + - - -Node40->Node38 - - - + + +Node41->Node19 + + + - - -Node41 - - -memory + + +Node41->Node21 + + + - - -Node40->Node41 - - - + + +Node41->Node39 + + + - - -Node42->Node7 - - - + + +Node42 + + +memory - - -Node42->Node10 - - - + + +Node41->Node42 + + + - - -Node42->Node12 - - - + + +Node43->Node7 + + + - - -Node42->Node17 - - - + + +Node43->Node10 + + + - - -Node42->Node32 - - - + + +Node43->Node12 + + + - - -Node42->Node34 - - - + + +Node43->Node17 + + + - - -Node42->Node38 - - - + + +Node43->Node27 + + + - - -Node43 - - -mutex + + +Node43->Node34 + + + - - -Node42->Node43 - - - + + +Node43->Node39 + + + - - -Node42->Node45 - - - + + +Node43->Node46 + + + - - -Node45->Node12 - - - + + +Node46->Node12 + + + - - -Node45->Node16 - - - + + +Node46->Node16 + + + - - -Node45->Node34 - - - + + +Node46->Node27 + + + - - -Node45->Node38 - - - + + +Node46->Node39 + + + - - -Node45->Node40 - - - + + +Node46->Node41 + + + - - -Node45->Node41 - - - + + +Node46->Node42 + + + - - -Node47->Node8 - - - + + +Node48->Node8 + + + - - -Node47->Node11 - - - + + +Node48->Node11 + + + - - -Node47->Node13 - - - + + +Node48->Node13 + + + - - -Node47->Node18 - - - + + +Node48->Node18 + + + - - -Node48 - - -BoardInfo.hpp + + +Node49 + + +BoardInfo.hpp - - -Node47->Node48 - - - + + +Node48->Node49 + + + - - -Node49 - - -LiquidCrystal.h + + +Node50 + + +LiquidCrystal.h - - -Node47->Node49 - - - + + +Node48->Node50 + + + - - -Node48->Node18 - - - + + +Node49->Node18 + + + - - -Node50->Node13 - - - + + +Node51->Node13 + + + - - -Node50->Node14 - - - + + +Node51->Node14 + + + - - -Node50->Node20 - - - + + +Node51->Node20 + + + - - -Node50->Node41 - - - + + +Node51->Node42 + + + - - -Node52 - - -inttypes.h + + +Node53 + + +inttypes.h - - -Node51->Node52 - - - + + +Node52->Node53 + + + diff --git a/_o_t_a_8cpp_source.xhtml b/_o_t_a_8cpp_source.xhtml index 53b47b99..4969e101 100644 --- a/_o_t_a_8cpp_source.xhtml +++ b/_o_t_a_8cpp_source.xhtml @@ -245,12 +245,12 @@ $(document).ready(function() { init_codefold(0); });
151} // namespace fabomatic
-
static const char *const TAG
Definition Logging.hpp:6
+
static const char *const TAG
Definition Logging.hpp:9
Main class implementing the state changes.
Status
Main states of the board.
-
auto changeStatus(Status newStatus) -> void
Sets the board in the state given.
-
auto setRebootRequest(bool request) -> void
+
auto changeStatus(Status newStatus) -> void
Sets the board in the state given.
+
auto setRebootRequest(bool request) -> void
Facility to load or save data from Flash.
static auto DefaultConfig() -> SavedConfig
Returns the default configuration built from conf.hpp and secrets.hpp.
static auto LoadFromEEPROM() -> std::optional< SavedConfig >
Loads the configuration from EEPROM if available and matching revision number.
@@ -271,7 +271,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_o_t_a_8hpp.xhtml b/_o_t_a_8hpp.xhtml index f2cb258d..13b8088f 100644 --- a/_o_t_a_8hpp.xhtml +++ b/_o_t_a_8hpp.xhtml @@ -155,7 +155,7 @@ Variables diff --git a/_o_t_a_8hpp__incl.map b/_o_t_a_8hpp__incl.map index fc94702f..aaa7a06b 100644 --- a/_o_t_a_8hpp__incl.map +++ b/_o_t_a_8hpp__incl.map @@ -1,69 +1,73 @@ - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - - - - + + + + + + - + - - - + + + - - - + + + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_o_t_a_8hpp__incl.md5 b/_o_t_a_8hpp__incl.md5 index bc9d3658..4c64ba07 100644 --- a/_o_t_a_8hpp__incl.md5 +++ b/_o_t_a_8hpp__incl.md5 @@ -1 +1 @@ -cb1431de28468f96a8a02310cb9461d5 \ No newline at end of file +f18dcf4bc7c16bf0105e8abbee9f7b3d \ No newline at end of file diff --git a/_o_t_a_8hpp__incl.svg b/_o_t_a_8hpp__incl.svg index 292c924f..acad6a0d 100644 --- a/_o_t_a_8hpp__incl.svg +++ b/_o_t_a_8hpp__incl.svg @@ -46,7 +46,7 @@
@@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -OTA.hpp + +OTA.hpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -ArduinoOTA.h + +ArduinoOTA.h @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,8 +85,8 @@ var sectionId = 'dynsection-0'; Node3 - -WiFiManager.h + +WiFiManager.h @@ -94,8 +94,8 @@ var sectionId = 'dynsection-0'; Node1->Node3 - - + + @@ -103,8 +103,8 @@ var sectionId = 'dynsection-0'; Node4 - -secrets.hpp + +secrets.hpp @@ -112,8 +112,8 @@ var sectionId = 'dynsection-0'; Node1->Node4 - - + + @@ -130,8 +130,8 @@ var sectionId = 'dynsection-0'; Node4->Node5 - - + + @@ -139,8 +139,8 @@ var sectionId = 'dynsection-0'; Node6 - -array + +array @@ -148,8 +148,8 @@ var sectionId = 'dynsection-0'; Node4->Node6 - - + + @@ -157,8 +157,8 @@ var sectionId = 'dynsection-0'; Node7 - -string_view + +string_view @@ -166,8 +166,8 @@ var sectionId = 'dynsection-0'; Node4->Node7 - - + + @@ -175,8 +175,8 @@ var sectionId = 'dynsection-0'; Node8 - -MachineConfig.hpp + +MachineConfig.hpp @@ -184,8 +184,8 @@ var sectionId = 'dynsection-0'; Node4->Node8 - - + + @@ -199,11 +199,11 @@ var sectionId = 'dynsection-0';
- + Node4->Node15 - - - + + + @@ -211,8 +211,8 @@ var sectionId = 'dynsection-0'; Node16 - -Machine.hpp + +Machine.hpp @@ -220,8 +220,8 @@ var sectionId = 'dynsection-0'; Node4->Node16 - - + + @@ -229,17 +229,17 @@ var sectionId = 'dynsection-0'; Node17 - -FabUser.hpp + +FabUser.hpp - + Node4->Node17 - - - + + + @@ -247,8 +247,8 @@ var sectionId = 'dynsection-0'; Node8->Node5 - - + + @@ -265,8 +265,8 @@ var sectionId = 'dynsection-0'; Node8->Node9 - - + + @@ -283,8 +283,8 @@ var sectionId = 'dynsection-0'; Node8->Node10 - - + + @@ -292,8 +292,8 @@ var sectionId = 'dynsection-0'; Node11 - -pins.hpp + +pins.hpp @@ -301,8 +301,8 @@ var sectionId = 'dynsection-0'; Node8->Node11 - - + + @@ -319,8 +319,8 @@ var sectionId = 'dynsection-0'; Node8->Node14 - - + + @@ -328,8 +328,8 @@ var sectionId = 'dynsection-0'; Node8->Node15 - - + + @@ -337,8 +337,8 @@ var sectionId = 'dynsection-0'; Node11->Node5 - - + + @@ -355,8 +355,8 @@ var sectionId = 'dynsection-0'; Node11->Node12 - - + + @@ -373,8 +373,8 @@ var sectionId = 'dynsection-0'; Node11->Node13 - - + + @@ -391,8 +391,8 @@ var sectionId = 'dynsection-0'; Node13->Node6 - - + + @@ -442,38 +442,38 @@ var sectionId = 'dynsection-0'; - + Node16->Node5 - - + + - + Node16->Node6 - - - + + + - + Node16->Node8 - - - + + + - + Node16->Node9 - - - + + + @@ -481,44 +481,62 @@ var sectionId = 'dynsection-0'; Node16->Node17 - - + + + + + + + +Node25 + + +optional + + + + + +Node16->Node25 + + + - + Node17->Node5 - - - + + + - + Node17->Node6 - - - + + + - + Node17->Node10 - - - + + + - + Node17->Node15 - - - + + + @@ -526,8 +544,8 @@ var sectionId = 'dynsection-0'; Node18 - -Arduino.h + +Arduino.h @@ -535,8 +553,8 @@ var sectionId = 'dynsection-0'; Node17->Node18 - - + + @@ -544,8 +562,8 @@ var sectionId = 'dynsection-0'; Node19 - -card.hpp + +card.hpp @@ -553,8 +571,8 @@ var sectionId = 'dynsection-0'; Node17->Node19 - - + + @@ -562,17 +580,17 @@ var sectionId = 'dynsection-0'; Node20 - -sstream + +sstream - + Node17->Node20 - - - + + + @@ -580,8 +598,8 @@ var sectionId = 'dynsection-0'; Node19->Node15 - - + + @@ -589,8 +607,8 @@ var sectionId = 'dynsection-0'; Node19->Node18 - - + + @@ -598,8 +616,8 @@ var sectionId = 'dynsection-0'; Node19->Node20 - - + + @@ -607,8 +625,8 @@ var sectionId = 'dynsection-0'; Node21 - -iomanip + +iomanip @@ -616,8 +634,8 @@ var sectionId = 'dynsection-0'; Node19->Node21 - - + + @@ -625,8 +643,8 @@ var sectionId = 'dynsection-0'; Node22 - -Logging.hpp + +Logging.hpp @@ -634,8 +652,26 @@ var sectionId = 'dynsection-0'; Node19->Node22 - - + + + + + + + +Node24 + + +esp_mac.h + + + + + +Node19->Node24 + + + @@ -643,8 +679,8 @@ var sectionId = 'dynsection-0'; Node23 - -esp_log.h + +esp_log.h @@ -652,8 +688,8 @@ var sectionId = 'dynsection-0'; Node22->Node23 - - + + diff --git a/_o_t_a_8hpp__incl_org.svg b/_o_t_a_8hpp__incl_org.svg index e952ecb9..7615a1cf 100644 --- a/_o_t_a_8hpp__incl_org.svg +++ b/_o_t_a_8hpp__incl_org.svg @@ -4,16 +4,16 @@ - + OTA.hpp Node1 - -OTA.hpp + +OTA.hpp @@ -21,8 +21,8 @@ Node2 - -ArduinoOTA.h + +ArduinoOTA.h @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node3 - -WiFiManager.h + +WiFiManager.h @@ -48,8 +48,8 @@ Node1->Node3 - - + + @@ -57,8 +57,8 @@ Node4 - -secrets.hpp + +secrets.hpp @@ -66,8 +66,8 @@ Node1->Node4 - - + + @@ -84,8 +84,8 @@ Node4->Node5 - - + + @@ -93,8 +93,8 @@ Node6 - -array + +array @@ -102,8 +102,8 @@ Node4->Node6 - - + + @@ -111,8 +111,8 @@ Node7 - -string_view + +string_view @@ -120,8 +120,8 @@ Node4->Node7 - - + + @@ -129,8 +129,8 @@ Node8 - -MachineConfig.hpp + +MachineConfig.hpp @@ -138,8 +138,8 @@ Node4->Node8 - - + + @@ -153,11 +153,11 @@ - + Node4->Node15 - - - + + + @@ -165,8 +165,8 @@ Node16 - -Machine.hpp + +Machine.hpp @@ -174,8 +174,8 @@ Node4->Node16 - - + + @@ -183,17 +183,17 @@ Node17 - -FabUser.hpp + +FabUser.hpp - + Node4->Node17 - - - + + + @@ -201,8 +201,8 @@ Node8->Node5 - - + + @@ -219,8 +219,8 @@ Node8->Node9 - - + + @@ -237,8 +237,8 @@ Node8->Node10 - - + + @@ -246,8 +246,8 @@ Node11 - -pins.hpp + +pins.hpp @@ -255,8 +255,8 @@ Node8->Node11 - - + + @@ -273,8 +273,8 @@ Node8->Node14 - - + + @@ -282,8 +282,8 @@ Node8->Node15 - - + + @@ -291,8 +291,8 @@ Node11->Node5 - - + + @@ -309,8 +309,8 @@ Node11->Node12 - - + + @@ -327,8 +327,8 @@ Node11->Node13 - - + + @@ -345,8 +345,8 @@ Node13->Node6 - - + + @@ -396,38 +396,38 @@ - + Node16->Node5 - - + + - + Node16->Node6 - - - + + + - + Node16->Node8 - - - + + + - + Node16->Node9 - - - + + + @@ -435,44 +435,62 @@ Node16->Node17 - - + + + + + + + +Node25 + + +optional + + + + + +Node16->Node25 + + + - + Node17->Node5 - - - + + + - + Node17->Node6 - - - + + + - + Node17->Node10 - - - + + + - + Node17->Node15 - - - + + + @@ -480,8 +498,8 @@ Node18 - -Arduino.h + +Arduino.h @@ -489,8 +507,8 @@ Node17->Node18 - - + + @@ -498,8 +516,8 @@ Node19 - -card.hpp + +card.hpp @@ -507,8 +525,8 @@ Node17->Node19 - - + + @@ -516,17 +534,17 @@ Node20 - -sstream + +sstream - + Node17->Node20 - - - + + + @@ -534,8 +552,8 @@ Node19->Node15 - - + + @@ -543,8 +561,8 @@ Node19->Node18 - - + + @@ -552,8 +570,8 @@ Node19->Node20 - - + + @@ -561,8 +579,8 @@ Node21 - -iomanip + +iomanip @@ -570,8 +588,8 @@ Node19->Node21 - - + + @@ -579,8 +597,8 @@ Node22 - -Logging.hpp + +Logging.hpp @@ -588,8 +606,26 @@ Node19->Node22 - - + + + + + + + +Node24 + + +esp_mac.h + + + + + +Node19->Node24 + + + @@ -597,8 +633,8 @@ Node23 - -esp_log.h + +esp_log.h @@ -606,8 +642,8 @@ Node22->Node23 - - + + diff --git a/_o_t_a_8hpp_source.xhtml b/_o_t_a_8hpp_source.xhtml index 7063c1c9..98684462 100644 --- a/_o_t_a_8hpp_source.xhtml +++ b/_o_t_a_8hpp_source.xhtml @@ -115,7 +115,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_pins_config_8hpp.xhtml b/_pins_config_8hpp.xhtml index ce1187e5..72accf6e 100644 --- a/_pins_config_8hpp.xhtml +++ b/_pins_config_8hpp.xhtml @@ -141,7 +141,7 @@ Variables diff --git a/_pins_config_8hpp_source.xhtml b/_pins_config_8hpp_source.xhtml index 6df0cc08..3fab3f80 100644 --- a/_pins_config_8hpp_source.xhtml +++ b/_pins_config_8hpp_source.xhtml @@ -246,7 +246,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/_r_f_i_d_wrapper_8hpp.xhtml b/_r_f_i_d_wrapper_8hpp.xhtml index 320bdc62..618e16cf 100644 --- a/_r_f_i_d_wrapper_8hpp.xhtml +++ b/_r_f_i_d_wrapper_8hpp.xhtml @@ -116,7 +116,7 @@ Namespaces diff --git a/_r_f_i_d_wrapper_8hpp__incl.map b/_r_f_i_d_wrapper_8hpp__incl.map index f2da407d..6962b8d8 100644 --- a/_r_f_i_d_wrapper_8hpp__incl.map +++ b/_r_f_i_d_wrapper_8hpp__incl.map @@ -1,39 +1,41 @@ - + - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_r_f_i_d_wrapper_8hpp__incl.md5 b/_r_f_i_d_wrapper_8hpp__incl.md5 index 052d343b..37e996a6 100644 --- a/_r_f_i_d_wrapper_8hpp__incl.md5 +++ b/_r_f_i_d_wrapper_8hpp__incl.md5 @@ -1 +1 @@ -d79b847be42001ee3e01a502c75a9104 \ No newline at end of file +36efcfdb8cf3f76c33074650f85507b8 \ No newline at end of file diff --git a/_r_f_i_d_wrapper_8hpp__incl.svg b/_r_f_i_d_wrapper_8hpp__incl.svg index cebb156a..6f77ce09 100644 --- a/_r_f_i_d_wrapper_8hpp__incl.svg +++ b/_r_f_i_d_wrapper_8hpp__incl.svg @@ -46,7 +46,7 @@ @@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -RFIDWrapper.hpp + +RFIDWrapper.hpp @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,8 +85,8 @@ var sectionId = 'dynsection-0'; Node3 - -memory + +memory @@ -94,8 +94,8 @@ var sectionId = 'dynsection-0'; Node1->Node3 - - + + @@ -103,8 +103,8 @@ var sectionId = 'dynsection-0'; Node4 - -optional + +optional @@ -112,8 +112,8 @@ var sectionId = 'dynsection-0'; Node1->Node4 - - + + @@ -130,8 +130,8 @@ var sectionId = 'dynsection-0'; Node1->Node5 - - + + @@ -139,8 +139,8 @@ var sectionId = 'dynsection-0'; Node6 - -BaseRfidWrapper.hpp + +BaseRfidWrapper.hpp @@ -148,8 +148,8 @@ var sectionId = 'dynsection-0'; Node1->Node6 - - + + @@ -157,17 +157,17 @@ var sectionId = 'dynsection-0'; Node7 - -card.hpp + +card.hpp - + Node1->Node7 - - - + + + @@ -175,35 +175,35 @@ var sectionId = 'dynsection-0'; Node11 - -conf.hpp + +conf.hpp - + Node1->Node11 - - - + + + - - -Node16 - - -RFIDWrapper.tpp + + +Node17 + + +RFIDWrapper.tpp - - -Node1->Node16 - - - + + +Node1->Node17 + + + @@ -211,8 +211,8 @@ var sectionId = 'dynsection-0'; Node6->Node4 - - + + @@ -220,8 +220,8 @@ var sectionId = 'dynsection-0'; Node6->Node7 - - + + @@ -229,8 +229,8 @@ var sectionId = 'dynsection-0'; Node8 - -sstream + +sstream @@ -238,8 +238,8 @@ var sectionId = 'dynsection-0'; Node7->Node8 - - + + @@ -247,8 +247,8 @@ var sectionId = 'dynsection-0'; Node9 - -iomanip + +iomanip @@ -256,8 +256,8 @@ var sectionId = 'dynsection-0'; Node7->Node9 - - + + @@ -265,8 +265,8 @@ var sectionId = 'dynsection-0'; Node10 - -Arduino.h + +Arduino.h @@ -274,8 +274,8 @@ var sectionId = 'dynsection-0'; Node7->Node10 - - + + @@ -283,8 +283,8 @@ var sectionId = 'dynsection-0'; Node7->Node11 - - + + @@ -292,8 +292,8 @@ var sectionId = 'dynsection-0'; Node14 - -Logging.hpp + +Logging.hpp @@ -301,8 +301,26 @@ var sectionId = 'dynsection-0'; Node7->Node14 - - + + + + + + + +Node16 + + +esp_mac.h + + + + + +Node7->Node16 + + + @@ -310,8 +328,8 @@ var sectionId = 'dynsection-0'; Node11->Node2 - - + + @@ -319,8 +337,8 @@ var sectionId = 'dynsection-0'; Node11->Node5 - - + + @@ -328,8 +346,8 @@ var sectionId = 'dynsection-0'; Node12 - -cstdint + +cstdint @@ -337,8 +355,8 @@ var sectionId = 'dynsection-0'; Node11->Node12 - - + + @@ -346,8 +364,8 @@ var sectionId = 'dynsection-0'; Node13 - -MachineID.hpp + +MachineID.hpp @@ -355,8 +373,8 @@ var sectionId = 'dynsection-0'; Node11->Node13 - - + + @@ -364,8 +382,8 @@ var sectionId = 'dynsection-0'; Node13->Node12 - - + + @@ -373,8 +391,8 @@ var sectionId = 'dynsection-0'; Node15 - -esp_log.h + +esp_log.h @@ -382,8 +400,8 @@ var sectionId = 'dynsection-0'; Node14->Node15 - - + + diff --git a/_r_f_i_d_wrapper_8hpp__incl_org.svg b/_r_f_i_d_wrapper_8hpp__incl_org.svg index bc5b231a..a82cadbe 100644 --- a/_r_f_i_d_wrapper_8hpp__incl_org.svg +++ b/_r_f_i_d_wrapper_8hpp__incl_org.svg @@ -4,16 +4,16 @@ - + RFIDWrapper.hpp Node1 - -RFIDWrapper.hpp + +RFIDWrapper.hpp @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node3 - -memory + +memory @@ -48,8 +48,8 @@ Node1->Node3 - - + + @@ -57,8 +57,8 @@ Node4 - -optional + +optional @@ -66,8 +66,8 @@ Node1->Node4 - - + + @@ -84,8 +84,8 @@ Node1->Node5 - - + + @@ -93,8 +93,8 @@ Node6 - -BaseRfidWrapper.hpp + +BaseRfidWrapper.hpp @@ -102,8 +102,8 @@ Node1->Node6 - - + + @@ -111,17 +111,17 @@ Node7 - -card.hpp + +card.hpp - + Node1->Node7 - - - + + + @@ -129,35 +129,35 @@ Node11 - -conf.hpp + +conf.hpp - + Node1->Node11 - - - + + + - - -Node16 - - -RFIDWrapper.tpp + + +Node17 + + +RFIDWrapper.tpp - - -Node1->Node16 - - - + + +Node1->Node17 + + + @@ -165,8 +165,8 @@ Node6->Node4 - - + + @@ -174,8 +174,8 @@ Node6->Node7 - - + + @@ -183,8 +183,8 @@ Node8 - -sstream + +sstream @@ -192,8 +192,8 @@ Node7->Node8 - - + + @@ -201,8 +201,8 @@ Node9 - -iomanip + +iomanip @@ -210,8 +210,8 @@ Node7->Node9 - - + + @@ -219,8 +219,8 @@ Node10 - -Arduino.h + +Arduino.h @@ -228,8 +228,8 @@ Node7->Node10 - - + + @@ -237,8 +237,8 @@ Node7->Node11 - - + + @@ -246,8 +246,8 @@ Node14 - -Logging.hpp + +Logging.hpp @@ -255,8 +255,26 @@ Node7->Node14 - - + + + + + + + +Node16 + + +esp_mac.h + + + + + +Node7->Node16 + + + @@ -264,8 +282,8 @@ Node11->Node2 - - + + @@ -273,8 +291,8 @@ Node11->Node5 - - + + @@ -282,8 +300,8 @@ Node12 - -cstdint + +cstdint @@ -291,8 +309,8 @@ Node11->Node12 - - + + @@ -300,8 +318,8 @@ Node13 - -MachineID.hpp + +MachineID.hpp @@ -309,8 +327,8 @@ Node11->Node13 - - + + @@ -318,8 +336,8 @@ Node13->Node12 - - + + @@ -327,8 +345,8 @@ Node15 - -esp_log.h + +esp_log.h @@ -336,8 +354,8 @@ Node14->Node15 - - + + diff --git a/_r_f_i_d_wrapper_8hpp_source.xhtml b/_r_f_i_d_wrapper_8hpp_source.xhtml index ac6b0f99..71085ab6 100644 --- a/_r_f_i_d_wrapper_8hpp_source.xhtml +++ b/_r_f_i_d_wrapper_8hpp_source.xhtml @@ -151,11 +151,11 @@ $(document).ready(function() { init_codefold(0); });
auto selfTest() const -> bool override
-
std::chrono::milliseconds milliseconds
+
std::chrono::milliseconds milliseconds
diff --git a/_saved_config_8cpp.xhtml b/_saved_config_8cpp.xhtml index 32119ecc..31bf59c1 100644 --- a/_saved_config_8cpp.xhtml +++ b/_saved_config_8cpp.xhtml @@ -105,7 +105,7 @@ Namespaces diff --git a/_saved_config_8cpp__incl.map b/_saved_config_8cpp__incl.map index 72c61da4..e3608c5b 100644 --- a/_saved_config_8cpp__incl.map +++ b/_saved_config_8cpp__incl.map @@ -1,112 +1,116 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_saved_config_8cpp__incl.md5 b/_saved_config_8cpp__incl.md5 index 8de76385..bee1d3b7 100644 --- a/_saved_config_8cpp__incl.md5 +++ b/_saved_config_8cpp__incl.md5 @@ -1 +1 @@ -d6ee2100151c34b6ca37363f886c9de8 \ No newline at end of file +ef87aa29810797b4d00587c6f5e771ec \ No newline at end of file diff --git a/_saved_config_8cpp__incl.svg b/_saved_config_8cpp__incl.svg index 797cba8f..a9c10df9 100644 --- a/_saved_config_8cpp__incl.svg +++ b/_saved_config_8cpp__incl.svg @@ -46,7 +46,7 @@
@@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -SavedConfig.cpp + +SavedConfig.cpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -optional + +optional @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,8 +85,8 @@ var sectionId = 'dynsection-0'; Node3 - -algorithm + +algorithm @@ -94,8 +94,8 @@ var sectionId = 'dynsection-0'; Node1->Node3 - - + + @@ -103,8 +103,8 @@ var sectionId = 'dynsection-0'; Node4 - -mutex + +mutex @@ -112,8 +112,8 @@ var sectionId = 'dynsection-0'; Node1->Node4 - - + + @@ -121,8 +121,8 @@ var sectionId = 'dynsection-0'; Node5 - -ArduinoJson.h + +ArduinoJson.h @@ -130,8 +130,8 @@ var sectionId = 'dynsection-0'; Node1->Node5 - - + + @@ -139,8 +139,8 @@ var sectionId = 'dynsection-0'; Node6 - -EEPROM.h + +EEPROM.h @@ -148,8 +148,8 @@ var sectionId = 'dynsection-0'; Node1->Node6 - - + + @@ -157,8 +157,8 @@ var sectionId = 'dynsection-0'; Node7 - -Logging.hpp + +Logging.hpp @@ -166,8 +166,8 @@ var sectionId = 'dynsection-0'; Node1->Node7 - - + + @@ -175,8 +175,8 @@ var sectionId = 'dynsection-0'; Node9 - -SavedConfig.hpp + +SavedConfig.hpp @@ -184,8 +184,8 @@ var sectionId = 'dynsection-0'; Node1->Node9 - - + + @@ -193,35 +193,35 @@ var sectionId = 'dynsection-0'; Node19 - -conf.hpp + +conf.hpp - + Node1->Node19 - - - + + + - - -Node32 - - -secrets.hpp + + +Node33 + + +secrets.hpp - - -Node1->Node32 - - - + + +Node1->Node33 + + + @@ -229,8 +229,8 @@ var sectionId = 'dynsection-0'; Node8 - -esp_log.h + +esp_log.h @@ -238,8 +238,8 @@ var sectionId = 'dynsection-0'; Node7->Node8 - - + + @@ -247,8 +247,8 @@ var sectionId = 'dynsection-0'; Node9->Node2 - - + + @@ -256,8 +256,8 @@ var sectionId = 'dynsection-0'; Node9->Node4 - - + + @@ -265,8 +265,8 @@ var sectionId = 'dynsection-0'; Node9->Node5 - - + + @@ -274,8 +274,8 @@ var sectionId = 'dynsection-0'; Node9->Node6 - - + + @@ -283,8 +283,8 @@ var sectionId = 'dynsection-0'; Node10 - -cstdint + +cstdint @@ -292,8 +292,8 @@ var sectionId = 'dynsection-0'; Node9->Node10 - - + + @@ -301,8 +301,8 @@ var sectionId = 'dynsection-0'; Node11 - -string + +string @@ -310,8 +310,8 @@ var sectionId = 'dynsection-0'; Node9->Node11 - - + + @@ -319,8 +319,8 @@ var sectionId = 'dynsection-0'; Node12 - -MachineConfig.hpp + +MachineConfig.hpp @@ -328,8 +328,8 @@ var sectionId = 'dynsection-0'; Node9->Node12 - - + + @@ -337,8 +337,8 @@ var sectionId = 'dynsection-0'; Node9->Node19 - - + + @@ -346,8 +346,8 @@ var sectionId = 'dynsection-0'; Node20 - -CachedCards.hpp + +CachedCards.hpp @@ -355,26 +355,26 @@ var sectionId = 'dynsection-0'; Node9->Node20 - - + + - - -Node26 - - -BufferedMsg.hpp + + +Node27 + + +BufferedMsg.hpp - - -Node9->Node26 - - - + + +Node9->Node27 + + + @@ -382,8 +382,8 @@ var sectionId = 'dynsection-0'; Node12->Node10 - - + + @@ -391,8 +391,8 @@ var sectionId = 'dynsection-0'; Node12->Node11 - - + + @@ -400,8 +400,8 @@ var sectionId = 'dynsection-0'; Node13 - -chrono + +chrono @@ -409,8 +409,8 @@ var sectionId = 'dynsection-0'; Node12->Node13 - - + + @@ -418,8 +418,8 @@ var sectionId = 'dynsection-0'; Node14 - -pins.hpp + +pins.hpp @@ -427,8 +427,8 @@ var sectionId = 'dynsection-0'; Node12->Node14 - - + + @@ -436,8 +436,8 @@ var sectionId = 'dynsection-0'; Node18 - -MachineID.hpp + +MachineID.hpp @@ -445,8 +445,8 @@ var sectionId = 'dynsection-0'; Node12->Node18 - - + + @@ -454,8 +454,8 @@ var sectionId = 'dynsection-0'; Node12->Node19 - - + + @@ -463,8 +463,8 @@ var sectionId = 'dynsection-0'; Node14->Node10 - - + + @@ -472,8 +472,8 @@ var sectionId = 'dynsection-0'; Node15 - -Adafruit_NeoPixel.h + +Adafruit_NeoPixel.h @@ -481,8 +481,8 @@ var sectionId = 'dynsection-0'; Node14->Node15 - - + + @@ -490,8 +490,8 @@ var sectionId = 'dynsection-0'; Node16 - -PinsConfig.hpp + +PinsConfig.hpp @@ -499,8 +499,8 @@ var sectionId = 'dynsection-0'; Node14->Node16 - - + + @@ -508,8 +508,8 @@ var sectionId = 'dynsection-0'; Node16->Node10 - - + + @@ -517,8 +517,8 @@ var sectionId = 'dynsection-0'; Node17 - -array + +array @@ -526,8 +526,8 @@ var sectionId = 'dynsection-0'; Node16->Node17 - - + + @@ -535,8 +535,8 @@ var sectionId = 'dynsection-0'; Node18->Node10 - - + + @@ -544,8 +544,8 @@ var sectionId = 'dynsection-0'; Node19->Node10 - - + + @@ -553,8 +553,8 @@ var sectionId = 'dynsection-0'; Node19->Node11 - - + + @@ -562,8 +562,8 @@ var sectionId = 'dynsection-0'; Node19->Node13 - - + + @@ -571,8 +571,17 @@ var sectionId = 'dynsection-0'; Node19->Node18 - - + + + + + + + +Node20->Node2 + + + @@ -580,17 +589,17 @@ var sectionId = 'dynsection-0'; Node20->Node17 - - + + - + Node20->Node19 - - - + + + @@ -598,17 +607,17 @@ var sectionId = 'dynsection-0'; Node21 - -FabUser.hpp + +FabUser.hpp - + Node20->Node21 - - - + + + @@ -616,53 +625,53 @@ var sectionId = 'dynsection-0'; Node23 - -card.hpp + +card.hpp - + Node20->Node23 - - - + + + - + Node21->Node10 - - - + + + - + Node21->Node11 - - - + + + - + Node21->Node17 - - - + + + - + Node21->Node19 - - - + + + @@ -670,26 +679,26 @@ var sectionId = 'dynsection-0'; Node22 - -Arduino.h + +Arduino.h - + Node21->Node22 - - - + + + - + Node21->Node23 - - - + + + @@ -697,53 +706,53 @@ var sectionId = 'dynsection-0'; Node24 - -sstream + +sstream - + Node21->Node24 - - - + + + - + Node23->Node7 - - - + + + - + Node23->Node19 - - - + + + - + Node23->Node22 - - - + + + - + Node23->Node24 - - - + + + @@ -751,71 +760,71 @@ var sectionId = 'dynsection-0'; Node25 - -iomanip + +iomanip - + Node23->Node25 - - - + + + - - -Node26->Node2 - - - + + +Node26 + + +esp_mac.h - - -Node26->Node5 - - - + + +Node23->Node26 + + + - - -Node26->Node11 - - - + + +Node27->Node2 + + + - - -Node26->Node18 - - - + + +Node27->Node5 + + + - - -Node27 - - -queue + + +Node27->Node11 + + + - - -Node26->Node27 - - - + + +Node27->Node18 + + + @@ -823,224 +832,251 @@ var sectionId = 'dynsection-0'; Node28 - -memory + +queue - - -Node26->Node28 - - - + + +Node27->Node28 + + + Node29 - - -MQTTtypes.hpp + + +memory - - -Node26->Node29 - - - + + +Node27->Node29 + + + - - -Node29->Node5 - - - + + +Node30 + + +MQTTtypes.hpp - - -Node29->Node11 - - - + + +Node27->Node30 + + + - - -Node29->Node21 - - - + + +Node30->Node5 + + + - - -Node29->Node23 - - - + + +Node30->Node11 + + + - - -Node29->Node28 - - - + + +Node30->Node21 + + + - - -Node30 - - -Machine.hpp + + +Node30->Node23 + + + - - -Node29->Node30 - - - + + +Node30->Node29 + + + Node31 - - -string_view + + +Machine.hpp - - -Node29->Node31 - - - + + +Node30->Node31 + + + - - -Node30->Node10 - - - + + +Node32 + + +string_view - - -Node30->Node12 - - - + + +Node30->Node32 + + + - - -Node30->Node13 - - - + + +Node31->Node2 + + + - - -Node30->Node17 - - - + + +Node31->Node10 + + + - - -Node30->Node21 - - - + + +Node31->Node12 + + + + + + + + +Node31->Node13 + + + + + + + + +Node31->Node17 + + + + + + + + +Node31->Node21 + + + - - -Node32->Node10 - - - + + +Node33->Node10 + + + - - -Node32->Node12 - - - + + +Node33->Node12 + + + - - -Node32->Node17 - - - + + +Node33->Node17 + + + - - -Node32->Node19 - - - + + +Node33->Node19 + + + - - -Node32->Node21 - - - + + +Node33->Node21 + + + - - -Node32->Node30 - - - + + +Node33->Node31 + + + - - -Node32->Node31 - - - + + +Node33->Node32 + + + diff --git a/_saved_config_8cpp__incl_org.svg b/_saved_config_8cpp__incl_org.svg index 901164a5..447a5602 100644 --- a/_saved_config_8cpp__incl_org.svg +++ b/_saved_config_8cpp__incl_org.svg @@ -4,16 +4,16 @@ - + SavedConfig.cpp Node1 - -SavedConfig.cpp + +SavedConfig.cpp @@ -21,8 +21,8 @@ Node2 - -optional + +optional @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node3 - -algorithm + +algorithm @@ -48,8 +48,8 @@ Node1->Node3 - - + + @@ -57,8 +57,8 @@ Node4 - -mutex + +mutex @@ -66,8 +66,8 @@ Node1->Node4 - - + + @@ -75,8 +75,8 @@ Node5 - -ArduinoJson.h + +ArduinoJson.h @@ -84,8 +84,8 @@ Node1->Node5 - - + + @@ -93,8 +93,8 @@ Node6 - -EEPROM.h + +EEPROM.h @@ -102,8 +102,8 @@ Node1->Node6 - - + + @@ -111,8 +111,8 @@ Node7 - -Logging.hpp + +Logging.hpp @@ -120,8 +120,8 @@ Node1->Node7 - - + + @@ -129,8 +129,8 @@ Node9 - -SavedConfig.hpp + +SavedConfig.hpp @@ -138,8 +138,8 @@ Node1->Node9 - - + + @@ -147,35 +147,35 @@ Node19 - -conf.hpp + +conf.hpp - + Node1->Node19 - - - + + + - - -Node32 - - -secrets.hpp + + +Node33 + + +secrets.hpp - - -Node1->Node32 - - - + + +Node1->Node33 + + + @@ -183,8 +183,8 @@ Node8 - -esp_log.h + +esp_log.h @@ -192,8 +192,8 @@ Node7->Node8 - - + + @@ -201,8 +201,8 @@ Node9->Node2 - - + + @@ -210,8 +210,8 @@ Node9->Node4 - - + + @@ -219,8 +219,8 @@ Node9->Node5 - - + + @@ -228,8 +228,8 @@ Node9->Node6 - - + + @@ -237,8 +237,8 @@ Node10 - -cstdint + +cstdint @@ -246,8 +246,8 @@ Node9->Node10 - - + + @@ -255,8 +255,8 @@ Node11 - -string + +string @@ -264,8 +264,8 @@ Node9->Node11 - - + + @@ -273,8 +273,8 @@ Node12 - -MachineConfig.hpp + +MachineConfig.hpp @@ -282,8 +282,8 @@ Node9->Node12 - - + + @@ -291,8 +291,8 @@ Node9->Node19 - - + + @@ -300,8 +300,8 @@ Node20 - -CachedCards.hpp + +CachedCards.hpp @@ -309,26 +309,26 @@ Node9->Node20 - - + + - - -Node26 - - -BufferedMsg.hpp + + +Node27 + + +BufferedMsg.hpp - - -Node9->Node26 - - - + + +Node9->Node27 + + + @@ -336,8 +336,8 @@ Node12->Node10 - - + + @@ -345,8 +345,8 @@ Node12->Node11 - - + + @@ -354,8 +354,8 @@ Node13 - -chrono + +chrono @@ -363,8 +363,8 @@ Node12->Node13 - - + + @@ -372,8 +372,8 @@ Node14 - -pins.hpp + +pins.hpp @@ -381,8 +381,8 @@ Node12->Node14 - - + + @@ -390,8 +390,8 @@ Node18 - -MachineID.hpp + +MachineID.hpp @@ -399,8 +399,8 @@ Node12->Node18 - - + + @@ -408,8 +408,8 @@ Node12->Node19 - - + + @@ -417,8 +417,8 @@ Node14->Node10 - - + + @@ -426,8 +426,8 @@ Node15 - -Adafruit_NeoPixel.h + +Adafruit_NeoPixel.h @@ -435,8 +435,8 @@ Node14->Node15 - - + + @@ -444,8 +444,8 @@ Node16 - -PinsConfig.hpp + +PinsConfig.hpp @@ -453,8 +453,8 @@ Node14->Node16 - - + + @@ -462,8 +462,8 @@ Node16->Node10 - - + + @@ -471,8 +471,8 @@ Node17 - -array + +array @@ -480,8 +480,8 @@ Node16->Node17 - - + + @@ -489,8 +489,8 @@ Node18->Node10 - - + + @@ -498,8 +498,8 @@ Node19->Node10 - - + + @@ -507,8 +507,8 @@ Node19->Node11 - - + + @@ -516,8 +516,8 @@ Node19->Node13 - - + + @@ -525,8 +525,17 @@ Node19->Node18 - - + + + + + + + +Node20->Node2 + + + @@ -534,17 +543,17 @@ Node20->Node17 - - + + - + Node20->Node19 - - - + + + @@ -552,17 +561,17 @@ Node21 - -FabUser.hpp + +FabUser.hpp - + Node20->Node21 - - - + + + @@ -570,53 +579,53 @@ Node23 - -card.hpp + +card.hpp - + Node20->Node23 - - - + + + - + Node21->Node10 - - - + + + - + Node21->Node11 - - - + + + - + Node21->Node17 - - - + + + - + Node21->Node19 - - - + + + @@ -624,26 +633,26 @@ Node22 - -Arduino.h + +Arduino.h - + Node21->Node22 - - - + + + - + Node21->Node23 - - - + + + @@ -651,53 +660,53 @@ Node24 - -sstream + +sstream - + Node21->Node24 - - - + + + - + Node23->Node7 - - - + + + - + Node23->Node19 - - - + + + - + Node23->Node22 - - - + + + - + Node23->Node24 - - - + + + @@ -705,71 +714,71 @@ Node25 - -iomanip + +iomanip - + Node23->Node25 - - - + + + - - -Node26->Node2 - - - + + +Node26 + + +esp_mac.h - - -Node26->Node5 - - - + + +Node23->Node26 + + + - - -Node26->Node11 - - - + + +Node27->Node2 + + + - - -Node26->Node18 - - - + + +Node27->Node5 + + + - - -Node27 - - -queue + + +Node27->Node11 + + + - - -Node26->Node27 - - - + + +Node27->Node18 + + + @@ -777,224 +786,251 @@ Node28 - -memory + +queue - - -Node26->Node28 - - - + + +Node27->Node28 + + + Node29 - - -MQTTtypes.hpp + + +memory - - -Node26->Node29 - - - + + +Node27->Node29 + + + - - -Node29->Node5 - - - + + +Node30 + + +MQTTtypes.hpp - - -Node29->Node11 - - - + + +Node27->Node30 + + + - - -Node29->Node21 - - - + + +Node30->Node5 + + + - - -Node29->Node23 - - - + + +Node30->Node11 + + + - - -Node29->Node28 - - - + + +Node30->Node21 + + + - - -Node30 - - -Machine.hpp + + +Node30->Node23 + + + - - -Node29->Node30 - - - + + +Node30->Node29 + + + Node31 - - -string_view + + +Machine.hpp - - -Node29->Node31 - - - + + +Node30->Node31 + + + - - -Node30->Node10 - - - + + +Node32 + + +string_view - - -Node30->Node12 - - - + + +Node30->Node32 + + + - - -Node30->Node13 - - - + + +Node31->Node2 + + + - - -Node30->Node17 - - - + + +Node31->Node10 + + + - - -Node30->Node21 - - - + + +Node31->Node12 + + + + + + + + +Node31->Node13 + + + + + + + + +Node31->Node17 + + + + + + + + +Node31->Node21 + + + - - -Node32->Node10 - - - + + +Node33->Node10 + + + - - -Node32->Node12 - - - + + +Node33->Node12 + + + - - -Node32->Node17 - - - + + +Node33->Node17 + + + - - -Node32->Node19 - - - + + +Node33->Node19 + + + - - -Node32->Node21 - - - + + +Node33->Node21 + + + - - -Node32->Node30 - - - + + +Node33->Node31 + + + - - -Node32->Node31 - - - + + +Node33->Node32 + + + diff --git a/_saved_config_8cpp_source.xhtml b/_saved_config_8cpp_source.xhtml index 87022e6a..c5ddbf1b 100644 --- a/_saved_config_8cpp_source.xhtml +++ b/_saved_config_8cpp_source.xhtml @@ -331,10 +331,10 @@ $(document).ready(function() { init_codefold(0); });
229} // namespace fabomatic
-
static const char *const TAG
Definition Logging.hpp:6
+
static const char *const TAG
Definition Logging.hpp:9
-
auto toJson(JsonDocument &doc, const std::string &element_name) const -> void
-
static auto fromJsonElement(const JsonObject &json_obj) -> std::optional< Buffer >
+
auto toJson(JsonDocument &doc, const std::string &element_name) const -> void
+
static auto fromJsonElement(const JsonObject &json_obj) -> std::optional< Buffer >
Facility to load or save data from Flash.
static constexpr auto MAGIC_NUMBER
static auto fromJsonDocument(const std::string &json_text) -> std::optional< SavedConfig >
Deserialize a JsonDocument into a SavedConfig.
@@ -362,7 +362,7 @@ $(document).ready(function() { init_codefold(0); });
static std::string json_buffer
auto toJsonDocument() const -> JsonDocument
Serialize the current configuration into a JsonDocument.
-
static constexpr uid_t INVALID
Definition card.hpp:15
+
static constexpr uid_t INVALID
Definition card.hpp:16
static constexpr MachineID machine_id
Default MachineID for backend. Can be overriden through WiFi Portal config.
Definition conf.hpp:18
static constexpr std::string_view mqtt_server
Name of the default server for Backend. Will be resolved through mDNS.
Definition conf.hpp:154
static constexpr std::string_view mqtt_switch_topic
In case Shelly is used, name of the topic on MQTT Broker.
Definition conf.hpp:157
@@ -374,14 +374,14 @@ $(document).ready(function() { init_codefold(0); });
The unique machine identifier for the backend.
Definition MachineID.hpp:20
-
constexpr auto size() const -> size_t
-
constexpr auto set_at(int idx, const card::uid_t &uid, const FabUser::UserLevel &level) -> void
+
constexpr auto size() const -> size_t
+
constexpr auto set_at(int idx, const card::uid_t &uid, const FabUser::UserLevel &level) -> void
diff --git a/_saved_config_8hpp.xhtml b/_saved_config_8hpp.xhtml index 430a4c82..b4a5bd1a 100644 --- a/_saved_config_8hpp.xhtml +++ b/_saved_config_8hpp.xhtml @@ -118,7 +118,7 @@ Namespaces diff --git a/_saved_config_8hpp__incl.map b/_saved_config_8hpp__incl.map index d8e78453..fc0f82f6 100644 --- a/_saved_config_8hpp__incl.map +++ b/_saved_config_8hpp__incl.map @@ -1,93 +1,97 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_saved_config_8hpp__incl.md5 b/_saved_config_8hpp__incl.md5 index b6d40be5..bf13a982 100644 --- a/_saved_config_8hpp__incl.md5 +++ b/_saved_config_8hpp__incl.md5 @@ -1 +1 @@ -29cff3abe63d72e6f67b45d785f76515 \ No newline at end of file +bbcefcf6f3907d11646d603780acf8ba \ No newline at end of file diff --git a/_saved_config_8hpp__incl.svg b/_saved_config_8hpp__incl.svg index 9263f8fd..2c47e334 100644 --- a/_saved_config_8hpp__incl.svg +++ b/_saved_config_8hpp__incl.svg @@ -46,7 +46,7 @@
@@ -58,8 +58,8 @@ var sectionId = 'dynsection-0'; Node1 - -SavedConfig.hpp + +SavedConfig.hpp @@ -67,8 +67,8 @@ var sectionId = 'dynsection-0'; Node2 - -cstdint + +cstdint @@ -76,8 +76,8 @@ var sectionId = 'dynsection-0'; Node1->Node2 - - + + @@ -85,8 +85,8 @@ var sectionId = 'dynsection-0'; Node3 - -optional + +optional @@ -94,8 +94,8 @@ var sectionId = 'dynsection-0'; Node1->Node3 - - + + @@ -103,8 +103,8 @@ var sectionId = 'dynsection-0'; Node4 - -string + +string @@ -112,8 +112,8 @@ var sectionId = 'dynsection-0'; Node1->Node4 - - + + @@ -121,8 +121,8 @@ var sectionId = 'dynsection-0'; Node5 - -mutex + +mutex @@ -130,8 +130,8 @@ var sectionId = 'dynsection-0'; Node1->Node5 - - + + @@ -139,8 +139,8 @@ var sectionId = 'dynsection-0'; Node6 - -EEPROM.h + +EEPROM.h @@ -148,8 +148,8 @@ var sectionId = 'dynsection-0'; Node1->Node6 - - + + @@ -157,8 +157,8 @@ var sectionId = 'dynsection-0'; Node7 - -ArduinoJson.h + +ArduinoJson.h @@ -166,8 +166,8 @@ var sectionId = 'dynsection-0'; Node1->Node7 - - + + @@ -175,8 +175,8 @@ var sectionId = 'dynsection-0'; Node8 - -MachineConfig.hpp + +MachineConfig.hpp @@ -184,8 +184,8 @@ var sectionId = 'dynsection-0'; Node1->Node8 - - + + @@ -193,8 +193,8 @@ var sectionId = 'dynsection-0'; Node15 - -conf.hpp + +conf.hpp @@ -202,8 +202,8 @@ var sectionId = 'dynsection-0'; Node1->Node15 - - + + @@ -211,8 +211,8 @@ var sectionId = 'dynsection-0'; Node16 - -CachedCards.hpp + +CachedCards.hpp @@ -220,26 +220,26 @@ var sectionId = 'dynsection-0'; Node1->Node16 - - + + - - -Node24 - - -BufferedMsg.hpp + + +Node25 + + +BufferedMsg.hpp - - -Node1->Node24 - - - + + +Node1->Node25 + + + @@ -247,8 +247,8 @@ var sectionId = 'dynsection-0'; Node8->Node2 - - + + @@ -256,8 +256,8 @@ var sectionId = 'dynsection-0'; Node8->Node4 - - + + @@ -265,8 +265,8 @@ var sectionId = 'dynsection-0'; Node9 - -chrono + +chrono @@ -274,8 +274,8 @@ var sectionId = 'dynsection-0'; Node8->Node9 - - + + @@ -283,8 +283,8 @@ var sectionId = 'dynsection-0'; Node10 - -pins.hpp + +pins.hpp @@ -292,8 +292,8 @@ var sectionId = 'dynsection-0'; Node8->Node10 - - + + @@ -301,8 +301,8 @@ var sectionId = 'dynsection-0'; Node14 - -MachineID.hpp + +MachineID.hpp @@ -310,8 +310,8 @@ var sectionId = 'dynsection-0'; Node8->Node14 - - + + @@ -319,8 +319,8 @@ var sectionId = 'dynsection-0'; Node8->Node15 - - + + @@ -328,8 +328,8 @@ var sectionId = 'dynsection-0'; Node10->Node2 - - + + @@ -337,8 +337,8 @@ var sectionId = 'dynsection-0'; Node11 - -Adafruit_NeoPixel.h + +Adafruit_NeoPixel.h @@ -346,8 +346,8 @@ var sectionId = 'dynsection-0'; Node10->Node11 - - + + @@ -355,8 +355,8 @@ var sectionId = 'dynsection-0'; Node12 - -PinsConfig.hpp + +PinsConfig.hpp @@ -364,8 +364,8 @@ var sectionId = 'dynsection-0'; Node10->Node12 - - + + @@ -373,8 +373,8 @@ var sectionId = 'dynsection-0'; Node12->Node2 - - + + @@ -382,8 +382,8 @@ var sectionId = 'dynsection-0'; Node13 - -array + +array @@ -391,8 +391,8 @@ var sectionId = 'dynsection-0'; Node12->Node13 - - + + @@ -400,8 +400,8 @@ var sectionId = 'dynsection-0'; Node14->Node2 - - + + @@ -409,8 +409,8 @@ var sectionId = 'dynsection-0'; Node15->Node2 - - + + @@ -418,8 +418,8 @@ var sectionId = 'dynsection-0'; Node15->Node4 - - + + @@ -427,8 +427,8 @@ var sectionId = 'dynsection-0'; Node15->Node9 - - + + @@ -436,8 +436,17 @@ var sectionId = 'dynsection-0'; Node15->Node14 - - + + + + + + + +Node16->Node3 + + + @@ -445,17 +454,17 @@ var sectionId = 'dynsection-0'; Node16->Node13 - - + + - + Node16->Node15 - - - + + + @@ -463,17 +472,17 @@ var sectionId = 'dynsection-0'; Node17 - -FabUser.hpp + +FabUser.hpp - + Node16->Node17 - - - + + + @@ -481,53 +490,53 @@ var sectionId = 'dynsection-0'; Node19 - -card.hpp + +card.hpp - + Node16->Node19 - - - + + + - + Node17->Node2 - - - + + + - + Node17->Node4 - - - + + + - + Node17->Node13 - - - + + + - + Node17->Node15 - - - + + + @@ -535,26 +544,26 @@ var sectionId = 'dynsection-0'; Node18 - -Arduino.h + +Arduino.h - + Node17->Node18 - - - + + + - + Node17->Node19 - - - + + + @@ -562,44 +571,44 @@ var sectionId = 'dynsection-0'; Node20 - -sstream + +sstream - + Node17->Node20 - - - + + + - + Node19->Node15 - - - + + + - + Node19->Node18 - - - + + + - + Node19->Node20 - - - + + + @@ -607,17 +616,17 @@ var sectionId = 'dynsection-0'; Node21 - -iomanip + +iomanip - + Node19->Node21 - - - + + + @@ -625,89 +634,89 @@ var sectionId = 'dynsection-0'; Node22 - -Logging.hpp + +Logging.hpp - + Node19->Node22 - - - + + + - - -Node23 - - -esp_log.h + + +Node24 + + +esp_mac.h - - -Node22->Node23 - - - + + +Node19->Node24 + + + - - -Node24->Node3 - - - + + +Node23 + + +esp_log.h - - -Node24->Node4 - - - + + +Node22->Node23 + + + - - -Node24->Node7 - - - + + +Node25->Node3 + + + - - -Node24->Node14 - - - + + +Node25->Node4 + + + - - -Node25 - - -queue + + +Node25->Node7 + + + - - -Node24->Node25 - - - + + +Node25->Node14 + + + @@ -715,161 +724,188 @@ var sectionId = 'dynsection-0'; Node26 - -memory + +queue - - -Node24->Node26 - - - + + +Node25->Node26 + + + Node27 - - -MQTTtypes.hpp + + +memory - - -Node24->Node27 - - - + + +Node25->Node27 + + + - - -Node27->Node4 - - - + + +Node28 + + +MQTTtypes.hpp - - -Node27->Node7 - - - + + +Node25->Node28 + + + - - -Node27->Node17 - - - + + +Node28->Node4 + + + - - -Node27->Node19 - - - + + +Node28->Node7 + + + - - -Node27->Node26 - - - + + +Node28->Node17 + + + - - -Node28 - - -Machine.hpp + + +Node28->Node19 + + + - - -Node27->Node28 - - - + + +Node28->Node27 + + + Node29 - - -string_view + + +Machine.hpp - - -Node27->Node29 - - - + + +Node28->Node29 + + + - - -Node28->Node2 - - - + + +Node30 + + +string_view - - -Node28->Node8 - - - + + +Node28->Node30 + + + - - -Node28->Node9 - - - + + +Node29->Node2 + + + - - -Node28->Node13 - - - + + +Node29->Node3 + + + - - -Node28->Node17 - - - + + +Node29->Node8 + + + + + + + + +Node29->Node9 + + + + + + + + +Node29->Node13 + + + + + + + + +Node29->Node17 + + + diff --git a/_saved_config_8hpp__incl_org.svg b/_saved_config_8hpp__incl_org.svg index a713f4ff..e838da0e 100644 --- a/_saved_config_8hpp__incl_org.svg +++ b/_saved_config_8hpp__incl_org.svg @@ -4,16 +4,16 @@ - + SavedConfig.hpp Node1 - -SavedConfig.hpp + +SavedConfig.hpp @@ -21,8 +21,8 @@ Node2 - -cstdint + +cstdint @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -39,8 +39,8 @@ Node3 - -optional + +optional @@ -48,8 +48,8 @@ Node1->Node3 - - + + @@ -57,8 +57,8 @@ Node4 - -string + +string @@ -66,8 +66,8 @@ Node1->Node4 - - + + @@ -75,8 +75,8 @@ Node5 - -mutex + +mutex @@ -84,8 +84,8 @@ Node1->Node5 - - + + @@ -93,8 +93,8 @@ Node6 - -EEPROM.h + +EEPROM.h @@ -102,8 +102,8 @@ Node1->Node6 - - + + @@ -111,8 +111,8 @@ Node7 - -ArduinoJson.h + +ArduinoJson.h @@ -120,8 +120,8 @@ Node1->Node7 - - + + @@ -129,8 +129,8 @@ Node8 - -MachineConfig.hpp + +MachineConfig.hpp @@ -138,8 +138,8 @@ Node1->Node8 - - + + @@ -147,8 +147,8 @@ Node15 - -conf.hpp + +conf.hpp @@ -156,8 +156,8 @@ Node1->Node15 - - + + @@ -165,8 +165,8 @@ Node16 - -CachedCards.hpp + +CachedCards.hpp @@ -174,26 +174,26 @@ Node1->Node16 - - + + - - -Node24 - - -BufferedMsg.hpp + + +Node25 + + +BufferedMsg.hpp - - -Node1->Node24 - - - + + +Node1->Node25 + + + @@ -201,8 +201,8 @@ Node8->Node2 - - + + @@ -210,8 +210,8 @@ Node8->Node4 - - + + @@ -219,8 +219,8 @@ Node9 - -chrono + +chrono @@ -228,8 +228,8 @@ Node8->Node9 - - + + @@ -237,8 +237,8 @@ Node10 - -pins.hpp + +pins.hpp @@ -246,8 +246,8 @@ Node8->Node10 - - + + @@ -255,8 +255,8 @@ Node14 - -MachineID.hpp + +MachineID.hpp @@ -264,8 +264,8 @@ Node8->Node14 - - + + @@ -273,8 +273,8 @@ Node8->Node15 - - + + @@ -282,8 +282,8 @@ Node10->Node2 - - + + @@ -291,8 +291,8 @@ Node11 - -Adafruit_NeoPixel.h + +Adafruit_NeoPixel.h @@ -300,8 +300,8 @@ Node10->Node11 - - + + @@ -309,8 +309,8 @@ Node12 - -PinsConfig.hpp + +PinsConfig.hpp @@ -318,8 +318,8 @@ Node10->Node12 - - + + @@ -327,8 +327,8 @@ Node12->Node2 - - + + @@ -336,8 +336,8 @@ Node13 - -array + +array @@ -345,8 +345,8 @@ Node12->Node13 - - + + @@ -354,8 +354,8 @@ Node14->Node2 - - + + @@ -363,8 +363,8 @@ Node15->Node2 - - + + @@ -372,8 +372,8 @@ Node15->Node4 - - + + @@ -381,8 +381,8 @@ Node15->Node9 - - + + @@ -390,8 +390,17 @@ Node15->Node14 - - + + + + + + + +Node16->Node3 + + + @@ -399,17 +408,17 @@ Node16->Node13 - - + + - + Node16->Node15 - - - + + + @@ -417,17 +426,17 @@ Node17 - -FabUser.hpp + +FabUser.hpp - + Node16->Node17 - - - + + + @@ -435,53 +444,53 @@ Node19 - -card.hpp + +card.hpp - + Node16->Node19 - - - + + + - + Node17->Node2 - - - + + + - + Node17->Node4 - - - + + + - + Node17->Node13 - - - + + + - + Node17->Node15 - - - + + + @@ -489,26 +498,26 @@ Node18 - -Arduino.h + +Arduino.h - + Node17->Node18 - - - + + + - + Node17->Node19 - - - + + + @@ -516,44 +525,44 @@ Node20 - -sstream + +sstream - + Node17->Node20 - - - + + + - + Node19->Node15 - - - + + + - + Node19->Node18 - - - + + + - + Node19->Node20 - - - + + + @@ -561,17 +570,17 @@ Node21 - -iomanip + +iomanip - + Node19->Node21 - - - + + + @@ -579,89 +588,89 @@ Node22 - -Logging.hpp + +Logging.hpp - + Node19->Node22 - - - + + + - - -Node23 - - -esp_log.h + + +Node24 + + +esp_mac.h - - -Node22->Node23 - - - + + +Node19->Node24 + + + - - -Node24->Node3 - - - + + +Node23 + + +esp_log.h - - -Node24->Node4 - - - + + +Node22->Node23 + + + - - -Node24->Node7 - - - + + +Node25->Node3 + + + - - -Node24->Node14 - - - + + +Node25->Node4 + + + - - -Node25 - - -queue + + +Node25->Node7 + + + - - -Node24->Node25 - - - + + +Node25->Node14 + + + @@ -669,161 +678,188 @@ Node26 - -memory + +queue - - -Node24->Node26 - - - + + +Node25->Node26 + + + Node27 - - -MQTTtypes.hpp + + +memory - - -Node24->Node27 - - - + + +Node25->Node27 + + + - - -Node27->Node4 - - - + + +Node28 + + +MQTTtypes.hpp - - -Node27->Node7 - - - + + +Node25->Node28 + + + - - -Node27->Node17 - - - + + +Node28->Node4 + + + - - -Node27->Node19 - - - + + +Node28->Node7 + + + - - -Node27->Node26 - - - + + +Node28->Node17 + + + - - -Node28 - - -Machine.hpp + + +Node28->Node19 + + + - - -Node27->Node28 - - - + + +Node28->Node27 + + + Node29 - - -string_view + + +Machine.hpp - - -Node27->Node29 - - - + + +Node28->Node29 + + + - - -Node28->Node2 - - - + + +Node30 + + +string_view - - -Node28->Node8 - - - + + +Node28->Node30 + + + - - -Node28->Node9 - - - + + +Node29->Node2 + + + - - -Node28->Node13 - - - + + +Node29->Node3 + + + - - -Node28->Node17 - - - + + +Node29->Node8 + + + + + + + + +Node29->Node9 + + + + + + + + +Node29->Node13 + + + + + + + + +Node29->Node17 + + + diff --git a/_saved_config_8hpp_source.xhtml b/_saved_config_8hpp_source.xhtml index db35f2af..e2335076 100644 --- a/_saved_config_8hpp_source.xhtml +++ b/_saved_config_8hpp_source.xhtml @@ -197,11 +197,11 @@ $(document).ready(function() { init_codefold(0); });
static constexpr auto STR_MAX_LENGTH
Maximum length of saved string in WiFiManager portal.
Definition conf.hpp:170
The unique machine identifier for the backend.
Definition MachineID.hpp:20
-
This struct contains CACHE_LEN RFID tags with their authentication by the backend.
+
This struct contains CACHE_LEN RFID tags with their authentication by the backend.
diff --git a/_tasks_8cpp.xhtml b/_tasks_8cpp.xhtml index f3e69d62..52708ec2 100644 --- a/_tasks_8cpp.xhtml +++ b/_tasks_8cpp.xhtml @@ -87,11 +87,12 @@ $(function() { #include "conf.hpp"
#include "ArduinoOTA.h"
#include <algorithm>
+#include <sstream>
#include "Logging.hpp"
Include dependency graph for Tasks.cpp:
-
+

Go to the source code of this file.

@@ -108,8 +109,6 @@ Namespaces Typedefs using fabomatic::Tasks::milliseconds = std::chrono::milliseconds   -using fabomatic::Tasks::time_point_sc = std::chrono::time_point< std::chrono::system_clock > -  @@ -120,7 +119,7 @@ Functions diff --git a/_tasks_8cpp__incl.map b/_tasks_8cpp__incl.map index 8b70f494..339dbdb7 100644 --- a/_tasks_8cpp__incl.map +++ b/_tasks_8cpp__incl.map @@ -1,29 +1,34 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_tasks_8cpp__incl.md5 b/_tasks_8cpp__incl.md5 index 9b67b925..9fd723b0 100644 --- a/_tasks_8cpp__incl.md5 +++ b/_tasks_8cpp__incl.md5 @@ -1 +1 @@ -4ce69d29feca3508b9f51e8f36df641b \ No newline at end of file +a7674478ea1fe4f5ebc8d281d7dfd62f \ No newline at end of file diff --git a/_tasks_8cpp__incl.svg b/_tasks_8cpp__incl.svg index 726f52bc..88cbe74f 100644 --- a/_tasks_8cpp__incl.svg +++ b/_tasks_8cpp__incl.svg @@ -4,8 +4,7 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + Tasks.cpp Node1 - -Tasks.cpp + +Tasks.cpp @@ -31,8 +67,8 @@ Node2 - -Tasks.hpp + +Tasks.hpp @@ -40,8 +76,8 @@ Node1->Node2 - - + + @@ -49,53 +85,35 @@ Node5 - -Arduino.h + +Arduino.h - + Node1->Node5 - - - - - - - - -Node6 - - -conf.hpp + + + - - -Node1->Node6 - - - - - - - - -Node10 - - -ArduinoOTA.h + + +Node7 + + +conf.hpp - - -Node1->Node10 - - - + + +Node1->Node7 + + + @@ -103,35 +121,71 @@ Node11 - -algorithm + +ArduinoOTA.h - + Node1->Node11 - - - + + + Node12 - - -Logging.hpp + + +algorithm - + Node1->Node12 - - - + + + + + + + + +Node13 + + +sstream + + + + + +Node1->Node13 + + + + + + + + +Node14 + + +Logging.hpp + + + + + +Node1->Node14 + + + @@ -139,8 +193,8 @@ Node3 - -chrono + +chrono @@ -148,8 +202,8 @@ Node2->Node3 - - + + @@ -157,8 +211,8 @@ Node4 - -functional + +functional @@ -166,35 +220,44 @@ Node2->Node4 - - + + - - -Node6->Node3 - - - + + +Node2->Node5 + + + - - -Node7 - - -cstdint + + +Node6 + + +list - - -Node6->Node7 - - - + + +Node2->Node6 + + + + + + + + +Node7->Node3 + + + @@ -202,67 +265,106 @@ Node8 - -string + +cstdint - - -Node6->Node8 - - - + + +Node7->Node8 + + + Node9 - - -MachineID.hpp + + +string - - -Node6->Node9 - - - + + +Node7->Node9 + + + - - -Node9->Node7 - - - + + +Node10 + + +MachineID.hpp - - -Node13 - - -esp_log.h + + +Node7->Node10 + + + - - -Node12->Node13 - - - + + +Node10->Node8 + + + + + + + + +Node15 + + +esp_log.h + + + + + +Node14->Node15 + + + + + + + + + + + + + + + + + + + + +
5#include "Arduino.h"
6#include "ArduinoOTA.h"
7#include <algorithm>
-
8
-
9#include "Logging.hpp"
-
10
-
- -
12{
-
13 using milliseconds = std::chrono::milliseconds;
-
14 using time_point_sc = std::chrono::time_point<std::chrono::system_clock>;
-
15 using namespace std::chrono_literals;
-
16
-
-
17 auto Scheduler::addTask(Task &task) -> void
-
18 {
-
19 tasks.push_back(task);
-
20 }
-
-
21
-
-
22 auto Scheduler::removeTask(const Task &task) -> void
-
23 {
-
24 tasks.erase(std::remove_if(tasks.begin(), tasks.end(),
-
25 [&task](const auto &t)
-
26 { return t.get().getId() == task.getId(); }),
-
27 tasks.end());
-
28 }
-
-
29
-
-
30 auto Scheduler::updateSchedules() const -> void
-
31 {
-
32 for (const auto &task : tasks)
-
33 {
-
34 task.get().updateSchedule();
-
35 }
-
36 }
-
-
37
-
-
38 auto Scheduler::printStats() const -> void
-
39 {
-
40 milliseconds avg_delay = 0ms;
-
41 auto nb_runs = 0;
-
42
-
43 for (const auto &task : tasks)
-
44 {
-
45 avg_delay += task.get().getAvgTardiness() * task.get().getRunCounter();
-
46 nb_runs += task.get().getRunCounter();
-
47 }
-
48 if (nb_runs > 0)
-
49 {
-
50 avg_delay /= nb_runs;
-
51 }
-
52
-
53 ESP_LOGD(TAG, "Scheduler::execute complete: %d tasks total, %d runs, avg delay/run: %llu ms\r\n", tasks.size(), nb_runs, avg_delay.count());
+
8#include <sstream>
+
9
+
10#include "Logging.hpp"
+
11
+
+ +
13{
+
14 using milliseconds = std::chrono::milliseconds;
+
15
+
16 using namespace std::chrono_literals;
+
17
+
+
18 auto Scheduler::addTask(Task *task) -> void
+
19 {
+
20 if (task != nullptr)
+
21 tasks.push_back(task);
+
22 }
+
+
23
+
+
24 auto Scheduler::removeTask(const Task *task) -> void
+
25 {
+
26 tasks.erase(std::remove_if(tasks.begin(), tasks.end(),
+
27 [&task](const auto &t)
+
28 { return t->getId() == task->getId(); }),
+
29 tasks.end());
+
30 }
+
+
31
+
+
32 auto Scheduler::updateSchedules() const -> void
+
33 {
+
34 for (const auto &task : tasks)
+
35 {
+
36 task->updateSchedule();
+
37 }
+
38 }
+
+
39
+
+
40 auto Scheduler::printStats() const -> void
+
41 {
+
42 milliseconds avg_delay = 0ms;
+
43 auto nb_runs = 0;
+
44
+
45 for (const auto &task : tasks)
+
46 {
+
47 avg_delay += task->getAvgTardiness() * task->getRunCounter();
+
48 nb_runs += task->getRunCounter();
+
49 }
+
50 if (nb_runs > 0)
+
51 {
+
52 avg_delay /= nb_runs;
+
53 }
54
-
55 for (const auto &task : tasks)
-
56 {
-
57 if (task.get().isActive())
-
58 {
-
59 if (task.get().getRunCounter() > 0)
-
60 {
-
61 ESP_LOGD(TAG, "\t Task: %s, %lu runs, avg tardiness/run: %llu ms, period %llu ms, delay %llu ms, average task duration %llu ms\r\n",
-
62 task.get().getId().c_str(), task.get().getRunCounter(),
-
63 task.get().getAvgTardiness().count(), task.get().getPeriod().count(),
-
64 task.get().getDelay().count(),
-
65 task.get().getTotalRuntime().count() / task.get().getRunCounter());
-
66 }
-
67 else
-
68 {
-
69 ESP_LOGD(TAG, "\t Task: %s, never ran, period %llu ms, delay %llu ms\r\n",
-
70 task.get().getId().c_str(), task.get().getPeriod().count(),
-
71 task.get().getDelay().count());
-
72 }
-
73 }
-
74 else
-
75 {
-
76 ESP_LOGD(TAG, "\t Task: %s, inactive\r\n", task.get().getId().c_str());
-
77 }
-
78 }
-
79 }
-
-
80
-
-
81 auto Scheduler::execute() const -> void
-
82 {
-
83 // Need a copy to mutate the order
-
84 std::vector mutableTasks(tasks.begin(), tasks.end());
-
85
-
86 // Tasks shall be run in order of expiration (the most expired task shall run first)
-
87 std::sort(mutableTasks.begin(), mutableTasks.end(), [](const Task &a, const Task &b)
-
88 { return a.getNextRun() < b.getNextRun(); });
-
89
-
90 // Now iterate over the sorted tasks to run the tasks
-
91 for (const auto &it : mutableTasks)
-
92 {
-
93 it.get().run();
-
94 }
-
95
-
96 if (conf::debug::ENABLE_TASK_LOGS && millis() % 1024 == 0)
-
97 {
-
98 printStats();
-
99 }
-
100#if (PINS_WOKWI)
-
101 else
-
102 {
-
103 ::delay(5); // Wokwi simulation is sometimes slow and this helps to catch-up
-
104 }
-
105#endif
-
106 }
-
-
107
-
-
108 auto Scheduler::taskCount() const -> size_t
-
109 {
-
110 return tasks.size();
-
111 }
-
-
112
-
-
113 auto Scheduler::getTasks() const -> const std::vector<std::reference_wrapper<Task>>
-
114 {
-
115 return {tasks};
-
116 }
-
-
117
-
-
125 Task::Task(const std::string &id, milliseconds period,
-
126 std::function<void()> callback,
-
127 Scheduler &scheduler, bool active, milliseconds delay) : active{active}, id{id},
-
128 period{period}, delay{delay},
-
129 last_run{std::chrono::system_clock::now() + delay},
-
130 next_run{last_run},
-
131 average_tardiness{0ms}, total_runtime{0ms},
-
132 callback{callback}, run_counter{0}
-
133 {
-
134 scheduler.addTask(std::ref(*this));
-
135 }
-
-
136
-
-
137 auto Task::run() -> void
-
138 {
-
139 if (isActive() && std::chrono::system_clock::now() >= next_run)
-
140 {
-
141 run_counter++;
-
142 auto last_period = std::chrono::duration_cast<milliseconds>(std::chrono::system_clock::now() - last_run);
-
143 average_tardiness = (average_tardiness * (run_counter - 1) + last_period) / run_counter;
-
144 last_run = std::chrono::system_clock::now();
-
145
- -
147 {
-
148 ESP_LOGD(TAG, "Task %s\r\n", getId().c_str());
-
149 }
-
150
-
151 callback();
-
152
-
153 total_runtime += std::chrono::duration_cast<milliseconds>(std::chrono::system_clock::now() - last_run);
-
154
-
155 if (period > 0ms)
-
156 {
-
157 next_run = last_run + period; // Schedule next run
-
158 }
-
159 else
-
160 {
-
161 next_run = std::chrono::system_clock::time_point::max(); // Disable the task
-
162 }
-
163 }
-
164 }
-
+
55 ESP_LOGD(TAG, "Scheduler::execute complete: %d tasks total, %d runs, avg delay/run: %llu ms\r\n", tasks.size(), nb_runs, avg_delay.count());
+
56
+
57 for (const auto &task : tasks)
+
58 {
+
59 if (task->isActive())
+
60 {
+
61 if (task->getRunCounter() > 0)
+
62 {
+
63 ESP_LOGD(TAG, "\t Task: %s, %lu runs, avg tardiness/run: %llu ms, period %llu ms, delay %llu ms, average task duration %llu ms\r\n",
+
64 task->getId().c_str(), task->getRunCounter(),
+
65 task->getAvgTardiness().count(), task->getPeriod().count(),
+
66 task->getDelay().count(),
+
67 task->getTotalRuntime().count() / task->getRunCounter());
+
68 }
+
69 else
+
70 {
+
71 ESP_LOGD(TAG, "\t Task: %s, never ran, period %llu ms, delay %llu ms\r\n",
+
72 task->getId().c_str(), task->getPeriod().count(),
+
73 task->getDelay().count());
+
74 }
+
75 }
+
76 else
+
77 {
+
78 ESP_LOGD(TAG, "\t Task: %s, inactive\r\n", task->getId().c_str());
+
79 }
+
80 }
+
81 }
+
+
82
+
+
83 auto Scheduler::execute() -> void
+
84 {
+
85 std::sort(tasks.begin(), tasks.end(), [](const auto &x, const auto &y)
+
86 { return x->getNextRun() < y->getNextRun(); });
+
87
+
88 for (const auto &t : tasks)
+
89 {
+
90 t->run();
+
91 }
+
92
+
93 if (conf::debug::ENABLE_TASK_LOGS && millis() % 1024 == 0)
+
94 {
+
95 printStats();
+
96 }
+
97#if (PINS_WOKWI)
+
98 else
+
99 {
+
100 ::delay(5); // Wokwi simulation is sometimes slow and this helps to catch-up
+
101 }
+
102#endif
+
103 }
+
+
104
+
+
105 auto Scheduler::taskCount() const -> size_t
+
106 {
+
107 return tasks.size();
+
108 }
+
+
109
+
+
110 auto Scheduler::getTasks() const -> const std::vector<Task *>
+
111 {
+
112 return {tasks};
+
113 }
+
+
114
+
+
122 Task::Task(const std::string &id, milliseconds period,
+
123 std::function<void()> callback,
+
124 Scheduler &scheduler, bool active, milliseconds delay) : active{active}, id{id},
+
125 period{period}, delay{delay},
+
126 next_run{last_run},
+
127 average_tardiness{0ms}, total_runtime{0ms},
+
128 callback{callback}, run_counter{0}
+
129 {
+ +
131 scheduler.addTask(this);
+
132 if constexpr (conf::debug::ENABLE_TASK_LOGS)
+
133 {
+
134 ESP_LOGD(TAG, "Constructor(%s)\r\n", toString().c_str());
+
135 }
+
136 }
+
+
137
+
+
138 auto Task::toString() const -> const std::string
+
139 {
+
140 std::stringstream ss;
+
141 ss << "Task " << getId() << ", active=" << active
+
142 << ",Period=" << period << ", Delay=" << delay
+
143 << ",Last run=" << last_run.time_since_epoch()
+
144 << ",Next_run=" << next_run.time_since_epoch()
+
145 << ",Avg tardiness=" << average_tardiness
+
146 << ",total_runtime " << total_runtime
+
147 << ",run_counter=" << run_counter
+
148 << ",clock=" << millis();
+
149 return ss.str();
+
150 }
+
+
151
+
+
152 auto Task::run() -> void
+
153 {
+
154 auto time_to_run = (arduinoNow() - next_run).count() > 0;
+
155 if (isActive() && time_to_run)
+
156 {
+
157 run_counter++;
+
158 auto last_duration = std::chrono::duration_cast<milliseconds>(arduinoNow() - last_run);
+
159 average_tardiness = (average_tardiness * (run_counter - 1) + last_duration) / run_counter;
+
160 last_run = arduinoNow();
+
161
+
162 callback();
+
163
+
164 total_runtime += std::chrono::duration_cast<milliseconds>(arduinoNow() - last_run);
165
-
-
166 auto Task::disable() -> void
-
167 {
-
168 active = false;
-
169 }
-
-
170
-
-
171 auto Task::enable() -> void
-
172 {
-
173 active = true;
-
174 updateSchedule();
-
175 }
-
-
176
-
-
178 auto Task::updateSchedule() -> void
-
179 {
-
180 last_run = std::chrono::system_clock::now() + delay;
-
181 next_run = last_run;
-
182 }
-
-
183
-
-
184 auto Task::setPeriod(milliseconds new_period) -> void
-
185 {
-
186 period = new_period;
-
187 }
-
-
188
-
-
189 auto Task::setCallback(std::function<void()> new_callback) -> void
-
190 {
-
191 callback = new_callback;
-
192 }
-
-
193
+
166 if (period > 0ms)
+
167 {
+
168 next_run = last_run + period; // Schedule next run
+
169 }
+
170 else
+
171 {
+
172 next_run = next_run.max(); // Disable the task
+
173 }
+
174
+
175 if constexpr (conf::debug::ENABLE_TASK_LOGS)
+
176 {
+
177 ESP_LOGD(TAG, "Completed(%s)\r\n", toString().c_str());
+
178 }
+
179 }
+
180 }
+
+
181
+
+
182 auto Task::disable() -> void
+
183 {
+
184 active = false;
+
185 }
+
+
186
+
+
187 auto Task::enable() -> void
+
188 {
+
189 active = true;
+
190 updateSchedule();
+
191 }
+
+
192
-
194 auto Task::isActive() const -> bool
+
194 auto Task::updateSchedule() -> void
195 {
-
196 return active;
-
197 }
-
-
198
-
- -
200 {
-
201 return period;
-
202 }
-
-
203
-
-
204 auto Task::getCallback() const -> std::function<void()>
-
205 {
-
206 return callback;
-
207 }
-
-
208
-
-
209 auto Task::getId() const -> const std::string
-
210 {
-
211 return id;
-
212 }
-
-
213
-
- -
215 {
- -
217 {
-
218 return average_tardiness - period;
-
219 }
-
220 return 0ms;
-
221 }
-
-
222
-
-
223 auto Task::getRunCounter() const -> unsigned long
-
224 {
-
225 return run_counter;
-
226 }
-
-
227
-
- -
229 {
-
230 return delay;
-
231 }
-
-
232
-
-
233 auto Task::setDelay(milliseconds new_delay) -> void
-
234 {
-
235 delay = new_delay;
-
236 }
-
-
237
-
- -
239 {
-
240 return total_runtime;
-
241 }
-
-
242
-
-
243 auto Task::getNextRun() const -> std::chrono::time_point<std::chrono::system_clock>
-
244 {
-
245 return next_run;
-
246 }
-
-
247
-
-
250 auto delay(const milliseconds duration) -> void
-
251 {
-
252 ArduinoOTA.handle();
+
196 last_run = arduinoNow() + delay;
+
197 next_run = last_run;
+
198 }
+
+
199
+
+
200 auto Task::setPeriod(milliseconds new_period) -> void
+
201 {
+
202 period = new_period;
+
203 }
+
+
204
+
+
205 auto Task::setCallback(std::function<void()> new_callback) -> void
+
206 {
+
207 callback = new_callback;
+
208 }
+
+
209
+
+
210 auto Task::isActive() const -> bool
+
211 {
+
212 return active;
+
213 }
+
+
214
+
+
215 auto Task::getPeriod() const -> const milliseconds
+
216 {
+
217 return period;
+
218 }
+
+
219
+
+
220 auto Task::getCallback() const -> std::function<void()>
+
221 {
+
222 return callback;
+
223 }
+
+
224
+
+
225 auto Task::getId() const -> const std::string
+
226 {
+
227 return id;
+
228 }
+
+
229
+
+ +
231 {
+ +
233 {
+
234 return average_tardiness - period;
+
235 }
+
236 return 0ms;
+
237 }
+
+
238
+
+
239 auto Task::getRunCounter() const -> unsigned long
+
240 {
+
241 return run_counter;
+
242 }
+
+
243
+
+
244 auto Task::getDelay() const -> const milliseconds
+
245 {
+
246 return delay;
+
247 }
+
+
248
+
+
249 auto Task::setDelay(milliseconds new_delay) -> void
+
250 {
+
251 delay = new_delay;
+
252 }
+
253
-
254 if (duration < 50ms)
-
255 {
-
256 ::delay(duration.count());
-
257 return;
-
258 }
-
259
-
260 const auto start = std::chrono::system_clock::now();
-
261 do
-
262 {
-
263 ::delay(50);
-
264 ArduinoOTA.handle();
-
265 } while (std::chrono::system_clock::now() - start < duration);
-
266 }
-
-
267} // namespace fabomatic::Tasks
+
+ +
255 {
+
256 return total_runtime;
+
257 }
+
+
258
+
+
259 auto Task::getNextRun() const -> const std::chrono::steady_clock::time_point
+
260 {
+
261 return next_run;
+
262 }
+
+
263
+
+
266 auto delay(const milliseconds duration) -> void
+
267 {
+
268 ArduinoOTA.handle();
+
269
+
270 if (duration < 50ms)
+
271 {
+
272 ::delay(duration.count());
+
273 return;
+
274 }
+
275
+
276 const auto &start = arduinoNow();
+
277 do
+
278 {
+
279 ::delay(50);
+
280 ArduinoOTA.handle();
+
281 } while (arduinoNow() - start < duration);
+
282 }
+
+
283} // namespace fabomatic::Tasks
-
static const char *const TAG
Definition Logging.hpp:6
+
static const char *const TAG
Definition Logging.hpp:9
-
The schedule is in charge of running tasks in the right order based on their requested intervals.
Definition Tasks.hpp:107
-
std::vector< std::reference_wrapper< Task > > tasks
Definition Tasks.hpp:126
-
auto printStats() const -> void
Definition Tasks.cpp:38
-
auto taskCount() const -> size_t
Gets the number of tasks in the scheduler.
Definition Tasks.cpp:108
-
auto updateSchedules() const -> void
Recompute all the next run times for all the tasks.
Definition Tasks.cpp:30
-
auto addTask(Task &task) -> void
Definition Tasks.cpp:17
-
auto execute() const -> void
Execute all tasks that are ready to run.
Definition Tasks.cpp:81
-
auto getTasks() const -> const std::vector< std::reference_wrapper< Task > >
Get a vector of references to the tasks.
Definition Tasks.cpp:113
-
auto removeTask(const Task &task) -> void
Definition Tasks.cpp:22
-
A task class which represents a function to be called at requested intervals.
Definition Tasks.hpp:18
-
milliseconds total_runtime
Definition Tasks.hpp:100
-
auto disable() -> void
Prevent the task from running again.
Definition Tasks.cpp:166
-
auto updateSchedule() -> void
recompute the next run time (now + delay) and allows the task to run again
Definition Tasks.cpp:178
- +
The schedule is in charge of running tasks in the right order based on their requested intervals.
Definition Tasks.hpp:115
+
auto printStats() const -> void
Definition Tasks.cpp:40
+
auto taskCount() const -> size_t
Gets the number of tasks in the scheduler.
Definition Tasks.cpp:105
+
auto updateSchedules() const -> void
Recompute all the next run times for all the tasks.
Definition Tasks.cpp:32
+
auto getTasks() const -> const std::vector< Task * >
Get a copy vector of task pointers.
Definition Tasks.cpp:110
+
auto addTask(Task *task) -> void
Definition Tasks.cpp:18
+
std::vector< Task * > tasks
Definition Tasks.hpp:135
+
auto removeTask(const Task *task) -> void
Definition Tasks.cpp:24
+
auto execute() -> void
Execute all tasks that are ready to run.
Definition Tasks.cpp:83
+
A task class which represents a function to be called at requested intervals.
Definition Tasks.hpp:24
+
milliseconds total_runtime
Definition Tasks.hpp:108
+
auto disable() -> void
Prevent the task from running again.
Definition Tasks.cpp:182
+
auto updateSchedule() -> void
recompute the next run time (now + delay) and allows the task to run again
Definition Tasks.cpp:194
+ -
auto getNextRun() const -> time_point_sc
When shall the task be run again.
Definition Tasks.cpp:243
-
auto getRunCounter() const -> unsigned long
Gets the number of times the task has been run.
Definition Tasks.cpp:223
-
auto getPeriod() const -> milliseconds
Current period of the task.
Definition Tasks.cpp:199
-
milliseconds average_tardiness
Definition Tasks.hpp:99
-
auto setPeriod(milliseconds new_period) -> void
Change the task period.
Definition Tasks.cpp:184
-
auto setDelay(milliseconds new_delay) -> void
Change the task initial delay.
Definition Tasks.cpp:233
-
time_point_sc next_run
Definition Tasks.hpp:98
-
const std::string id
Definition Tasks.hpp:94
-
milliseconds period
Definition Tasks.hpp:95
-
auto isActive() const -> bool
Status of the task.
Definition Tasks.cpp:194
-
auto getDelay() const -> milliseconds
Get the initial delay before the task is run at given period.
Definition Tasks.cpp:228
-
auto getId() const -> const std::string
Get the Task Identifier.
Definition Tasks.cpp:209
-
auto enable() -> void
Allows the task to run again.
Definition Tasks.cpp:171
-
auto getAvgTardiness() const -> milliseconds
Get the average tardiness, i.e. the average period between scheduled start and actual start of execut...
Definition Tasks.cpp:214
-
auto run() -> void
Execute the task if active.
Definition Tasks.cpp:137
-
std::function< void()> callback
Definition Tasks.hpp:101
-
auto getCallback() const -> std::function< void()>
Function to be called when task is run.
Definition Tasks.cpp:204
-
unsigned long run_counter
Definition Tasks.hpp:102
-
auto setCallback(std::function< void()> new_callback) -> void
Change the callback function.
Definition Tasks.cpp:189
-
milliseconds delay
Definition Tasks.hpp:96
-
auto getTotalRuntime() const -> milliseconds
Gets the total execution time of the task. Useful to spot slowest tasks.
Definition Tasks.cpp:238
+
auto getRunCounter() const -> unsigned long
Gets the number of times the task has been run.
Definition Tasks.cpp:239
+
milliseconds average_tardiness
Definition Tasks.hpp:107
+
auto setPeriod(milliseconds new_period) -> void
Change the task period.
Definition Tasks.cpp:200
+
auto setDelay(milliseconds new_delay) -> void
Change the task initial delay.
Definition Tasks.cpp:249
+
std::chrono::steady_clock::time_point next_run
Definition Tasks.hpp:106
+
auto getDelay() const -> const milliseconds
Get the initial delay before the task is run at given period.
Definition Tasks.cpp:244
+
const std::string id
Definition Tasks.hpp:102
+
milliseconds period
Definition Tasks.hpp:103
+
auto isActive() const -> bool
Status of the task.
Definition Tasks.cpp:210
+
auto getTotalRuntime() const -> const milliseconds
Gets the total execution time of the task. Useful to spot slowest tasks.
Definition Tasks.cpp:254
+
std::chrono::steady_clock::time_point last_run
Definition Tasks.hpp:105
+
auto getId() const -> const std::string
Get the Task Identifier.
Definition Tasks.cpp:225
+
auto toString() const -> const std::string
Definition Tasks.cpp:138
+
auto getNextRun() const -> const std::chrono::steady_clock::time_point
When shall the task be run again.
Definition Tasks.cpp:259
+
auto enable() -> void
Allows the task to run again.
Definition Tasks.cpp:187
+
auto run() -> void
Execute the task if active.
Definition Tasks.cpp:152
+
std::function< void()> callback
Definition Tasks.hpp:109
+
auto getCallback() const -> std::function< void()>
Function to be called when task is run.
Definition Tasks.cpp:220
+
auto getPeriod() const -> const milliseconds
Current period of the task.
Definition Tasks.cpp:215
+
unsigned long run_counter
Definition Tasks.hpp:110
+
auto setCallback(std::function< void()> new_callback) -> void
Change the callback function.
Definition Tasks.cpp:205
+
auto getAvgTardiness() const -> const milliseconds
Get the average tardiness, i.e. the average period between scheduled start and actual start of execut...
Definition Tasks.cpp:230
+
milliseconds delay
Definition Tasks.hpp:104
-
This namespace contains the classes that implement a cooperative task scheduler.
Definition Tasks.cpp:12
-
std::chrono::time_point< std::chrono::system_clock > time_point_sc
Definition Tasks.cpp:14
-
auto delay(const milliseconds duration) -> void
Wait for a delay, allowing OTA updates.
Definition Tasks.cpp:250
-
std::chrono::milliseconds milliseconds
Definition Tasks.cpp:13
+
This namespace contains the classes that implement a cooperative task scheduler.
Definition Tasks.cpp:13
+
auto delay(const milliseconds duration) -> void
Wait for a delay, allowing OTA updates.
Definition Tasks.cpp:266
+
auto arduinoNow() -> const std::chrono::steady_clock::time_point
Definition Tasks.hpp:15
+
std::chrono::milliseconds milliseconds
Definition Tasks.cpp:14
static constexpr bool ENABLE_TASK_LOGS
True to add many logs regarding tasks scheduling and statistics.
Definition conf.hpp:82
diff --git a/_tasks_8hpp.xhtml b/_tasks_8hpp.xhtml index ac9dc57c..43bccf20 100644 --- a/_tasks_8hpp.xhtml +++ b/_tasks_8hpp.xhtml @@ -84,10 +84,12 @@ $(function() {
#include <chrono>
#include <functional>
+#include "Arduino.h"
+#include <list>
Include dependency graph for Tasks.hpp:
-
+
This graph shows which files directly or indirectly include this file:
@@ -116,6 +118,8 @@ Namespaces

Functions

+ + @@ -123,7 +127,7 @@ Functions diff --git a/_tasks_8hpp__dep__incl.map b/_tasks_8hpp__dep__incl.map index 58714ffd..8d126e25 100644 --- a/_tasks_8hpp__dep__incl.map +++ b/_tasks_8hpp__dep__incl.map @@ -1,22 +1,28 @@ - + - + - + - + - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + diff --git a/_tasks_8hpp__dep__incl.md5 b/_tasks_8hpp__dep__incl.md5 index ecee28ba..e4d0b66e 100644 --- a/_tasks_8hpp__dep__incl.md5 +++ b/_tasks_8hpp__dep__incl.md5 @@ -1 +1 @@ -72ca483aecedc1ae8c88282c74919170 \ No newline at end of file +a775c191a974aa078d3ae8007af98288 \ No newline at end of file diff --git a/_tasks_8hpp__dep__incl.svg b/_tasks_8hpp__dep__incl.svg index 78237140..7d2cca9b 100644 --- a/_tasks_8hpp__dep__incl.svg +++ b/_tasks_8hpp__dep__incl.svg @@ -46,7 +46,7 @@ @@ -58,8 +58,8 @@ var sectionId = 'dynsection-1'; Node1 - -Tasks.hpp + +Tasks.hpp @@ -76,8 +76,8 @@ var sectionId = 'dynsection-1'; Node1->Node2 - - + + @@ -94,8 +94,8 @@ var sectionId = 'dynsection-1'; Node1->Node3 - - + + @@ -112,8 +112,8 @@ var sectionId = 'dynsection-1'; Node1->Node4 - - + + @@ -130,17 +130,17 @@ var sectionId = 'dynsection-1'; Node1->Node5 - - + + Node6 - - -Tasks.cpp + + +MockMrfc522.cpp @@ -148,17 +148,17 @@ var sectionId = 'dynsection-1'; Node1->Node6 - - + + Node7 - - -globals.hpp + + +Tasks.cpp @@ -166,35 +166,35 @@ var sectionId = 'dynsection-1'; Node1->Node7 - - + + Node8 - - -main.cpp + + +globals.hpp - + Node1->Node8 - - - + + + Node9 - - -test_mqtt.cpp + + +main.cpp @@ -202,17 +202,17 @@ var sectionId = 'dynsection-1'; Node1->Node9 - - + + Node10 - - -test_tasks.cpp + + +test_chrono.cpp @@ -220,17 +220,71 @@ var sectionId = 'dynsection-1'; Node1->Node10 - - + + - - -Node7->Node8 - - - + + +Node11 + + +test_common.cpp + + + + + +Node1->Node11 + + + + + + + + +Node12 + + +test_mqtt.cpp + + + + + +Node1->Node12 + + + + + + + + +Node13 + + +test_tasks.cpp + + + + + +Node1->Node13 + + + + + + + + +Node8->Node9 + + + diff --git a/_tasks_8hpp__dep__incl_org.svg b/_tasks_8hpp__dep__incl_org.svg index f564dbe2..c16f96a4 100644 --- a/_tasks_8hpp__dep__incl_org.svg +++ b/_tasks_8hpp__dep__incl_org.svg @@ -4,16 +4,16 @@ - + Tasks.hpp Node1 - -Tasks.hpp + +Tasks.hpp @@ -30,8 +30,8 @@ Node1->Node2 - - + + @@ -48,8 +48,8 @@ Node1->Node3 - - + + @@ -66,8 +66,8 @@ Node1->Node4 - - + + @@ -84,17 +84,17 @@ Node1->Node5 - - + + Node6 - - -Tasks.cpp + + +MockMrfc522.cpp @@ -102,17 +102,17 @@ Node1->Node6 - - + + Node7 - - -globals.hpp + + +Tasks.cpp @@ -120,35 +120,35 @@ Node1->Node7 - - + + Node8 - - -main.cpp + + +globals.hpp - + Node1->Node8 - - - + + + Node9 - - -test_mqtt.cpp + + +main.cpp @@ -156,17 +156,17 @@ Node1->Node9 - - + + Node10 - - -test_tasks.cpp + + +test_chrono.cpp @@ -174,17 +174,71 @@ Node1->Node10 - - + + - - -Node7->Node8 - - - + + +Node11 + + +test_common.cpp + + + + + +Node1->Node11 + + + + + + + + +Node12 + + +test_mqtt.cpp + + + + + +Node1->Node12 + + + + + + + + +Node13 + + +test_tasks.cpp + + + + + +Node1->Node13 + + + + + + + + +Node8->Node9 + + + diff --git a/_tasks_8hpp__incl.map b/_tasks_8hpp__incl.map index 437755a8..30d5d444 100644 --- a/_tasks_8hpp__incl.map +++ b/_tasks_8hpp__incl.map @@ -1,7 +1,11 @@ - + - + - + + + + + diff --git a/_tasks_8hpp__incl.md5 b/_tasks_8hpp__incl.md5 index b3334805..2b2768e8 100644 --- a/_tasks_8hpp__incl.md5 +++ b/_tasks_8hpp__incl.md5 @@ -1 +1 @@ -2e77113e995fc89b9334d12afb01f1f3 \ No newline at end of file +8aa68cebe118efae2e11b08faea5de97 \ No newline at end of file diff --git a/_tasks_8hpp__incl.svg b/_tasks_8hpp__incl.svg index 8f28d08c..00959777 100644 --- a/_tasks_8hpp__incl.svg +++ b/_tasks_8hpp__incl.svg @@ -4,8 +4,8 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + fabomatic::BoardLogic::initBoard @@ -66,39 +102,39 @@ - - -Node6 - + + +Node7 + fabomatic::BoardLogic ::getRfid - - -Node1->Node6 - + + +Node1->Node7 + - - -Node7 - + + +Node8 + fabomatic::BaseRFIDWrapper ::rfidInit - - -Node1->Node7 - + + +Node1->Node8 + @@ -151,18 +187,36 @@ - + Node5->Node5 - + - - -Node6->Node5 - + + +Node6 + + +fabomatic::Tasks::arduinoNow + + + + + +Node5->Node6 + + + + + + + + +Node7->Node5 + @@ -170,6 +224,27 @@ + + + + + + + + + + + + + + + + + + - - -Node6 - + + +Node7 + fabomatic::BoardLogic ::getRfid - - -Node1->Node6 - + + +Node1->Node7 + - - -Node7 - + + +Node8 + fabomatic::BaseRFIDWrapper ::rfidInit - - -Node1->Node7 - + + +Node1->Node8 + @@ -141,18 +141,36 @@ - + Node5->Node5 - + - - -Node6->Node5 - + + +Node6 + + +fabomatic::Tasks::arduinoNow + + + + + +Node5->Node6 + + + + + + + + +Node7->Node5 + diff --git a/classfabomatic_1_1_board_logic_a420a0d05a91a02c27ad3b63a030738a0_cgraph.map b/classfabomatic_1_1_board_logic_a420a0d05a91a02c27ad3b63a030738a0_cgraph.map index ee3caa76..b9400cb7 100644 --- a/classfabomatic_1_1_board_logic_a420a0d05a91a02c27ad3b63a030738a0_cgraph.map +++ b/classfabomatic_1_1_board_logic_a420a0d05a91a02c27ad3b63a030738a0_cgraph.map @@ -1,24 +1,28 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/classfabomatic_1_1_board_logic_a420a0d05a91a02c27ad3b63a030738a0_cgraph.md5 b/classfabomatic_1_1_board_logic_a420a0d05a91a02c27ad3b63a030738a0_cgraph.md5 index e7d57e72..036b3ce0 100644 --- a/classfabomatic_1_1_board_logic_a420a0d05a91a02c27ad3b63a030738a0_cgraph.md5 +++ b/classfabomatic_1_1_board_logic_a420a0d05a91a02c27ad3b63a030738a0_cgraph.md5 @@ -1 +1 @@ -eff5459b2db23406d67875f80fd0573a \ No newline at end of file +85712bbaad0cab8fec48c80181b97802 \ No newline at end of file diff --git a/classfabomatic_1_1_board_logic_a420a0d05a91a02c27ad3b63a030738a0_cgraph.svg b/classfabomatic_1_1_board_logic_a420a0d05a91a02c27ad3b63a030738a0_cgraph.svg index 2d0c8b9c..5a6bee5d 100644 --- a/classfabomatic_1_1_board_logic_a420a0d05a91a02c27ad3b63a030738a0_cgraph.svg +++ b/classfabomatic_1_1_board_logic_a420a0d05a91a02c27ad3b63a030738a0_cgraph.svg @@ -4,8 +4,7 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + fabomatic::BoardLogic::longTap Node1 - -fabomatic::BoardLogic -::longTap + +fabomatic::BoardLogic +::longTap Node2 - - -fabomatic::Tasks::delay + + +fabomatic::Tasks::arduinoNow @@ -41,37 +77,36 @@ Node1->Node2 - - + + Node3 - - -fabomatic::BoardLogic -::getLcd + + +fabomatic::Tasks::delay - + Node1->Node3 - - - + + + Node4 - - -fabomatic::Machine -::getPowerState + + +fabomatic::BoardLogic +::getLcd @@ -79,37 +114,37 @@ Node1->Node4 - - + + Node5 - - -fabomatic::BoardLogic -::getRfid + + +fabomatic::Machine +::getPowerState - + Node1->Node5 - - - + + + Node6 - - -fabomatic::FabBackend -::isOnline + + +fabomatic::BoardLogic +::getRfid @@ -117,109 +152,146 @@ Node1->Node6 - - + + Node7 - - -fabomatic::Machine -::isShutdownImminent + + +fabomatic::FabBackend +::isOnline - + Node1->Node7 - - - + + + Node8 - - -fabomatic::LCDWrapper -::setRow + + +fabomatic::Machine +::isShutdownImminent - + Node1->Node8 - - - + + + Node9 - - -fabomatic::LCDWrapper -::update + + +fabomatic::LCDWrapper +::setRow - + Node1->Node9 - - - + + + + + + + + +Node10 + + +fabomatic::LCDWrapper +::update - - -Node2->Node2 - - - + + +Node1->Node10 + + + - + Node3->Node2 - - - + + + - - -Node5->Node2 - - - + + +Node3->Node3 + + + - - -Node10 - + + +Node4->Node3 + + + + + + + + +Node6->Node3 + + + + + + + + +Node8->Node2 + + + + + + + + +Node11 + fabomatic::LCDWrapper ::clear - - -Node9->Node10 - + + +Node10->Node11 + @@ -227,6 +299,27 @@ + + + + + + + + + + + + + + + + + + - + Node1->Node3 - + - - -Node4 - + + +Node5 + fabomatic::FabBackend ::messageReceived - - -Node1->Node4 - + + +Node1->Node5 + - - -Node5 - + + +Node6 + fabomatic::FabBackend ::publish - - -Node1->Node5 - + + +Node1->Node6 + @@ -103,13 +103,31 @@ - + Node3->Node3 - + + + +Node4 + + +fabomatic::Tasks::arduinoNow + + + + + +Node3->Node4 + + + + + + diff --git a/classfabomatic_1_1_fab_backend_a43cc9d15e26ffe3b830452a5435cda1c_cgraph.map b/classfabomatic_1_1_fab_backend_a43cc9d15e26ffe3b830452a5435cda1c_cgraph.map index cae783fb..b7d8417f 100644 --- a/classfabomatic_1_1_fab_backend_a43cc9d15e26ffe3b830452a5435cda1c_cgraph.map +++ b/classfabomatic_1_1_fab_backend_a43cc9d15e26ffe3b830452a5435cda1c_cgraph.map @@ -2,5 +2,7 @@ - + + + diff --git a/classfabomatic_1_1_fab_backend_a43cc9d15e26ffe3b830452a5435cda1c_cgraph.md5 b/classfabomatic_1_1_fab_backend_a43cc9d15e26ffe3b830452a5435cda1c_cgraph.md5 index 8ef52329..12e21b9f 100644 --- a/classfabomatic_1_1_fab_backend_a43cc9d15e26ffe3b830452a5435cda1c_cgraph.md5 +++ b/classfabomatic_1_1_fab_backend_a43cc9d15e26ffe3b830452a5435cda1c_cgraph.md5 @@ -1 +1 @@ -ec7dd00d955828f06b23e281ef8f9d94 \ No newline at end of file +2fe3b8fb28ecfb33ba23ef3cea60e7a7 \ No newline at end of file diff --git a/classfabomatic_1_1_fab_backend_a43cc9d15e26ffe3b830452a5435cda1c_cgraph.svg b/classfabomatic_1_1_fab_backend_a43cc9d15e26ffe3b830452a5435cda1c_cgraph.svg index d858c3ba..fd9ed8b3 100644 --- a/classfabomatic_1_1_fab_backend_a43cc9d15e26ffe3b830452a5435cda1c_cgraph.svg +++ b/classfabomatic_1_1_fab_backend_a43cc9d15e26ffe3b830452a5435cda1c_cgraph.svg @@ -4,8 +4,8 @@ - + + + + +fabomatic::Machine::canPowerOff + + +Node1 + + +fabomatic::Machine +::canPowerOff + + + + + +Node2 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node2 + + + + + + + + + + + + + diff --git a/classfabomatic_1_1_machine_a1161d52e85bff96812852f50f53335c9_cgraph_org.svg b/classfabomatic_1_1_machine_a1161d52e85bff96812852f50f53335c9_cgraph_org.svg new file mode 100644 index 00000000..e7408b02 --- /dev/null +++ b/classfabomatic_1_1_machine_a1161d52e85bff96812852f50f53335c9_cgraph_org.svg @@ -0,0 +1,40 @@ + + + + + + +fabomatic::Machine::canPowerOff + + +Node1 + + +fabomatic::Machine +::canPowerOff + + + + + +Node2 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node2 + + + + + + + + diff --git a/classfabomatic_1_1_machine_a1161d52e85bff96812852f50f53335c9_icgraph.svg b/classfabomatic_1_1_machine_a1161d52e85bff96812852f50f53335c9_icgraph.svg index 548ffb3d..0c775ed3 100644 --- a/classfabomatic_1_1_machine_a1161d52e85bff96812852f50f53335c9_icgraph.svg +++ b/classfabomatic_1_1_machine_a1161d52e85bff96812852f50f53335c9_icgraph.svg @@ -48,7 +48,7 @@ diff --git a/classfabomatic_1_1_machine_a116376ca892e59b8f754696161657631_cgraph.map b/classfabomatic_1_1_machine_a116376ca892e59b8f754696161657631_cgraph.map index 5427158e..8cfdc66d 100644 --- a/classfabomatic_1_1_machine_a116376ca892e59b8f754696161657631_cgraph.map +++ b/classfabomatic_1_1_machine_a116376ca892e59b8f754696161657631_cgraph.map @@ -2,5 +2,7 @@ - + + + diff --git a/classfabomatic_1_1_machine_a116376ca892e59b8f754696161657631_cgraph.md5 b/classfabomatic_1_1_machine_a116376ca892e59b8f754696161657631_cgraph.md5 index 50b697c2..5948c30e 100644 --- a/classfabomatic_1_1_machine_a116376ca892e59b8f754696161657631_cgraph.md5 +++ b/classfabomatic_1_1_machine_a116376ca892e59b8f754696161657631_cgraph.md5 @@ -1 +1 @@ -e656dc976d4fe58d305e7f064e71f960 \ No newline at end of file +23ee6a696726c0c7e95ad92049c42a56 \ No newline at end of file diff --git a/classfabomatic_1_1_machine_a116376ca892e59b8f754696161657631_cgraph.svg b/classfabomatic_1_1_machine_a116376ca892e59b8f754696161657631_cgraph.svg index c8b5a20e..0bdad70e 100644 --- a/classfabomatic_1_1_machine_a116376ca892e59b8f754696161657631_cgraph.svg +++ b/classfabomatic_1_1_machine_a116376ca892e59b8f754696161657631_cgraph.svg @@ -4,8 +4,8 @@ - + + + + +fabomatic::Machine::logout + + +Node1 + + +fabomatic::Machine +::logout + + + + + +Node2 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node2 + + + + + + + + + + + + + diff --git a/classfabomatic_1_1_machine_a86cd6dfd9fefa7221a49cc07c78fc851_cgraph_org.svg b/classfabomatic_1_1_machine_a86cd6dfd9fefa7221a49cc07c78fc851_cgraph_org.svg new file mode 100644 index 00000000..40422ccb --- /dev/null +++ b/classfabomatic_1_1_machine_a86cd6dfd9fefa7221a49cc07c78fc851_cgraph_org.svg @@ -0,0 +1,40 @@ + + + + + + +fabomatic::Machine::logout + + +Node1 + + +fabomatic::Machine +::logout + + + + + +Node2 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node2 + + + + + + + + diff --git a/classfabomatic_1_1_machine_a86cd6dfd9fefa7221a49cc07c78fc851_icgraph.svg b/classfabomatic_1_1_machine_a86cd6dfd9fefa7221a49cc07c78fc851_icgraph.svg index 30fbe4de..707f1d9e 100644 --- a/classfabomatic_1_1_machine_a86cd6dfd9fefa7221a49cc07c78fc851_icgraph.svg +++ b/classfabomatic_1_1_machine_a86cd6dfd9fefa7221a49cc07c78fc851_icgraph.svg @@ -48,7 +48,7 @@ diff --git a/classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_cgraph.map b/classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_cgraph.map new file mode 100644 index 00000000..c1918cf5 --- /dev/null +++ b/classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_cgraph.md5 b/classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_cgraph.md5 new file mode 100644 index 00000000..59a64112 --- /dev/null +++ b/classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_cgraph.md5 @@ -0,0 +1 @@ +14e3c29f74d7abd014fc4b2c1372a7cc \ No newline at end of file diff --git a/classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_cgraph.svg b/classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_cgraph.svg new file mode 100644 index 00000000..2a3f5969 --- /dev/null +++ b/classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_cgraph.svg @@ -0,0 +1,65 @@ + + + + + + + + + + + +fabomatic::Machine::isShutdownImminent + + +Node1 + + +fabomatic::Machine +::isShutdownImminent + + + + + +Node2 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node2 + + + + + + + + + + + + + diff --git a/classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_cgraph_org.svg b/classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_cgraph_org.svg new file mode 100644 index 00000000..cb31261b --- /dev/null +++ b/classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_cgraph_org.svg @@ -0,0 +1,40 @@ + + + + + + +fabomatic::Machine::isShutdownImminent + + +Node1 + + +fabomatic::Machine +::isShutdownImminent + + + + + +Node2 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node2 + + + + + + + + diff --git a/classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_icgraph.svg b/classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_icgraph.svg index ac016ebf..9d667e13 100644 --- a/classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_icgraph.svg +++ b/classfabomatic_1_1_machine_a871958cc57845c8651cf1058ed9b30e4_icgraph.svg @@ -48,7 +48,7 @@ diff --git a/classfabomatic_1_1_machine_a8bde1bdf40d146c521b623d54e2df1cf_icgraph.svg b/classfabomatic_1_1_machine_a8bde1bdf40d146c521b623d54e2df1cf_icgraph.svg index fb925a3d..e79aee6f 100644 --- a/classfabomatic_1_1_machine_a8bde1bdf40d146c521b623d54e2df1cf_icgraph.svg +++ b/classfabomatic_1_1_machine_a8bde1bdf40d146c521b623d54e2df1cf_icgraph.svg @@ -48,7 +48,7 @@ diff --git a/classfabomatic_1_1_machine_a921c78777a6cb9f7fdb9780a8c1aa8c0_icgraph.svg b/classfabomatic_1_1_machine_a921c78777a6cb9f7fdb9780a8c1aa8c0_icgraph.svg index 71bded3f..6ecc40c6 100644 --- a/classfabomatic_1_1_machine_a921c78777a6cb9f7fdb9780a8c1aa8c0_icgraph.svg +++ b/classfabomatic_1_1_machine_a921c78777a6cb9f7fdb9780a8c1aa8c0_icgraph.svg @@ -48,7 +48,7 @@ diff --git a/classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_cgraph.map b/classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_cgraph.map new file mode 100644 index 00000000..a9bb1393 --- /dev/null +++ b/classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_cgraph.md5 b/classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_cgraph.md5 new file mode 100644 index 00000000..77be39f6 --- /dev/null +++ b/classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_cgraph.md5 @@ -0,0 +1 @@ +c0fa7c5753acb2a18dfe1d68fa7739f9 \ No newline at end of file diff --git a/classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_cgraph.svg b/classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_cgraph.svg new file mode 100644 index 00000000..2b7404eb --- /dev/null +++ b/classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_cgraph.svg @@ -0,0 +1,65 @@ + + + + + + + + + + + +fabomatic::Machine::getUsageDuration + + +Node1 + + +fabomatic::Machine +::getUsageDuration + + + + + +Node2 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node2 + + + + + + + + + + + + + diff --git a/classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_cgraph_org.svg b/classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_cgraph_org.svg new file mode 100644 index 00000000..f9e0fe40 --- /dev/null +++ b/classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_cgraph_org.svg @@ -0,0 +1,40 @@ + + + + + + +fabomatic::Machine::getUsageDuration + + +Node1 + + +fabomatic::Machine +::getUsageDuration + + + + + +Node2 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node2 + + + + + + + + diff --git a/classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_icgraph.svg b/classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_icgraph.svg index e21a68dd..5808781c 100644 --- a/classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_icgraph.svg +++ b/classfabomatic_1_1_machine_a9c845a163660550fa779516a8be8681a_icgraph.svg @@ -48,7 +48,7 @@ diff --git a/classfabomatic_1_1_machine_a9d109ed7b9c5e40768bc4edf62377aa8_icgraph.svg b/classfabomatic_1_1_machine_a9d109ed7b9c5e40768bc4edf62377aa8_icgraph.svg index cd4de0c5..16da3857 100644 --- a/classfabomatic_1_1_machine_a9d109ed7b9c5e40768bc4edf62377aa8_icgraph.svg +++ b/classfabomatic_1_1_machine_a9d109ed7b9c5e40768bc4edf62377aa8_icgraph.svg @@ -48,7 +48,7 @@ diff --git a/classfabomatic_1_1_machine_a9fd614d86b6108a5a7b54fc9eee0d9a6_icgraph.svg b/classfabomatic_1_1_machine_a9fd614d86b6108a5a7b54fc9eee0d9a6_icgraph.svg index c996a0a1..786e7194 100644 --- a/classfabomatic_1_1_machine_a9fd614d86b6108a5a7b54fc9eee0d9a6_icgraph.svg +++ b/classfabomatic_1_1_machine_a9fd614d86b6108a5a7b54fc9eee0d9a6_icgraph.svg @@ -48,7 +48,7 @@ diff --git a/classfabomatic_1_1_machine_ab39e2dee601ccaeab1e02cf28a14306b_icgraph.svg b/classfabomatic_1_1_machine_ab39e2dee601ccaeab1e02cf28a14306b_icgraph.svg index ec0359e6..a1902546 100644 --- a/classfabomatic_1_1_machine_ab39e2dee601ccaeab1e02cf28a14306b_icgraph.svg +++ b/classfabomatic_1_1_machine_ab39e2dee601ccaeab1e02cf28a14306b_icgraph.svg @@ -48,7 +48,7 @@ diff --git a/classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_cgraph.map b/classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_cgraph.map new file mode 100644 index 00000000..a3109243 --- /dev/null +++ b/classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_cgraph.md5 b/classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_cgraph.md5 new file mode 100644 index 00000000..1ea26a5e --- /dev/null +++ b/classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_cgraph.md5 @@ -0,0 +1 @@ +301d15d357da4bfeb064c0ae6f529064 \ No newline at end of file diff --git a/classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_cgraph.svg b/classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_cgraph.svg new file mode 100644 index 00000000..de0275c7 --- /dev/null +++ b/classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_cgraph.svg @@ -0,0 +1,65 @@ + + + + + + + + + + + +fabomatic::Machine::login + + +Node1 + + +fabomatic::Machine +::login + + + + + +Node2 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node2 + + + + + + + + + + + + + diff --git a/classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_cgraph_org.svg b/classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_cgraph_org.svg new file mode 100644 index 00000000..f71b2b8b --- /dev/null +++ b/classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_cgraph_org.svg @@ -0,0 +1,40 @@ + + + + + + +fabomatic::Machine::login + + +Node1 + + +fabomatic::Machine +::login + + + + + +Node2 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node2 + + + + + + + + diff --git a/classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_icgraph.svg b/classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_icgraph.svg index 964a347c..aa96c1a7 100644 --- a/classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_icgraph.svg +++ b/classfabomatic_1_1_machine_ac0591da2ff437cd6c7cc91bd09b4dff7_icgraph.svg @@ -48,7 +48,7 @@ diff --git a/classfabomatic_1_1_machine_ac8513321c0c184312c66087e7104d066_icgraph.svg b/classfabomatic_1_1_machine_ac8513321c0c184312c66087e7104d066_icgraph.svg index c51590f0..6b805fc1 100644 --- a/classfabomatic_1_1_machine_ac8513321c0c184312c66087e7104d066_icgraph.svg +++ b/classfabomatic_1_1_machine_ac8513321c0c184312c66087e7104d066_icgraph.svg @@ -48,7 +48,7 @@ diff --git a/classfabomatic_1_1_machine_ace7ccce1b3fabde562cfc7c5645dd6a3_icgraph.svg b/classfabomatic_1_1_machine_ace7ccce1b3fabde562cfc7c5645dd6a3_icgraph.svg index 523f8edb..ce608c0e 100644 --- a/classfabomatic_1_1_machine_ace7ccce1b3fabde562cfc7c5645dd6a3_icgraph.svg +++ b/classfabomatic_1_1_machine_ace7ccce1b3fabde562cfc7c5645dd6a3_icgraph.svg @@ -48,7 +48,7 @@ diff --git a/classfabomatic_1_1_machine_ad511c567c7cb7487d19019550c9a4e32_icgraph.svg b/classfabomatic_1_1_machine_ad511c567c7cb7487d19019550c9a4e32_icgraph.svg index 618e6fc6..6a6e94d6 100644 --- a/classfabomatic_1_1_machine_ad511c567c7cb7487d19019550c9a4e32_icgraph.svg +++ b/classfabomatic_1_1_machine_ad511c567c7cb7487d19019550c9a4e32_icgraph.svg @@ -48,7 +48,7 @@ diff --git a/classfabomatic_1_1_machine_addd23c892c39f3c1e26d611059273081_icgraph.svg b/classfabomatic_1_1_machine_addd23c892c39f3c1e26d611059273081_icgraph.svg index 2b670137..71fb87bc 100644 --- a/classfabomatic_1_1_machine_addd23c892c39f3c1e26d611059273081_icgraph.svg +++ b/classfabomatic_1_1_machine_addd23c892c39f3c1e26d611059273081_icgraph.svg @@ -48,7 +48,7 @@ diff --git a/classfabomatic_1_1_machine_aeee64b0919798272dfe45d40eb2e96be_icgraph.svg b/classfabomatic_1_1_machine_aeee64b0919798272dfe45d40eb2e96be_icgraph.svg index 65ed857a..99ee6238 100644 --- a/classfabomatic_1_1_machine_aeee64b0919798272dfe45d40eb2e96be_icgraph.svg +++ b/classfabomatic_1_1_machine_aeee64b0919798272dfe45d40eb2e96be_icgraph.svg @@ -48,7 +48,7 @@ diff --git a/classfabomatic_1_1_mock_m_q_t_t_broker-members.xhtml b/classfabomatic_1_1_mock_m_q_t_t_broker-members.xhtml index 1c9862ef..c10db824 100644 --- a/classfabomatic_1_1_mock_m_q_t_t_broker-members.xhtml +++ b/classfabomatic_1_1_mock_m_q_t_t_broker-members.xhtml @@ -98,7 +98,7 @@ $(function() {

Functions

auto fabomatic::Tasks::arduinoNow () -> const std::chrono::steady_clock::time_point
 
auto fabomatic::Tasks::delay (const milliseconds duration) -> void
 Wait for a delay, allowing OTA updates.
 
diff --git a/classfabomatic_1_1_mock_m_q_t_t_broker.xhtml b/classfabomatic_1_1_mock_m_q_t_t_broker.xhtml index 0883e85a..f100d512 100644 --- a/classfabomatic_1_1_mock_m_q_t_t_broker.xhtml +++ b/classfabomatic_1_1_mock_m_q_t_t_broker.xhtml @@ -311,12 +311,12 @@ Private Attributes
191 return std::string{"{\"request_ok\":true}"};
192 }
static const char *const TAG2
-
auto uid_str(const card::uid_t uid) -> const std::string
Returns a string representation of the UID.
Definition card.hpp:22
+
auto uid_str(const card::uid_t uid) -> const std::string
Returns a string representation of the UID.
Definition card.hpp:23
static constexpr std::string_view mqtt_switch_topic
In case Shelly is used, name of the topic on MQTT Broker.
Definition conf.hpp:157
static constexpr WhiteList whitelist
Static list of whitelisted RFID cards.
Definition secrets.hpp:23
-

References fabomatic::conf::mqtt::mqtt_switch_topic, TAG2, fabomatic::card::uid_str(), fabomatic::FabUser::Unknown, and fabomatic::secrets::cards::whitelist.

+

References fabomatic::conf::mqtt::mqtt_switch_topic, TAG2, fabomatic::card::uid_str(), fabomatic::FabUser::Unknown, and fabomatic::secrets::cards::whitelist.

Here is the call graph for this function:
@@ -769,7 +769,7 @@ Here is the caller graph for this function:
diff --git a/classfabomatic_1_1_mock_mrfc522-members.xhtml b/classfabomatic_1_1_mock_mrfc522-members.xhtml index 9b913896..1af59966 100644 --- a/classfabomatic_1_1_mock_mrfc522-members.xhtml +++ b/classfabomatic_1_1_mock_mrfc522-members.xhtml @@ -95,12 +95,12 @@ $(function() { resetUid() -> voidfabomatic::MockMrfc522 RxGainMaxfabomatic::MockMrfc522static setUid(const std::optional< card::uid_t > &uid, const std::optional< std::chrono::milliseconds > &max_delay) -> voidfabomatic::MockMrfc522 - stop_uid_simulate_timefabomatic::MockMrfc522private + stop_uid_simulate_timefabomatic::MockMrfc522private uidfabomatic::MockMrfc522private diff --git a/classfabomatic_1_1_mock_mrfc522.xhtml b/classfabomatic_1_1_mock_mrfc522.xhtml index 3710a25c..4086080f 100644 --- a/classfabomatic_1_1_mock_mrfc522.xhtml +++ b/classfabomatic_1_1_mock_mrfc522.xhtml @@ -142,8 +142,8 @@ Private Member Functions Private Attributes std::optional< card::uid_tuid {std::nullopt}   -std::optional< std::chrono::time_point< std::chrono::system_clock > > stop_uid_simulate_time {std::nullopt} -  +std::optional< std::chrono::steady_clock::time_point > stop_uid_simulate_time {std::nullopt} + 

Detailed Description

This class implements a Mrfc522 with settable tag ID in order to allow simulation.

@@ -194,27 +194,27 @@ Private Attributes
-

Definition at line 7 of file MockMrfc522.cpp.

-
8 {
-
9 UidDriver retVal{};
-
10 if (getSimulatedUid().has_value())
-
11 {
-
12 retVal.size = sizeof(uid.value());
-
13 const auto arr_uid = card::to_array(uid.value());
-
14 std::copy(arr_uid.begin(), arr_uid.end(), retVal.uidByte.begin());
-
15 retVal.sak = 1;
-
16 }
-
17 return retVal;
-
18 }
+

Definition at line 8 of file MockMrfc522.cpp.

+
9 {
+
10 UidDriver retVal{};
+
11 if (getSimulatedUid().has_value())
+
12 {
+
13 retVal.size = sizeof(uid.value());
+
14 const auto arr_uid = card::to_array(uid.value());
+
15 std::copy(arr_uid.begin(), arr_uid.end(), retVal.uidByte.begin());
+
16 retVal.sak = 1;
+
17 }
+
18 return retVal;
+
19 }
std::optional< card::uid_t > uid
-
std::optional< card::uid_t > getSimulatedUid() const
-
constexpr auto to_array(const uid_t uid) -> const std::array< uint8_t, conf::rfid_tags::UID_BYTE_LEN >
Converts a UID from an array of bytes to a number.
Definition card.hpp:53
+
std::optional< card::uid_t > getSimulatedUid() const
+
constexpr auto to_array(const uid_t uid) -> const std::array< uint8_t, conf::rfid_tags::UID_BYTE_LEN >
Converts a UID from an array of bytes to a number.
Definition card.hpp:54
-

References getSimulatedUid(), fabomatic::MockMrfc522::UidDriver::size, fabomatic::card::to_array(), and uid.

+

References getSimulatedUid(), fabomatic::MockMrfc522::UidDriver::size, fabomatic::card::to_array(), and uid.

Here is the call graph for this function:
-
+
@@ -242,19 +242,25 @@ Here is the call graph for this function:
-

Definition at line 62 of file MockMrfc522.cpp.

-
63 {
-
64 if (stop_uid_simulate_time.has_value() && std::chrono::system_clock::now() > stop_uid_simulate_time.value())
-
65 {
-
66 return std::nullopt;
-
67 }
-
68 return uid;
-
69 }
-
std::optional< std::chrono::time_point< std::chrono::system_clock > > stop_uid_simulate_time
+

Definition at line 63 of file MockMrfc522.cpp.

+
64 {
+ +
66 {
+
67 return std::nullopt;
+
68 }
+
69 return uid;
+
70 }
+
std::optional< std::chrono::steady_clock::time_point > stop_uid_simulate_time
+
auto arduinoNow() -> const std::chrono::steady_clock::time_point
Definition Tasks.hpp:15
-

References stop_uid_simulate_time, and uid.

+

References fabomatic::Tasks::arduinoNow(), stop_uid_simulate_time, and uid.

-

Referenced by getDriverUid().

+

Referenced by getDriverUid().

+
+Here is the call graph for this function:
+
+
+
Here is the caller graph for this function:
@@ -278,8 +284,8 @@ Here is the caller graph for this function:
-

Definition at line 41 of file MockMrfc522.cpp.

-
41{}
+

Definition at line 42 of file MockMrfc522.cpp.

+
42{}
@@ -298,8 +304,8 @@ Here is the caller graph for this function:
-

Definition at line 26 of file MockMrfc522.cpp.

-
26{ return true; }
+

Definition at line 27 of file MockMrfc522.cpp.

+
27{ return true; }
@@ -318,8 +324,8 @@ Here is the caller graph for this function:
-

Definition at line 37 of file MockMrfc522.cpp.

-
37{ return true; }
+

Definition at line 38 of file MockMrfc522.cpp.

+
38{ return true; }
@@ -339,8 +345,8 @@ Here is the caller graph for this function:
-

Definition at line 39 of file MockMrfc522.cpp.

-
39{}
+

Definition at line 40 of file MockMrfc522.cpp.

+
40{}
@@ -359,8 +365,8 @@ Here is the caller graph for this function:
-

Definition at line 20 of file MockMrfc522.cpp.

-
20{ return getSimulatedUid().has_value(); }
+

Definition at line 21 of file MockMrfc522.cpp.

+
21{ return getSimulatedUid().has_value(); }
@@ -379,8 +385,8 @@ Here is the caller graph for this function:
-

Definition at line 22 of file MockMrfc522.cpp.

-
22{ return getSimulatedUid().has_value(); }
+

Definition at line 23 of file MockMrfc522.cpp.

+
23{ return getSimulatedUid().has_value(); }
@@ -410,14 +416,14 @@ Here is the caller graph for this function:
-

Definition at line 28 of file MockMrfc522.cpp.

-
29 {
-
30 if (getSimulatedUid().has_value())
-
31 {
-
32 return true;
-
33 }
-
34 return false;
-
35 }
+

Definition at line 29 of file MockMrfc522.cpp.

+
30 {
+
31 if (getSimulatedUid().has_value())
+
32 {
+
33 return true;
+
34 }
+
35 return false;
+
36 }
@@ -436,8 +442,8 @@ Here is the caller graph for this function:
-

Definition at line 24 of file MockMrfc522.cpp.

-
24{ uid = std::nullopt; }
+

Definition at line 25 of file MockMrfc522.cpp.

+
25{ uid = std::nullopt; }

References uid.

@@ -458,13 +464,13 @@ Here is the caller graph for this function:
-

Definition at line 56 of file MockMrfc522.cpp.

-
57 {
-
58 uid = std::nullopt;
-
59 stop_uid_simulate_time = std::nullopt;
-
60 }
+

Definition at line 57 of file MockMrfc522.cpp.

+
58 {
+
59 uid = std::nullopt;
+
60 stop_uid_simulate_time = std::nullopt;
+
61 }
-

Referenced by fabomatic::tests::simulate_rfid_card().

+

Referenced by fabomatic::tests::simulate_rfid_card().

Here is the caller graph for this function:
@@ -499,20 +505,27 @@ Here is the caller graph for this function:
-

Definition at line 43 of file MockMrfc522.cpp.

-
44 {
-
45 this->uid = uid;
-
46 if (max_delay.has_value())
-
47 {
-
48 stop_uid_simulate_time = std::chrono::system_clock::now() + max_delay.value();
-
49 }
-
50 else
-
51 {
-
52 stop_uid_simulate_time = std::nullopt;
-
53 }
-
54 }
+

Definition at line 44 of file MockMrfc522.cpp.

+
45 {
+
46 this->uid = uid;
+
47 if (max_delay.has_value())
+
48 {
+ +
50 }
+
51 else
+
52 {
+
53 stop_uid_simulate_time = std::nullopt;
+
54 }
+
55 }
-

Referenced by fabomatic::tests::simulate_rfid_card().

+

References fabomatic::Tasks::arduinoNow().

+ +

Referenced by fabomatic::tests::simulate_rfid_card().

+
+Here is the call graph for this function:
+
+
+
Here is the caller graph for this function:
@@ -546,8 +559,8 @@ Here is the caller graph for this function:
- -

◆ stop_uid_simulate_time

+ +

◆ stop_uid_simulate_time

@@ -556,7 +569,7 @@ Here is the caller graph for this function:
- +
std::optional<std::chrono::time_point<std::chrono::system_clock> > fabomatic::MockMrfc522::stop_uid_simulate_time {std::nullopt}std::optional<std::chrono::steady_clock::time_point> fabomatic::MockMrfc522::stop_uid_simulate_time {std::nullopt}
@@ -569,7 +582,7 @@ Here is the caller graph for this function:

Definition at line 22 of file MockMrfc522.hpp.

22{std::nullopt};
-

Referenced by getSimulatedUid().

+

Referenced by getSimulatedUid().

@@ -596,7 +609,7 @@ Here is the caller graph for this function:

Definition at line 21 of file MockMrfc522.hpp.

21{std::nullopt};
-

Referenced by getDriverUid(), getSimulatedUid(), and reset().

+

Referenced by getDriverUid(), getSimulatedUid(), and reset().

@@ -607,7 +620,7 @@ Here is the caller graph for this function: diff --git a/classfabomatic_1_1_mock_mrfc522_a4b795aa73514e7810386f308c08f1411_cgraph.map b/classfabomatic_1_1_mock_mrfc522_a4b795aa73514e7810386f308c08f1411_cgraph.map index 50119808..9c285ec0 100644 --- a/classfabomatic_1_1_mock_mrfc522_a4b795aa73514e7810386f308c08f1411_cgraph.map +++ b/classfabomatic_1_1_mock_mrfc522_a4b795aa73514e7810386f308c08f1411_cgraph.map @@ -2,6 +2,8 @@ - - + + + + diff --git a/classfabomatic_1_1_mock_mrfc522_a4b795aa73514e7810386f308c08f1411_cgraph.md5 b/classfabomatic_1_1_mock_mrfc522_a4b795aa73514e7810386f308c08f1411_cgraph.md5 index 78c9a0c5..64dc4e34 100644 --- a/classfabomatic_1_1_mock_mrfc522_a4b795aa73514e7810386f308c08f1411_cgraph.md5 +++ b/classfabomatic_1_1_mock_mrfc522_a4b795aa73514e7810386f308c08f1411_cgraph.md5 @@ -1 +1 @@ -8ae127ab1e19caee23acade630fba86b \ No newline at end of file +5b2a77275346334f90bab6d950fd4868 \ No newline at end of file diff --git a/classfabomatic_1_1_mock_mrfc522_a4b795aa73514e7810386f308c08f1411_cgraph.svg b/classfabomatic_1_1_mock_mrfc522_a4b795aa73514e7810386f308c08f1411_cgraph.svg index 1a1a1519..eef8007c 100644 --- a/classfabomatic_1_1_mock_mrfc522_a4b795aa73514e7810386f308c08f1411_cgraph.svg +++ b/classfabomatic_1_1_mock_mrfc522_a4b795aa73514e7810386f308c08f1411_cgraph.svg @@ -4,8 +4,8 @@ - + + + + +fabomatic::MockMrfc522::getSimulatedUid + + +Node1 + + +fabomatic::MockMrfc522 +::getSimulatedUid + + + + + +Node2 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node2 + + + + + + + + + + + + + diff --git a/classfabomatic_1_1_mock_mrfc522_a920d2c5f7680ea063bbb2f103696259a_cgraph_org.svg b/classfabomatic_1_1_mock_mrfc522_a920d2c5f7680ea063bbb2f103696259a_cgraph_org.svg new file mode 100644 index 00000000..c4afd1fd --- /dev/null +++ b/classfabomatic_1_1_mock_mrfc522_a920d2c5f7680ea063bbb2f103696259a_cgraph_org.svg @@ -0,0 +1,40 @@ + + + + + + +fabomatic::MockMrfc522::getSimulatedUid + + +Node1 + + +fabomatic::MockMrfc522 +::getSimulatedUid + + + + + +Node2 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node2 + + + + + + + + diff --git a/classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_cgraph.map b/classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_cgraph.map new file mode 100644 index 00000000..654487c9 --- /dev/null +++ b/classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_cgraph.md5 b/classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_cgraph.md5 new file mode 100644 index 00000000..60d27313 --- /dev/null +++ b/classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_cgraph.md5 @@ -0,0 +1 @@ +f12c15ce6ff8e50f7c603b31dcdac4a7 \ No newline at end of file diff --git a/classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_cgraph.svg b/classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_cgraph.svg new file mode 100644 index 00000000..792f1ab0 --- /dev/null +++ b/classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_cgraph.svg @@ -0,0 +1,65 @@ + + + + + + + + + + + +fabomatic::MockMrfc522::setUid + + +Node1 + + +fabomatic::MockMrfc522 +::setUid + + + + + +Node2 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node2 + + + + + + + + + + + + + diff --git a/classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_cgraph_org.svg b/classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_cgraph_org.svg new file mode 100644 index 00000000..ef6351e7 --- /dev/null +++ b/classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_cgraph_org.svg @@ -0,0 +1,40 @@ + + + + + + +fabomatic::MockMrfc522::setUid + + +Node1 + + +fabomatic::MockMrfc522 +::setUid + + + + + +Node2 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node2 + + + + + + + + diff --git a/classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_icgraph.svg b/classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_icgraph.svg index bae0d82d..4ad84c95 100644 --- a/classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_icgraph.svg +++ b/classfabomatic_1_1_mock_mrfc522_aa5243105821375118132fe7a3e5d7ea3_icgraph.svg @@ -48,7 +48,7 @@ diff --git a/classfabomatic_1_1_mrfc522_driver-members.xhtml b/classfabomatic_1_1_mrfc522_driver-members.xhtml index 4b71d42d..bc0e0371 100644 --- a/classfabomatic_1_1_mrfc522_driver-members.xhtml +++ b/classfabomatic_1_1_mrfc522_driver-members.xhtml @@ -99,7 +99,7 @@ $(function() { diff --git a/classfabomatic_1_1_mrfc522_driver.xhtml b/classfabomatic_1_1_mrfc522_driver.xhtml index 94f53c11..02c582ce 100644 --- a/classfabomatic_1_1_mrfc522_driver.xhtml +++ b/classfabomatic_1_1_mrfc522_driver.xhtml @@ -262,7 +262,7 @@ Here is the call graph for this function:
38 delay(50);
39 }
40 }
-
auto delay(const milliseconds duration) -> void
Wait for a delay, allowing OTA updates.
Definition Tasks.cpp:250
+
auto delay(const milliseconds duration) -> void
Wait for a delay, allowing OTA updates.
Definition Tasks.cpp:266

References fabomatic::pins_config::mfrc522, fabomatic::pins, and fabomatic::pins_config::mfrc522_config::reset_pin.

@@ -584,7 +584,7 @@ Here is the call graph for this function: diff --git a/classfabomatic_1_1_r_f_i_d_wrapper-members.xhtml b/classfabomatic_1_1_r_f_i_d_wrapper-members.xhtml index af6472f5..fe8f1966 100644 --- a/classfabomatic_1_1_r_f_i_d_wrapper-members.xhtml +++ b/classfabomatic_1_1_r_f_i_d_wrapper-members.xhtml @@ -100,7 +100,7 @@ $(function() { diff --git a/classfabomatic_1_1_r_f_i_d_wrapper.xhtml b/classfabomatic_1_1_r_f_i_d_wrapper.xhtml index a5a6d7e6..4b41650d 100644 --- a/classfabomatic_1_1_r_f_i_d_wrapper.xhtml +++ b/classfabomatic_1_1_r_f_i_d_wrapper.xhtml @@ -598,7 +598,7 @@ template<typename Driver > diff --git a/classfabomatic_1_1_saved_config-members.xhtml b/classfabomatic_1_1_saved_config-members.xhtml index 6eead42a..97873984 100644 --- a/classfabomatic_1_1_saved_config-members.xhtml +++ b/classfabomatic_1_1_saved_config-members.xhtml @@ -110,7 +110,7 @@ $(function() { diff --git a/classfabomatic_1_1_saved_config.xhtml b/classfabomatic_1_1_saved_config.xhtml index b79381d6..a1e899dd 100644 --- a/classfabomatic_1_1_saved_config.xhtml +++ b/classfabomatic_1_1_saved_config.xhtml @@ -284,7 +284,7 @@ Static Private Attributes

References disablePortal, fabomatic::conf::default_config::machine_id, magic_number, fabomatic::secrets::credentials::mqtt_password, mqtt_password, fabomatic::conf::mqtt::mqtt_server, mqtt_server, fabomatic::conf::mqtt::mqtt_switch_topic, mqtt_switch_topic, fabomatic::secrets::credentials::mqtt_user, mqtt_user, fabomatic::secrets::credentials::password, password, setMachineID(), fabomatic::secrets::credentials::ssid, and ssid.

-

Referenced by fabomatic::getConfig(), fabomatic::BoardLogic::reconfigure(), fabomatic::FabBackend::saveBuffer(), fabomatic::AuthProvider::saveCache(), setup(), setUp(), fabomatic::tests::test_defaults(), fabomatic::tests::test_fabserver_calls(), and fabomatic::tests::test_rfid_cache().

+

Referenced by fabomatic::getConfig(), fabomatic::BoardLogic::reconfigure(), fabomatic::FabBackend::saveBuffer(), fabomatic::AuthProvider::saveCache(), setup(), setUp(), fabomatic::tests::test_defaults(), fabomatic::tests::test_fabserver_calls(), and fabomatic::tests::test_rfid_cache().

Here is the call graph for this function:
@@ -383,14 +383,14 @@ Here is the caller graph for this function:
168
169 return config;
170 }
-
static const char *const TAG
Definition Logging.hpp:6
-
static auto fromJsonElement(const JsonObject &json_obj) -> std::optional< Buffer >
-
static constexpr uid_t INVALID
Definition card.hpp:15
+
static const char *const TAG
Definition Logging.hpp:9
+
static auto fromJsonElement(const JsonObject &json_obj) -> std::optional< Buffer >
+
static constexpr uid_t INVALID
Definition card.hpp:16
static constexpr uint8_t CACHE_LEN
Number of cached UID, persisted in flash.
Definition conf.hpp:37
-

References bootCount, fabomatic::conf::rfid_tags::CACHE_LEN, cachedRfid, disablePortal, fabomatic::Buffer::fromJsonElement(), fabomatic::card::INVALID, machine_id, magic_number, message_buffer, mqtt_password, mqtt_server, mqtt_switch_topic, mqtt_user, password, fabomatic::CachedCards::set_at(), ssid, TAG, and fabomatic::FabUser::Unknown.

+

References bootCount, fabomatic::conf::rfid_tags::CACHE_LEN, cachedRfid, disablePortal, fabomatic::Buffer::fromJsonElement(), fabomatic::card::INVALID, machine_id, magic_number, message_buffer, mqtt_password, mqtt_server, mqtt_switch_topic, mqtt_user, password, fabomatic::CachedCards::set_at(), ssid, TAG, and fabomatic::FabUser::Unknown.

Here is the call graph for this function:
@@ -465,7 +465,7 @@ Here is the call graph for this function:
static auto DefaultConfig() -> SavedConfig
Returns the default configuration built from conf.hpp and secrets.hpp.
static auto LoadFromEEPROM() -> std::optional< SavedConfig >
Loads the configuration from EEPROM if available and matching revision number.
-

References TAG.

+

References TAG.

Referenced by setup().

@@ -542,9 +542,9 @@ Here is the caller graph for this function:
static constexpr auto JSON_DOC_SIZE
static std::string json_buffer
-

References buffer_mutex, json_buffer, and TAG.

+

References buffer_mutex, json_buffer, and TAG.

-

Referenced by fabomatic::getConfig(), fabomatic::AuthProvider::loadCache(), fabomatic::BoardLogic::reconfigure(), fabomatic::FabBackend::saveBuffer(), fabomatic::AuthProvider::saveCache(), setup(), setUp(), fabomatic::tests::test_changes(), fabomatic::tests::test_defaults(), fabomatic::tests::test_fabserver_calls(), fabomatic::tests::test_magic_number(), fabomatic::tests::test_messages_buffered(), fabomatic::tests::test_rfid_cache(), and fabomatic::tests::test_start_broker().

+

Referenced by fabomatic::getConfig(), fabomatic::AuthProvider::loadCache(), fabomatic::BoardLogic::reconfigure(), fabomatic::FabBackend::saveBuffer(), fabomatic::AuthProvider::saveCache(), setup(), setUp(), fabomatic::tests::test_changes(), fabomatic::tests::test_defaults(), fabomatic::tests::test_fabserver_calls(), fabomatic::tests::test_magic_number(), fabomatic::tests::test_messages_buffered(), fabomatic::tests::test_rfid_cache(), and fabomatic::tests::test_start_broker().

Here is the caller graph for this function:
@@ -611,9 +611,9 @@ Here is the caller graph for this function:
209 }
auto toJsonDocument() const -> JsonDocument
Serialize the current configuration into a JsonDocument.
-

References buffer_mutex, json_buffer, JSON_DOC_SIZE, TAG, and toJsonDocument().

+

References buffer_mutex, json_buffer, JSON_DOC_SIZE, TAG, and toJsonDocument().

-

Referenced by fabomatic::AuthProvider::saveCache(), setup(), and fabomatic::tests::test_changes().

+

Referenced by fabomatic::AuthProvider::saveCache(), setup(), and fabomatic::tests::test_changes().

Here is the call graph for this function:
@@ -715,7 +715,7 @@ Here is the caller graph for this function:
115
116 return doc;
117 }
-
auto toJson(JsonDocument &doc, const std::string &element_name) const -> void
+
auto toJson(JsonDocument &doc, const std::string &element_name) const -> void
std::string mqtt_switch_topic
MQTT topic for mqtt switch (if available)
size_t bootCount
number of boot cycles
@@ -727,9 +727,9 @@ Here is the caller graph for this function:
std::string password
WiFi password.
std::string ssid
WiFi SSID.
-
constexpr auto size() const -> size_t
+
constexpr auto size() const -> size_t
-

References bootCount, cachedRfid, disablePortal, machine_id, MAGIC_NUMBER, magic_number, message_buffer, mqtt_password, mqtt_server, mqtt_switch_topic, mqtt_user, password, fabomatic::CachedCards::size(), ssid, and fabomatic::Buffer::toJson().

+

References bootCount, cachedRfid, disablePortal, machine_id, MAGIC_NUMBER, magic_number, message_buffer, mqtt_password, mqtt_server, mqtt_switch_topic, mqtt_user, password, fabomatic::CachedCards::size(), ssid, and fabomatic::Buffer::toJson().

Referenced by SaveToEEPROM(), and toString().

@@ -1146,7 +1146,7 @@ Here is the call graph for this function:
diff --git a/classfabomatic_1_1_tasks_1_1_scheduler-members.xhtml b/classfabomatic_1_1_tasks_1_1_scheduler-members.xhtml index cf00d241..654285a2 100644 --- a/classfabomatic_1_1_tasks_1_1_scheduler-members.xhtml +++ b/classfabomatic_1_1_tasks_1_1_scheduler-members.xhtml @@ -81,18 +81,19 @@ $(function() {

This is the complete list of members for fabomatic::Tasks::Scheduler, including all inherited members.

- - - + + + - - - - + + + + +
addTask(Task &task) -> voidfabomatic::Tasks::Scheduler
execute() const -> voidfabomatic::Tasks::Scheduler
getTasks() const -> const std::vector< std::reference_wrapper< Task > >fabomatic::Tasks::Scheduler
addTask(Task *task) -> voidfabomatic::Tasks::Scheduler
execute() -> voidfabomatic::Tasks::Scheduler
getTasks() const -> const std::vector< Task * >fabomatic::Tasks::Scheduler
printStats() const -> voidfabomatic::Tasks::Schedulerprivate
removeTask(const Task &task) -> voidfabomatic::Tasks::Scheduler
taskCount() const -> size_tfabomatic::Tasks::Scheduler
tasksfabomatic::Tasks::Schedulerprivate
updateSchedules() const -> voidfabomatic::Tasks::Scheduler
removeTask(const Task *task) -> voidfabomatic::Tasks::Scheduler
Scheduler()fabomatic::Tasks::Schedulerinline
taskCount() const -> size_tfabomatic::Tasks::Scheduler
tasksfabomatic::Tasks::Schedulerprivate
updateSchedules() const -> voidfabomatic::Tasks::Scheduler
diff --git a/classfabomatic_1_1_tasks_1_1_scheduler.xhtml b/classfabomatic_1_1_tasks_1_1_scheduler.xhtml index c0f768cd..dd5ee915 100644 --- a/classfabomatic_1_1_tasks_1_1_scheduler.xhtml +++ b/classfabomatic_1_1_tasks_1_1_scheduler.xhtml @@ -91,27 +91,29 @@ $(function() {
Collaboration diagram for fabomatic::Tasks::Scheduler:
-
+
- - - - - - - + + + + + + + + + - - - + + +

Public Member Functions

auto addTask (Task &task) -> void
 
auto removeTask (const Task &task) -> void
 
auto execute () const -> void
 Execute all tasks that are ready to run.
 
constexpr Scheduler ()
 
auto addTask (Task *task) -> void
 
auto removeTask (const Task *task) -> void
 
auto execute () -> void
 Execute all tasks that are ready to run.
 
auto updateSchedules () const -> void
 Recompute all the next run times for all the tasks.
 
auto taskCount () const -> size_t
 Gets the number of tasks in the scheduler.
 
auto getTasks () const -> const std::vector< std::reference_wrapper< Task > >
 Get a vector of references to the tasks.
 
auto getTasks () const -> const std::vector< Task * >
 Get a copy vector of task pointers.
 
@@ -120,16 +122,45 @@ Private Member Functions

Private Member Functions

- - + +

Private Attributes

std::vector< std::reference_wrapper< Task > > tasks
 
std::vector< Task * > tasks
 

Detailed Description

The schedule is in charge of running tasks in the right order based on their requested intervals.

-

Definition at line 106 of file Tasks.hpp.

-

Member Function Documentation

- -

◆ addTask()

+

Definition at line 114 of file Tasks.hpp.

+

Constructor & Destructor Documentation

+ +

◆ Scheduler()

+ +
+
+ + + + + +
+ + + + + + + +
constexpr fabomatic::Tasks::Scheduler::Scheduler ()
+
+inlineconstexpr
+
+ +

Definition at line 117 of file Tasks.hpp.

+
117{};
+
+
+
+

Member Function Documentation

+ +

◆ addTask()

@@ -137,30 +168,31 @@ Private Attributes auto fabomatic::Tasks::Scheduler::addTask ( - Task &  + Tasktask) -> void
-

Definition at line 17 of file Tasks.cpp.

-
18 {
-
19 tasks.push_back(task);
-
20 }
-
std::vector< std::reference_wrapper< Task > > tasks
Definition Tasks.hpp:126
+

Definition at line 18 of file Tasks.cpp.

+
19 {
+
20 if (task != nullptr)
+
21 tasks.push_back(task);
+
22 }
+
std::vector< Task * > tasks
Definition Tasks.hpp:135
-

Referenced by fabomatic::Tasks::Task::Task().

+

Referenced by fabomatic::Tasks::Task::Task().

Here is the caller graph for this function:
-
+
- -

◆ execute()

+ +

◆ execute()

@@ -169,7 +201,7 @@ Here is the caller graph for this function:
auto fabomatic::Tasks::Scheduler::execute ( ) - const -> void + -> void
@@ -177,54 +209,49 @@ Here is the caller graph for this function:

Execute all tasks that are ready to run.

Tasks will be ordered by next_run time ascending, then run sequentially

-

Definition at line 81 of file Tasks.cpp.

-
82 {
-
83 // Need a copy to mutate the order
-
84 std::vector mutableTasks(tasks.begin(), tasks.end());
-
85
-
86 // Tasks shall be run in order of expiration (the most expired task shall run first)
-
87 std::sort(mutableTasks.begin(), mutableTasks.end(), [](const Task &a, const Task &b)
-
88 { return a.getNextRun() < b.getNextRun(); });
-
89
-
90 // Now iterate over the sorted tasks to run the tasks
-
91 for (const auto &it : mutableTasks)
-
92 {
-
93 it.get().run();
-
94 }
-
95
-
96 if (conf::debug::ENABLE_TASK_LOGS && millis() % 1024 == 0)
-
97 {
-
98 printStats();
-
99 }
-
100#if (PINS_WOKWI)
-
101 else
-
102 {
-
103 ::delay(5); // Wokwi simulation is sometimes slow and this helps to catch-up
-
104 }
-
105#endif
-
106 }
-
auto printStats() const -> void
Definition Tasks.cpp:38
-
auto delay(const milliseconds duration) -> void
Wait for a delay, allowing OTA updates.
Definition Tasks.cpp:250
+

Definition at line 83 of file Tasks.cpp.

+
84 {
+
85 std::sort(tasks.begin(), tasks.end(), [](const auto &x, const auto &y)
+
86 { return x->getNextRun() < y->getNextRun(); });
+
87
+
88 for (const auto &t : tasks)
+
89 {
+
90 t->run();
+
91 }
+
92
+
93 if (conf::debug::ENABLE_TASK_LOGS && millis() % 1024 == 0)
+
94 {
+
95 printStats();
+
96 }
+
97#if (PINS_WOKWI)
+
98 else
+
99 {
+
100 ::delay(5); // Wokwi simulation is sometimes slow and this helps to catch-up
+
101 }
+
102#endif
+
103 }
+
auto printStats() const -> void
Definition Tasks.cpp:40
+
auto delay(const milliseconds duration) -> void
Wait for a delay, allowing OTA updates.
Definition Tasks.cpp:266
static constexpr bool ENABLE_TASK_LOGS
True to add many logs regarding tasks scheduling and statistics.
Definition conf.hpp:82
-

References fabomatic::Tasks::delay(), fabomatic::conf::debug::ENABLE_TASK_LOGS, printStats(), and tasks.

+

References fabomatic::Tasks::delay(), and fabomatic::conf::debug::ENABLE_TASK_LOGS.

-

Referenced by loop(), and fabomatic::tests::test_normal_use().

+

Referenced by loop(), and fabomatic::tests::test_normal_use().

Here is the call graph for this function:
-
+
Here is the caller graph for this function:
-
+
- -

◆ getTasks()

+ +

◆ getTasks()

@@ -233,25 +260,25 @@ Here is the caller graph for this function:
auto fabomatic::Tasks::Scheduler::getTasks ( ) - const -> const std::vector<std::reference_wrapper<Task>> + const -> const std::vector<Task *>
-

Get a vector of references to the tasks.

+

Get a copy vector of task pointers.

-

Definition at line 113 of file Tasks.cpp.

-
114 {
-
115 return {tasks};
-
116 }
+

Definition at line 110 of file Tasks.cpp.

+
111 {
+
112 return {tasks};
+
113 }
-

References tasks.

+

References tasks.

-

Referenced by fabomatic::tests::test_normal_use().

+

Referenced by fabomatic::tests::test_normal_use().

Here is the caller graph for this function:
-
+
@@ -279,64 +306,57 @@ Here is the caller graph for this function:
-

Definition at line 38 of file Tasks.cpp.

-
39 {
-
40 milliseconds avg_delay = 0ms;
-
41 auto nb_runs = 0;
-
42
-
43 for (const auto &task : tasks)
-
44 {
-
45 avg_delay += task.get().getAvgTardiness() * task.get().getRunCounter();
-
46 nb_runs += task.get().getRunCounter();
-
47 }
-
48 if (nb_runs > 0)
-
49 {
-
50 avg_delay /= nb_runs;
-
51 }
-
52
-
53 ESP_LOGD(TAG, "Scheduler::execute complete: %d tasks total, %d runs, avg delay/run: %llu ms\r\n", tasks.size(), nb_runs, avg_delay.count());
+

Definition at line 40 of file Tasks.cpp.

+
41 {
+
42 milliseconds avg_delay = 0ms;
+
43 auto nb_runs = 0;
+
44
+
45 for (const auto &task : tasks)
+
46 {
+
47 avg_delay += task->getAvgTardiness() * task->getRunCounter();
+
48 nb_runs += task->getRunCounter();
+
49 }
+
50 if (nb_runs > 0)
+
51 {
+
52 avg_delay /= nb_runs;
+
53 }
54
-
55 for (const auto &task : tasks)
-
56 {
-
57 if (task.get().isActive())
-
58 {
-
59 if (task.get().getRunCounter() > 0)
-
60 {
-
61 ESP_LOGD(TAG, "\t Task: %s, %lu runs, avg tardiness/run: %llu ms, period %llu ms, delay %llu ms, average task duration %llu ms\r\n",
-
62 task.get().getId().c_str(), task.get().getRunCounter(),
-
63 task.get().getAvgTardiness().count(), task.get().getPeriod().count(),
-
64 task.get().getDelay().count(),
-
65 task.get().getTotalRuntime().count() / task.get().getRunCounter());
-
66 }
-
67 else
-
68 {
-
69 ESP_LOGD(TAG, "\t Task: %s, never ran, period %llu ms, delay %llu ms\r\n",
-
70 task.get().getId().c_str(), task.get().getPeriod().count(),
-
71 task.get().getDelay().count());
-
72 }
-
73 }
-
74 else
-
75 {
-
76 ESP_LOGD(TAG, "\t Task: %s, inactive\r\n", task.get().getId().c_str());
-
77 }
-
78 }
-
79 }
-
static const char *const TAG
Definition Logging.hpp:6
-
std::chrono::milliseconds milliseconds
Definition Tasks.cpp:13
+
55 ESP_LOGD(TAG, "Scheduler::execute complete: %d tasks total, %d runs, avg delay/run: %llu ms\r\n", tasks.size(), nb_runs, avg_delay.count());
+
56
+
57 for (const auto &task : tasks)
+
58 {
+
59 if (task->isActive())
+
60 {
+
61 if (task->getRunCounter() > 0)
+
62 {
+
63 ESP_LOGD(TAG, "\t Task: %s, %lu runs, avg tardiness/run: %llu ms, period %llu ms, delay %llu ms, average task duration %llu ms\r\n",
+
64 task->getId().c_str(), task->getRunCounter(),
+
65 task->getAvgTardiness().count(), task->getPeriod().count(),
+
66 task->getDelay().count(),
+
67 task->getTotalRuntime().count() / task->getRunCounter());
+
68 }
+
69 else
+
70 {
+
71 ESP_LOGD(TAG, "\t Task: %s, never ran, period %llu ms, delay %llu ms\r\n",
+
72 task->getId().c_str(), task->getPeriod().count(),
+
73 task->getDelay().count());
+
74 }
+
75 }
+
76 else
+
77 {
+
78 ESP_LOGD(TAG, "\t Task: %s, inactive\r\n", task->getId().c_str());
+
79 }
+
80 }
+
81 }
+
static const char *const TAG
Definition Logging.hpp:9
+
std::chrono::milliseconds milliseconds
Definition Tasks.cpp:14
-

References TAG, and tasks.

- -

Referenced by execute().

-
-Here is the caller graph for this function:
-
-
-
+

References TAG, and tasks.

- -

◆ removeTask()

+ +

◆ removeTask()

@@ -344,26 +364,26 @@ Here is the caller graph for this function:
auto fabomatic::Tasks::Scheduler::removeTask ( - const Task &  + const Tasktask) -> void
-

Definition at line 22 of file Tasks.cpp.

-
23 {
-
24 tasks.erase(std::remove_if(tasks.begin(), tasks.end(),
-
25 [&task](const auto &t)
-
26 { return t.get().getId() == task.getId(); }),
-
27 tasks.end());
-
28 }
+

Definition at line 24 of file Tasks.cpp.

+
25 {
+
26 tasks.erase(std::remove_if(tasks.begin(), tasks.end(),
+
27 [&task](const auto &t)
+
28 { return t->getId() == task->getId(); }),
+
29 tasks.end());
+
30 }

Referenced by fabomatic::tests::delete_tasks().

Here is the caller graph for this function:
-
+
@@ -385,14 +405,14 @@ Here is the caller graph for this function:

Gets the number of tasks in the scheduler.

-

Definition at line 108 of file Tasks.cpp.

-
109 {
-
110 return tasks.size();
-
111 }
+

Definition at line 105 of file Tasks.cpp.

+
106 {
+
107 return tasks.size();
+
108 }
-

References tasks.

+

References tasks.

-

Referenced by fabomatic::tests::test_execute_runs_all_tasks(), fabomatic::tests::test_normal_use(), and fabomatic::tests::test_stop_start_tasks().

+

Referenced by fabomatic::tests::test_execute_runs_all_tasks(), fabomatic::tests::test_normal_use(), and fabomatic::tests::test_stop_start_tasks().

Here is the caller graph for this function:
@@ -418,33 +438,33 @@ Here is the caller graph for this function:

Recompute all the next run times for all the tasks.

-

Definition at line 30 of file Tasks.cpp.

-
31 {
-
32 for (const auto &task : tasks)
-
33 {
-
34 task.get().updateSchedule();
-
35 }
-
36 }
+

Definition at line 32 of file Tasks.cpp.

+
33 {
+
34 for (const auto &task : tasks)
+
35 {
+
36 task->updateSchedule();
+
37 }
+
38 }
-

References tasks, and fabomatic::Tasks::Task::updateSchedule().

+

References tasks, and fabomatic::Tasks::Task::updateSchedule().

-

Referenced by setup(), and fabomatic::tests::test_normal_use().

+

Referenced by setup(), fabomatic::tests::test_execute_runs_all_tasks(), and fabomatic::tests::test_normal_use().

Here is the call graph for this function:
-
+
Here is the caller graph for this function:
-
+

Member Data Documentation

- -

◆ tasks

+ +

◆ tasks

@@ -453,7 +473,7 @@ Here is the caller graph for this function:
- +
std::vector<std::reference_wrapper<Task> > fabomatic::Tasks::Scheduler::tasksstd::vector<Task *> fabomatic::Tasks::Scheduler::tasks
@@ -463,9 +483,9 @@ Here is the caller graph for this function:
-

Definition at line 126 of file Tasks.hpp.

+

Definition at line 135 of file Tasks.hpp.

-

Referenced by execute(), getTasks(), printStats(), taskCount(), and updateSchedules().

+

Referenced by getTasks(), printStats(), taskCount(), and updateSchedules().

@@ -476,7 +496,7 @@ Here is the caller graph for this function: diff --git a/classfabomatic_1_1_tasks_1_1_scheduler__coll__graph.map b/classfabomatic_1_1_tasks_1_1_scheduler__coll__graph.map index 59369af3..acbfc5db 100644 --- a/classfabomatic_1_1_tasks_1_1_scheduler__coll__graph.map +++ b/classfabomatic_1_1_tasks_1_1_scheduler__coll__graph.map @@ -1,7 +1,7 @@ - - - + + + - + diff --git a/classfabomatic_1_1_tasks_1_1_scheduler__coll__graph.md5 b/classfabomatic_1_1_tasks_1_1_scheduler__coll__graph.md5 index 5b3d7dc2..38d46872 100644 --- a/classfabomatic_1_1_tasks_1_1_scheduler__coll__graph.md5 +++ b/classfabomatic_1_1_tasks_1_1_scheduler__coll__graph.md5 @@ -1 +1 @@ -6c5838f13454642635be788f6e63d41a \ No newline at end of file +a3f69800a362c540aa8be864c8bfbe4d \ No newline at end of file diff --git a/classfabomatic_1_1_tasks_1_1_scheduler__coll__graph.svg b/classfabomatic_1_1_tasks_1_1_scheduler__coll__graph.svg index a9b4c46f..e526075e 100644 --- a/classfabomatic_1_1_tasks_1_1_scheduler__coll__graph.svg +++ b/classfabomatic_1_1_tasks_1_1_scheduler__coll__graph.svg @@ -4,8 +4,8 @@ - + - + fabomatic::Tasks::Scheduler Node1 - -fabomatic::Tasks::Scheduler -  + +fabomatic::Tasks::Scheduler +  ++ +Scheduler() + addTask() + @@ -39,9 +41,9 @@ getTasks() - printStats() + - - + @@ -49,15 +51,14 @@ Node2 - -std::vector< std::reference -_wrapper< fabomatic::Tasks -::Task > > + +std::vector< fabomatic +::Tasks::Task * > +    -  - - - + + + @@ -65,23 +66,23 @@ Node2->Node1 - - + + - -tasks + -tasks Node3 - -std::vector< T > -  -  - - - + +std::vector< T > +  +  + + + @@ -89,12 +90,12 @@ Node3->Node2 - - + + - < std::reference_wrapper -< fabomatic::Tasks::Task > > + < fabomatic::Tasks +::Task * > diff --git a/classfabomatic_1_1_tasks_1_1_scheduler__coll__graph_org.svg b/classfabomatic_1_1_tasks_1_1_scheduler__coll__graph_org.svg index 724a41be..b9786cb0 100644 --- a/classfabomatic_1_1_tasks_1_1_scheduler__coll__graph_org.svg +++ b/classfabomatic_1_1_tasks_1_1_scheduler__coll__graph_org.svg @@ -4,17 +4,19 @@ - - + + fabomatic::Tasks::Scheduler Node1 - -fabomatic::Tasks::Scheduler -  + +fabomatic::Tasks::Scheduler +  ++ +Scheduler() + addTask() + @@ -29,9 +31,9 @@ getTasks() - printStats() + - - + @@ -39,15 +41,14 @@ Node2 - -std::vector< std::reference -_wrapper< fabomatic::Tasks -::Task > > + +std::vector< fabomatic +::Tasks::Task * > +    -  - - - + + + @@ -55,23 +56,23 @@ Node2->Node1 - - + + - -tasks + -tasks Node3 - -std::vector< T > -  -  - - - + +std::vector< T > +  +  + + + @@ -79,12 +80,12 @@ Node3->Node2 - - + + - < std::reference_wrapper -< fabomatic::Tasks::Task > > + < fabomatic::Tasks +::Task * > diff --git a/classfabomatic_1_1_tasks_1_1_scheduler_a0619cf06b6427ba332296ffcceffcb8c_icgraph.map b/classfabomatic_1_1_tasks_1_1_scheduler_a0619cf06b6427ba332296ffcceffcb8c_icgraph.map deleted file mode 100644 index 1d311ecb..00000000 --- a/classfabomatic_1_1_tasks_1_1_scheduler_a0619cf06b6427ba332296ffcceffcb8c_icgraph.map +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/classfabomatic_1_1_tasks_1_1_scheduler_a0619cf06b6427ba332296ffcceffcb8c_icgraph.md5 b/classfabomatic_1_1_tasks_1_1_scheduler_a0619cf06b6427ba332296ffcceffcb8c_icgraph.md5 deleted file mode 100644 index 9a78ce3a..00000000 --- a/classfabomatic_1_1_tasks_1_1_scheduler_a0619cf06b6427ba332296ffcceffcb8c_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -9875902627c12fdeef38c5dd16ac5bc1 \ No newline at end of file diff --git a/classfabomatic_1_1_tasks_1_1_scheduler_a0619cf06b6427ba332296ffcceffcb8c_icgraph.svg b/classfabomatic_1_1_tasks_1_1_scheduler_a0619cf06b6427ba332296ffcceffcb8c_icgraph.svg deleted file mode 100644 index 7a76bc0f..00000000 --- a/classfabomatic_1_1_tasks_1_1_scheduler_a0619cf06b6427ba332296ffcceffcb8c_icgraph.svg +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -fabomatic::Tasks::Scheduler::printStats - - -Node1 - - -fabomatic::Tasks::Scheduler -::printStats - - - - - -Node2 - - -fabomatic::Tasks::Scheduler -::execute - - - - - -Node1->Node2 - - - - - - - - -Node3 - - -loop - - - - - -Node2->Node3 - - - - - - - - -Node4 - - -fabomatic::tests::test -_normal_use - - - - - -Node2->Node4 - - - - - - - - -Node5 - - -setup - - - - - -Node4->Node5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/classfabomatic_1_1_tasks_1_1_scheduler_a0619cf06b6427ba332296ffcceffcb8c_icgraph_org.svg b/classfabomatic_1_1_tasks_1_1_scheduler_a0619cf06b6427ba332296ffcceffcb8c_icgraph_org.svg deleted file mode 100644 index c75b0309..00000000 --- a/classfabomatic_1_1_tasks_1_1_scheduler_a0619cf06b6427ba332296ffcceffcb8c_icgraph_org.svg +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - -fabomatic::Tasks::Scheduler::printStats - - -Node1 - - -fabomatic::Tasks::Scheduler -::printStats - - - - - -Node2 - - -fabomatic::Tasks::Scheduler -::execute - - - - - -Node1->Node2 - - - - - - - - -Node3 - - -loop - - - - - -Node2->Node3 - - - - - - - - -Node4 - - -fabomatic::tests::test -_normal_use - - - - - -Node2->Node4 - - - - - - - - -Node5 - - -setup - - - - - -Node4->Node5 - - - - - - - - diff --git a/classfabomatic_1_1_tasks_1_1_scheduler_a2acce29901dbfd56a0f49beb277e3e76_cgraph.map b/classfabomatic_1_1_tasks_1_1_scheduler_a2acce29901dbfd56a0f49beb277e3e76_cgraph.map index a556575a..6fc07731 100644 --- a/classfabomatic_1_1_tasks_1_1_scheduler_a2acce29901dbfd56a0f49beb277e3e76_cgraph.map +++ b/classfabomatic_1_1_tasks_1_1_scheduler_a2acce29901dbfd56a0f49beb277e3e76_cgraph.map @@ -1,8 +1,11 @@ - - - - - - + + + + + + + + + diff --git a/classfabomatic_1_1_tasks_1_1_scheduler_a2acce29901dbfd56a0f49beb277e3e76_cgraph.md5 b/classfabomatic_1_1_tasks_1_1_scheduler_a2acce29901dbfd56a0f49beb277e3e76_cgraph.md5 index 0139bd60..a2a1be6d 100644 --- a/classfabomatic_1_1_tasks_1_1_scheduler_a2acce29901dbfd56a0f49beb277e3e76_cgraph.md5 +++ b/classfabomatic_1_1_tasks_1_1_scheduler_a2acce29901dbfd56a0f49beb277e3e76_cgraph.md5 @@ -1 +1 @@ -32b484c189734dc86804ba061c509c13 \ No newline at end of file +4ea5836a52dfc01988c03fd019e86369 \ No newline at end of file diff --git a/classfabomatic_1_1_tasks_1_1_scheduler_a2acce29901dbfd56a0f49beb277e3e76_cgraph.svg b/classfabomatic_1_1_tasks_1_1_scheduler_a2acce29901dbfd56a0f49beb277e3e76_cgraph.svg index a2fc8d82..a32cab1e 100644 --- a/classfabomatic_1_1_tasks_1_1_scheduler_a2acce29901dbfd56a0f49beb277e3e76_cgraph.svg +++ b/classfabomatic_1_1_tasks_1_1_scheduler_a2acce29901dbfd56a0f49beb277e3e76_cgraph.svg @@ -4,8 +4,7 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + fabomatic::Tasks::Scheduler::updateSchedules Node1 - -fabomatic::Tasks::Scheduler -::updateSchedules + +fabomatic::Tasks::Scheduler +::updateSchedules @@ -32,9 +68,9 @@ Node2 - -fabomatic::Tasks::Task -::updateSchedule + +fabomatic::Tasks::Task +::updateSchedule @@ -42,17 +78,17 @@ Node1->Node2 - - + + Node3 - - -fabomatic::Tasks::delay + + +fabomatic::Tasks::arduinoNow @@ -60,22 +96,70 @@ Node2->Node3 - - + + + + + + + +Node4 + + +fabomatic::Tasks::delay + + + + + +Node2->Node4 + + + + + + + + +Node4->Node3 + + + - - -Node3->Node3 - - - + + +Node4->Node4 + + + + + + + + + + + + + + + + + + + + + private disable() -> voidfabomatic::Tasks::Task enable() -> voidfabomatic::Tasks::Task - getAvgTardiness() const -> millisecondsfabomatic::Tasks::Task + getAvgTardiness() const -> const millisecondsfabomatic::Tasks::Task getCallback() const -> std::function< void()>fabomatic::Tasks::Task - getDelay() const -> millisecondsfabomatic::Tasks::Task + getDelay() const -> const millisecondsfabomatic::Tasks::Task getId() const -> const std::stringfabomatic::Tasks::Task - getNextRun() const -> time_point_scfabomatic::Tasks::Task - getPeriod() const -> millisecondsfabomatic::Tasks::Task + getNextRun() const -> const std::chrono::steady_clock::time_pointfabomatic::Tasks::Task + getPeriod() const -> const millisecondsfabomatic::Tasks::Task getRunCounter() const -> unsigned longfabomatic::Tasks::Task - getTotalRuntime() const -> millisecondsfabomatic::Tasks::Task + getTotalRuntime() const -> const millisecondsfabomatic::Tasks::Task idfabomatic::Tasks::Taskprivate isActive() const -> boolfabomatic::Tasks::Task - last_runfabomatic::Tasks::Taskprivate - next_runfabomatic::Tasks::Taskprivate + last_runfabomatic::Tasks::Taskprivate + next_runfabomatic::Tasks::Taskprivate operator=(const Task &other)=defaultfabomatic::Tasks::Task operator=(Task &&other)=defaultfabomatic::Tasks::Task periodfabomatic::Tasks::Taskprivate @@ -111,13 +111,14 @@ $(function() { Task(const std::string &id, milliseconds period, std::function< void()> callback, Scheduler &scheduler, bool active=true, milliseconds delay=0ms)fabomatic::Tasks::Task Task(const Task &other)=defaultfabomatic::Tasks::Task Task(Task &&other)=defaultfabomatic::Tasks::Task - total_runtimefabomatic::Tasks::Taskprivate - updateSchedule() -> voidfabomatic::Tasks::Task - ~Task()=defaultfabomatic::Tasks::Task + toString() const -> const std::stringfabomatic::Tasks::Task + total_runtimefabomatic::Tasks::Taskprivate + updateSchedule() -> voidfabomatic::Tasks::Task + ~Task()=defaultfabomatic::Tasks::Task diff --git a/classfabomatic_1_1_tasks_1_1_task.xhtml b/classfabomatic_1_1_tasks_1_1_task.xhtml index 7fb8e15f..51c4c58b 100644 --- a/classfabomatic_1_1_tasks_1_1_task.xhtml +++ b/classfabomatic_1_1_tasks_1_1_task.xhtml @@ -134,30 +134,32 @@ Public Member Functions auto isActive () const -> bool  Status of the task.
  -auto getPeriod () const -> milliseconds - Current period of the task.
-  +auto getPeriod () const -> const milliseconds + Current period of the task.
+  auto getCallback () const -> std::function< void()>  Function to be called when task is run.
  auto getId () const -> const std::string  Get the Task Identifier.
  -auto getDelay () const -> milliseconds - Get the initial delay before the task is run at given period.
-  -auto getAvgTardiness () const -> milliseconds - Get the average tardiness, i.e. the average period between scheduled start and actual start of execution.
-  +auto getDelay () const -> const milliseconds + Get the initial delay before the task is run at given period.
+  +auto getAvgTardiness () const -> const milliseconds + Get the average tardiness, i.e. the average period between scheduled start and actual start of execution.
+  auto getRunCounter () const -> unsigned long  Gets the number of times the task has been run.
  -auto getTotalRuntime () const -> milliseconds - Gets the total execution time of the task. Useful to spot slowest tasks.
-  -auto getNextRun () const -> time_point_sc - When shall the task be run again.
-  +auto getTotalRuntime () const -> const milliseconds + Gets the total execution time of the task. Useful to spot slowest tasks.
+  +auto getNextRun () const -> const std::chrono::steady_clock::time_point + When shall the task be run again.
+  +auto toString () const -> const std::string +  @@ -169,10 +171,10 @@ Private Attributes - - - - + + + + @@ -185,7 +187,7 @@ Private Attributes

Detailed Description

A task class which represents a function to be called at requested intervals.

-

Definition at line 17 of file Tasks.hpp.

+

Definition at line 23 of file Tasks.hpp.

Constructor & Destructor Documentation

◆ Task() [1/4]

@@ -281,33 +283,41 @@ Private Attributes -

Definition at line 125 of file Tasks.cpp.

-
127 : active{active}, id{id},
- -
129 last_run{std::chrono::system_clock::now() + delay},
- - - -
133 {
-
134 scheduler.addTask(std::ref(*this));
-
135 }
-
auto addTask(Task &task) -> void
Definition Tasks.cpp:17
-
milliseconds total_runtime
Definition Tasks.hpp:100
- -
milliseconds average_tardiness
Definition Tasks.hpp:99
-
time_point_sc next_run
Definition Tasks.hpp:98
-
milliseconds period
Definition Tasks.hpp:95
-
time_point_sc last_run
Definition Tasks.hpp:97
-
std::function< void()> callback
Definition Tasks.hpp:101
-
unsigned long run_counter
Definition Tasks.hpp:102
-
milliseconds delay
Definition Tasks.hpp:96
+

Definition at line 122 of file Tasks.cpp.

+
124 : active{active}, id{id},
+ + + + +
129 {
+ +
131 scheduler.addTask(this);
+
132 if constexpr (conf::debug::ENABLE_TASK_LOGS)
+
133 {
+
134 ESP_LOGD(TAG, "Constructor(%s)\r\n", toString().c_str());
+
135 }
+
136 }
+
static const char *const TAG
Definition Logging.hpp:9
+
auto addTask(Task *task) -> void
Definition Tasks.cpp:18
+
milliseconds total_runtime
Definition Tasks.hpp:108
+ +
milliseconds average_tardiness
Definition Tasks.hpp:107
+
std::chrono::steady_clock::time_point next_run
Definition Tasks.hpp:106
+
milliseconds period
Definition Tasks.hpp:103
+
std::chrono::steady_clock::time_point last_run
Definition Tasks.hpp:105
+
auto toString() const -> const std::string
Definition Tasks.cpp:138
+
std::function< void()> callback
Definition Tasks.hpp:109
+
unsigned long run_counter
Definition Tasks.hpp:110
+
milliseconds delay
Definition Tasks.hpp:104
Scheduler scheduler
Definition globals.hpp:38
+
auto arduinoNow() -> const std::chrono::steady_clock::time_point
Definition Tasks.hpp:15
+
static constexpr bool ENABLE_TASK_LOGS
True to add many logs regarding tasks scheduling and statistics.
Definition conf.hpp:82
-

References fabomatic::Tasks::Scheduler::addTask().

+

References fabomatic::Tasks::Scheduler::addTask(), fabomatic::Tasks::arduinoNow(), fabomatic::conf::debug::ENABLE_TASK_LOGS, last_run, period, TAG, and toString().

Here is the call graph for this function:
-
+
@@ -407,10 +417,10 @@ Here is the call graph for this function:

Prevent the task from running again.

-

Definition at line 166 of file Tasks.cpp.

-
167 {
-
168 active = false;
-
169 }
+

Definition at line 182 of file Tasks.cpp.

+
183 {
+
184 active = false;
+
185 }
@@ -431,12 +441,12 @@ Here is the call graph for this function:

Allows the task to run again.

-

Definition at line 171 of file Tasks.cpp.

-
172 {
-
173 active = true;
- -
175 }
-
auto updateSchedule() -> void
recompute the next run time (now + delay) and allows the task to run again
Definition Tasks.cpp:178
+

Definition at line 187 of file Tasks.cpp.

+
188 {
+
189 active = true;
+ +
191 }
+
auto updateSchedule() -> void
recompute the next run time (now + delay) and allows the task to run again
Definition Tasks.cpp:194

Referenced by setup().

@@ -447,8 +457,8 @@ Here is the caller graph for this function:
- -

◆ getAvgTardiness()

+ +

◆ getAvgTardiness()

@@ -457,23 +467,23 @@ Here is the caller graph for this function:
- +

Private Attributes

 
milliseconds delay
 
time_point_sc last_run
 
time_point_sc next_run
 
std::chrono::steady_clock::time_point last_run
 
std::chrono::steady_clock::time_point next_run
 
milliseconds average_tardiness
 
milliseconds total_runtime
auto fabomatic::Tasks::Task::getAvgTardiness ( ) const -> milliseconds const -> const milliseconds

Get the average tardiness, i.e. the average period between scheduled start and actual start of execution.

-

Definition at line 214 of file Tasks.cpp.

-
215 {
- -
217 {
-
218 return average_tardiness - period;
-
219 }
-
220 return 0ms;
-
221 }
+

Definition at line 230 of file Tasks.cpp.

+
231 {
+ +
233 {
+
234 return average_tardiness - period;
+
235 }
+
236 return 0ms;
+
237 }
-

References average_tardiness, and period.

+

References average_tardiness, and period.

@@ -495,17 +505,17 @@ Here is the caller graph for this function:

Function to be called when task is run.

Returns
Callback function
-

Definition at line 204 of file Tasks.cpp.

-
205 {
-
206 return callback;
-
207 }
+

Definition at line 220 of file Tasks.cpp.

+
221 {
+
222 return callback;
+
223 }
-

References callback.

+

References callback.

- -

◆ getDelay()

+ +

◆ getDelay()

@@ -514,7 +524,7 @@ Here is the caller graph for this function:
auto fabomatic::Tasks::Task::getDelay ( ) - const -> milliseconds + const -> const milliseconds
@@ -522,12 +532,12 @@ Here is the caller graph for this function:

Get the initial delay before the task is run at given period.

Returns
Delay in milliseconds
-

Definition at line 228 of file Tasks.cpp.

-
229 {
-
230 return delay;
-
231 }
+

Definition at line 244 of file Tasks.cpp.

+
245 {
+
246 return delay;
+
247 }
-

References delay.

+

References delay.

@@ -548,18 +558,25 @@ Here is the caller graph for this function:

Get the Task Identifier.

-

Definition at line 209 of file Tasks.cpp.

-
210 {
-
211 return id;
-
212 }
-
const std::string id
Definition Tasks.hpp:94
+

Definition at line 225 of file Tasks.cpp.

+
226 {
+
227 return id;
+
228 }
+
const std::string id
Definition Tasks.hpp:102
-

References id.

+

References id.

+ +

Referenced by toString().

+
+Here is the caller graph for this function:
+
+
+
- -

◆ getNextRun()

+ +

◆ getNextRun()

@@ -568,7 +585,7 @@ Here is the caller graph for this function:
auto fabomatic::Tasks::Task::getNextRun ( ) - const -> time_point_sc + const -> const std::chrono::steady_clock::time_point
@@ -576,17 +593,17 @@ Here is the caller graph for this function:

When shall the task be run again.

Returns
time_point of the next run or time_point::max() if the task will not run.
-

Definition at line 243 of file Tasks.cpp.

-
244 {
-
245 return next_run;
-
246 }
+

Definition at line 259 of file Tasks.cpp.

+
260 {
+
261 return next_run;
+
262 }
-

References next_run.

+

References next_run.

- -

◆ getPeriod()

+ +

◆ getPeriod()

@@ -595,19 +612,19 @@ Here is the caller graph for this function:
auto fabomatic::Tasks::Task::getPeriod ( ) - const -> milliseconds + const -> const milliseconds

Current period of the task.

-

Definition at line 199 of file Tasks.cpp.

-
200 {
-
201 return period;
-
202 }
+

Definition at line 215 of file Tasks.cpp.

+
216 {
+
217 return period;
+
218 }
-

References period.

+

References period.

@@ -628,17 +645,17 @@ Here is the caller graph for this function:

Gets the number of times the task has been run.

-

Definition at line 223 of file Tasks.cpp.

-
224 {
-
225 return run_counter;
-
226 }
+

Definition at line 239 of file Tasks.cpp.

+
240 {
+
241 return run_counter;
+
242 }
-

References run_counter.

+

References run_counter.

- -

◆ getTotalRuntime()

+ +

◆ getTotalRuntime()

@@ -647,19 +664,19 @@ Here is the caller graph for this function:
auto fabomatic::Tasks::Task::getTotalRuntime ( ) - const -> milliseconds + const -> const milliseconds

Gets the total execution time of the task. Useful to spot slowest tasks.

-

Definition at line 238 of file Tasks.cpp.

-
239 {
-
240 return total_runtime;
-
241 }
+

Definition at line 254 of file Tasks.cpp.

+
255 {
+
256 return total_runtime;
+
257 }
-

References total_runtime.

+

References total_runtime.

@@ -681,12 +698,12 @@ Here is the caller graph for this function:

Status of the task.

Returns
True if Scheduler can launch it
-

Definition at line 194 of file Tasks.cpp.

-
195 {
-
196 return active;
-
197 }
+

Definition at line 210 of file Tasks.cpp.

+
211 {
+
212 return active;
+
213 }
-

References active.

+

References active.

@@ -759,40 +776,43 @@ Here is the caller graph for this function:

Execute the task if active.

-

Definition at line 137 of file Tasks.cpp.

-
138 {
-
139 if (isActive() && std::chrono::system_clock::now() >= next_run)
-
140 {
-
141 run_counter++;
-
142 auto last_period = std::chrono::duration_cast<milliseconds>(std::chrono::system_clock::now() - last_run);
- -
144 last_run = std::chrono::system_clock::now();
-
145
- -
147 {
-
148 ESP_LOGD(TAG, "Task %s\r\n", getId().c_str());
-
149 }
-
150
-
151 callback();
-
152
-
153 total_runtime += std::chrono::duration_cast<milliseconds>(std::chrono::system_clock::now() - last_run);
-
154
-
155 if (period > 0ms)
-
156 {
-
157 next_run = last_run + period; // Schedule next run
-
158 }
-
159 else
-
160 {
-
161 next_run = std::chrono::system_clock::time_point::max(); // Disable the task
-
162 }
-
163 }
-
164 }
-
static const char *const TAG
Definition Logging.hpp:6
-
auto isActive() const -> bool
Status of the task.
Definition Tasks.cpp:194
-
auto getId() const -> const std::string
Get the Task Identifier.
Definition Tasks.cpp:209
-
static constexpr bool ENABLE_TASK_LOGS
True to add many logs regarding tasks scheduling and statistics.
Definition conf.hpp:82
+

Definition at line 152 of file Tasks.cpp.

+
153 {
+
154 auto time_to_run = (arduinoNow() - next_run).count() > 0;
+
155 if (isActive() && time_to_run)
+
156 {
+
157 run_counter++;
+
158 auto last_duration = std::chrono::duration_cast<milliseconds>(arduinoNow() - last_run);
+
159 average_tardiness = (average_tardiness * (run_counter - 1) + last_duration) / run_counter;
+ +
161
+
162 callback();
+
163
+
164 total_runtime += std::chrono::duration_cast<milliseconds>(arduinoNow() - last_run);
+
165
+
166 if (period > 0ms)
+
167 {
+
168 next_run = last_run + period; // Schedule next run
+
169 }
+
170 else
+
171 {
+
172 next_run = next_run.max(); // Disable the task
+
173 }
+
174
+
175 if constexpr (conf::debug::ENABLE_TASK_LOGS)
+
176 {
+
177 ESP_LOGD(TAG, "Completed(%s)\r\n", toString().c_str());
+
178 }
+
179 }
+
180 }
+
auto isActive() const -> bool
Status of the task.
Definition Tasks.cpp:210
-

References fabomatic::conf::debug::ENABLE_TASK_LOGS, and TAG.

+

References fabomatic::Tasks::arduinoNow(), fabomatic::conf::debug::ENABLE_TASK_LOGS, and TAG.

+
+Here is the call graph for this function:
+
+
+
@@ -820,10 +840,10 @@ Here is the caller graph for this function: -

Definition at line 189 of file Tasks.cpp.

-
190 {
-
191 callback = new_callback;
-
192 }
+

Definition at line 205 of file Tasks.cpp.

+
206 {
+
207 callback = new_callback;
+
208 }
@@ -851,16 +871,16 @@ Here is the caller graph for this function: -

Definition at line 233 of file Tasks.cpp.

-
234 {
-
235 delay = new_delay;
-
236 }
+

Definition at line 249 of file Tasks.cpp.

+
250 {
+
251 delay = new_delay;
+
252 }
-

References fabomatic::Tasks::delay().

+

References fabomatic::Tasks::delay().

Here is the call graph for this function:
-
+
@@ -889,11 +909,57 @@ Here is the call graph for this function: -

Definition at line 184 of file Tasks.cpp.

-
185 {
-
186 period = new_period;
-
187 }
+

Definition at line 200 of file Tasks.cpp.

+
201 {
+
202 period = new_period;
+
203 }
+
+ + +

◆ toString()

+ +
+
+ + + + + + + +
auto fabomatic::Tasks::Task::toString () const -> const std::string
+
+ +

Definition at line 138 of file Tasks.cpp.

+
139 {
+
140 std::stringstream ss;
+
141 ss << "Task " << getId() << ", active=" << active
+
142 << ",Period=" << period << ", Delay=" << delay
+
143 << ",Last run=" << last_run.time_since_epoch()
+
144 << ",Next_run=" << next_run.time_since_epoch()
+
145 << ",Avg tardiness=" << average_tardiness
+
146 << ",total_runtime " << total_runtime
+
147 << ",run_counter=" << run_counter
+
148 << ",clock=" << millis();
+
149 return ss.str();
+
150 }
+
auto getId() const -> const std::string
Get the Task Identifier.
Definition Tasks.cpp:225
+
+

References active, average_tardiness, delay, getId(), last_run, next_run, period, run_counter, and total_runtime.

+ +

Referenced by Task().

+
+Here is the call graph for this function:
+
+
+
+
+Here is the caller graph for this function:
+
+
+
+
@@ -914,24 +980,24 @@ Here is the call graph for this function:

recompute the next run time (now + delay) and allows the task to run again

recompute the next run time (now + delay)

-

Definition at line 178 of file Tasks.cpp.

-
179 {
-
180 last_run = std::chrono::system_clock::now() + delay;
- -
182 }
+

Definition at line 194 of file Tasks.cpp.

+
195 {
+ + +
198 }
-

References fabomatic::Tasks::delay().

+

References fabomatic::Tasks::arduinoNow(), and fabomatic::Tasks::delay().

-

Referenced by fabomatic::Tasks::Scheduler::updateSchedules().

+

Referenced by fabomatic::Tasks::Scheduler::updateSchedules().

Here is the call graph for this function:
-
+
Here is the caller graph for this function:
-
+
@@ -957,9 +1023,9 @@ Here is the caller graph for this function:
-

Definition at line 93 of file Tasks.hpp.

+

Definition at line 101 of file Tasks.hpp.

-

Referenced by isActive().

+

Referenced by isActive(), and toString().

@@ -983,9 +1049,9 @@ Here is the caller graph for this function:
-

Definition at line 99 of file Tasks.hpp.

+

Definition at line 107 of file Tasks.hpp.

-

Referenced by getAvgTardiness().

+

Referenced by getAvgTardiness(), and toString().

@@ -1009,9 +1075,9 @@ Here is the caller graph for this function:
-

Definition at line 101 of file Tasks.hpp.

+

Definition at line 109 of file Tasks.hpp.

-

Referenced by getCallback().

+

Referenced by getCallback().

@@ -1035,9 +1101,9 @@ Here is the caller graph for this function:
-

Definition at line 96 of file Tasks.hpp.

+

Definition at line 104 of file Tasks.hpp.

-

Referenced by getDelay().

+

Referenced by getDelay(), and toString().

@@ -1061,14 +1127,14 @@ Here is the caller graph for this function:
-

Definition at line 94 of file Tasks.hpp.

+

Definition at line 102 of file Tasks.hpp.

-

Referenced by getId().

+

Referenced by getId().

- -

◆ last_run

+ +

◆ last_run

@@ -1077,7 +1143,7 @@ Here is the caller graph for this function:
- +
time_point_sc fabomatic::Tasks::Task::last_runstd::chrono::steady_clock::time_point fabomatic::Tasks::Task::last_run
@@ -1087,12 +1153,14 @@ Here is the caller graph for this function:
-

Definition at line 97 of file Tasks.hpp.

+

Definition at line 105 of file Tasks.hpp.

+ +

Referenced by Task(), and toString().

- -

◆ next_run

+ +

◆ next_run

@@ -1101,7 +1169,7 @@ Here is the caller graph for this function:
- +
time_point_sc fabomatic::Tasks::Task::next_runstd::chrono::steady_clock::time_point fabomatic::Tasks::Task::next_run
@@ -1111,9 +1179,9 @@ Here is the caller graph for this function:
-

Definition at line 98 of file Tasks.hpp.

+

Definition at line 106 of file Tasks.hpp.

-

Referenced by getNextRun().

+

Referenced by getNextRun(), and toString().

@@ -1137,9 +1205,9 @@ Here is the caller graph for this function:
-

Definition at line 95 of file Tasks.hpp.

+

Definition at line 103 of file Tasks.hpp.

-

Referenced by getAvgTardiness(), and getPeriod().

+

Referenced by getAvgTardiness(), getPeriod(), Task(), and toString().

@@ -1163,9 +1231,9 @@ Here is the caller graph for this function:
-

Definition at line 102 of file Tasks.hpp.

+

Definition at line 110 of file Tasks.hpp.

-

Referenced by getRunCounter().

+

Referenced by getRunCounter(), and toString().

@@ -1189,9 +1257,9 @@ Here is the caller graph for this function:
-

Definition at line 100 of file Tasks.hpp.

+

Definition at line 108 of file Tasks.hpp.

-

Referenced by getTotalRuntime().

+

Referenced by getTotalRuntime(), and toString().

@@ -1202,7 +1270,7 @@ Here is the caller graph for this function: diff --git a/classfabomatic_1_1_tasks_1_1_task__coll__graph.md5 b/classfabomatic_1_1_tasks_1_1_task__coll__graph.md5 index 488eb623..47e7b8bf 100644 --- a/classfabomatic_1_1_tasks_1_1_task__coll__graph.md5 +++ b/classfabomatic_1_1_tasks_1_1_task__coll__graph.md5 @@ -1 +1 @@ -50e98bfe72aff345de498eba29c8774a \ No newline at end of file +9b29d9c1fa8b6a67ae205ad39cf9340d \ No newline at end of file diff --git a/classfabomatic_1_1_tasks_1_1_task__coll__graph.svg b/classfabomatic_1_1_tasks_1_1_task__coll__graph.svg index 1a10424d..4915aadb 100644 --- a/classfabomatic_1_1_tasks_1_1_task__coll__graph.svg +++ b/classfabomatic_1_1_tasks_1_1_task__coll__graph.svg @@ -98,7 +98,7 @@ var sectionId = 'dynsection-0'; disable() + enable() -and 13 more... +and 14 more... diff --git a/classfabomatic_1_1_tasks_1_1_task__coll__graph_org.svg b/classfabomatic_1_1_tasks_1_1_task__coll__graph_org.svg index eab6877c..a3a86f91 100644 --- a/classfabomatic_1_1_tasks_1_1_task__coll__graph_org.svg +++ b/classfabomatic_1_1_tasks_1_1_task__coll__graph_org.svg @@ -52,7 +52,7 @@ disable() + enable() -and 13 more... +and 14 more... diff --git a/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_cgraph.map b/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_cgraph.map index dbf9a664..6d477f93 100644 --- a/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_cgraph.map +++ b/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_cgraph.map @@ -1,6 +1,9 @@ - - - - + + + + + + + diff --git a/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_cgraph.md5 b/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_cgraph.md5 index 86d9e393..1a14f3f4 100644 --- a/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_cgraph.md5 +++ b/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_cgraph.md5 @@ -1 +1 @@ -a001b5abaff62ce42e8daf9e31b472de \ No newline at end of file +2ced7262e5a7c150e15f97a20bb27fd1 \ No newline at end of file diff --git a/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_cgraph.svg b/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_cgraph.svg index 4c3dc268..e5258b20 100644 --- a/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_cgraph.svg +++ b/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_cgraph.svg @@ -4,8 +4,8 @@ - + - + fabomatic::Tasks::Task::updateSchedule Node1 - -fabomatic::Tasks::Task -::updateSchedule + +fabomatic::Tasks::Task +::updateSchedule Node2 - - -fabomatic::Tasks::delay + + +fabomatic::Tasks::arduinoNow @@ -41,17 +41,44 @@ Node1->Node2 - - + + - - -Node2->Node2 - - - + + +Node3 + + +fabomatic::Tasks::delay + + + + + +Node1->Node3 + + + + + + + + +Node3->Node2 + + + + + + + + +Node3->Node3 + + + diff --git a/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_cgraph_org.svg b/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_cgraph_org.svg index 38986c8e..a82d8089 100644 --- a/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_cgraph_org.svg +++ b/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_cgraph_org.svg @@ -4,26 +4,26 @@ - - + + fabomatic::Tasks::Task::updateSchedule Node1 - -fabomatic::Tasks::Task -::updateSchedule + +fabomatic::Tasks::Task +::updateSchedule Node2 - - -fabomatic::Tasks::delay + + +fabomatic::Tasks::arduinoNow @@ -31,17 +31,44 @@ Node1->Node2 - - + + - - -Node2->Node2 - - - + + +Node3 + + +fabomatic::Tasks::delay + + + + + +Node1->Node3 + + + + + + + + +Node3->Node2 + + + + + + + + +Node3->Node3 + + + diff --git a/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_icgraph.map b/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_icgraph.map index c4eaf73b..a54fdcc8 100644 --- a/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_icgraph.map +++ b/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_icgraph.map @@ -1,11 +1,15 @@ - - - - - - - - + + + + + + + + + + + + diff --git a/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_icgraph.md5 b/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_icgraph.md5 index b6e761e4..19dc4a8b 100644 --- a/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_icgraph.md5 +++ b/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_icgraph.md5 @@ -1 +1 @@ -6f43cc6e26e33bb0b1afe8865da68126 \ No newline at end of file +c86530f1a5d01aad4c88cc1a3e9d8dca \ No newline at end of file diff --git a/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_icgraph.svg b/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_icgraph.svg index af43fd7a..bced5b9a 100644 --- a/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_icgraph.svg +++ b/classfabomatic_1_1_tasks_1_1_task_a1488d6b3730de3f77a52ce6bee56fdd8_icgraph.svg @@ -4,7 +4,7 @@ - + + + + +fabomatic::Tasks::Task::getId + + +Node1 + + +fabomatic::Tasks::Task +::getId + + + + + +Node2 + + +fabomatic::Tasks::Task +::toString + + + + + +Node1->Node2 + + + + + + + + +Node3 + + +fabomatic::Tasks::Task +::Task + + + + + +Node2->Node3 + + + + + + + + + + + + + diff --git a/classfabomatic_1_1_tasks_1_1_task_a99da0e6d8fe7677e0faaab98995353ba_icgraph_org.svg b/classfabomatic_1_1_tasks_1_1_task_a99da0e6d8fe7677e0faaab98995353ba_icgraph_org.svg new file mode 100644 index 00000000..33bb99b3 --- /dev/null +++ b/classfabomatic_1_1_tasks_1_1_task_a99da0e6d8fe7677e0faaab98995353ba_icgraph_org.svg @@ -0,0 +1,60 @@ + + + + + + +fabomatic::Tasks::Task::getId + + +Node1 + + +fabomatic::Tasks::Task +::getId + + + + + +Node2 + + +fabomatic::Tasks::Task +::toString + + + + + +Node1->Node2 + + + + + + + + +Node3 + + +fabomatic::Tasks::Task +::Task + + + + + +Node2->Node3 + + + + + + + + diff --git a/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_cgraph.map b/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_cgraph.map new file mode 100644 index 00000000..f8aa4ffd --- /dev/null +++ b/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_cgraph.md5 b/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_cgraph.md5 new file mode 100644 index 00000000..edfc2d63 --- /dev/null +++ b/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_cgraph.md5 @@ -0,0 +1 @@ +e3eb028ec0d6fc7112a32e0aa546993d \ No newline at end of file diff --git a/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_cgraph.svg b/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_cgraph.svg new file mode 100644 index 00000000..6c5c2edd --- /dev/null +++ b/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_cgraph.svg @@ -0,0 +1,66 @@ + + + + + + + + + + + +fabomatic::Tasks::Task::toString + + +Node1 + + +fabomatic::Tasks::Task +::toString + + + + + +Node2 + + +fabomatic::Tasks::Task +::getId + + + + + +Node1->Node2 + + + + + + + + + + + + + diff --git a/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_cgraph_org.svg b/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_cgraph_org.svg new file mode 100644 index 00000000..cbe53eb7 --- /dev/null +++ b/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_cgraph_org.svg @@ -0,0 +1,41 @@ + + + + + + +fabomatic::Tasks::Task::toString + + +Node1 + + +fabomatic::Tasks::Task +::toString + + + + + +Node2 + + +fabomatic::Tasks::Task +::getId + + + + + +Node1->Node2 + + + + + + + + diff --git a/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_icgraph.map b/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_icgraph.map new file mode 100644 index 00000000..73210097 --- /dev/null +++ b/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_icgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_icgraph.md5 b/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_icgraph.md5 new file mode 100644 index 00000000..5b9895c4 --- /dev/null +++ b/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_icgraph.md5 @@ -0,0 +1 @@ +b214290557df2e1af922670b5ba2ace0 \ No newline at end of file diff --git a/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_icgraph.svg b/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_icgraph.svg new file mode 100644 index 00000000..c1a8155e --- /dev/null +++ b/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_icgraph.svg @@ -0,0 +1,66 @@ + + + + + + + + + + + +fabomatic::Tasks::Task::toString + + +Node1 + + +fabomatic::Tasks::Task +::toString + + + + + +Node2 + + +fabomatic::Tasks::Task +::Task + + + + + +Node1->Node2 + + + + + + + + + + + + + diff --git a/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_icgraph_org.svg b/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_icgraph_org.svg new file mode 100644 index 00000000..bf80dd0e --- /dev/null +++ b/classfabomatic_1_1_tasks_1_1_task_a9a1a85dc5747fdc56c3f7470eeaebff0_icgraph_org.svg @@ -0,0 +1,41 @@ + + + + + + +fabomatic::Tasks::Task::toString + + +Node1 + + +fabomatic::Tasks::Task +::toString + + + + + +Node2 + + +fabomatic::Tasks::Task +::Task + + + + + +Node1->Node2 + + + + + + + + diff --git a/classfabomatic_1_1_tasks_1_1_task_ac63191a702c898cda8af1ce8316bfb94_cgraph.map b/classfabomatic_1_1_tasks_1_1_task_ac63191a702c898cda8af1ce8316bfb94_cgraph.map new file mode 100644 index 00000000..0cc6184c --- /dev/null +++ b/classfabomatic_1_1_tasks_1_1_task_ac63191a702c898cda8af1ce8316bfb94_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/classfabomatic_1_1_tasks_1_1_task_ac63191a702c898cda8af1ce8316bfb94_cgraph.md5 b/classfabomatic_1_1_tasks_1_1_task_ac63191a702c898cda8af1ce8316bfb94_cgraph.md5 new file mode 100644 index 00000000..f5cd28b2 --- /dev/null +++ b/classfabomatic_1_1_tasks_1_1_task_ac63191a702c898cda8af1ce8316bfb94_cgraph.md5 @@ -0,0 +1 @@ +4c49f7de1259c83c89568233adc042c0 \ No newline at end of file diff --git a/classfabomatic_1_1_tasks_1_1_task_ac63191a702c898cda8af1ce8316bfb94_cgraph.svg b/classfabomatic_1_1_tasks_1_1_task_ac63191a702c898cda8af1ce8316bfb94_cgraph.svg new file mode 100644 index 00000000..f7c49c78 --- /dev/null +++ b/classfabomatic_1_1_tasks_1_1_task_ac63191a702c898cda8af1ce8316bfb94_cgraph.svg @@ -0,0 +1,64 @@ + + + + + + + + + + + +fabomatic::Tasks::Task::run + + +Node1 + + +fabomatic::Tasks::Task::run + + + + + +Node2 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node2 + + + + + + + + + + + + + diff --git a/classfabomatic_1_1_tasks_1_1_task_ac63191a702c898cda8af1ce8316bfb94_cgraph_org.svg b/classfabomatic_1_1_tasks_1_1_task_ac63191a702c898cda8af1ce8316bfb94_cgraph_org.svg new file mode 100644 index 00000000..ac8e976b --- /dev/null +++ b/classfabomatic_1_1_tasks_1_1_task_ac63191a702c898cda8af1ce8316bfb94_cgraph_org.svg @@ -0,0 +1,39 @@ + + + + + + +fabomatic::Tasks::Task::run + + +Node1 + + +fabomatic::Tasks::Task::run + + + + + +Node2 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node2 + + + + + + + + diff --git a/classfabomatic_1_1_tasks_1_1_task_affca69a8fdcc7eb5cc656b4e4fd80375_cgraph.map b/classfabomatic_1_1_tasks_1_1_task_affca69a8fdcc7eb5cc656b4e4fd80375_cgraph.map index 0576018f..39a097a4 100644 --- a/classfabomatic_1_1_tasks_1_1_task_affca69a8fdcc7eb5cc656b4e4fd80375_cgraph.map +++ b/classfabomatic_1_1_tasks_1_1_task_affca69a8fdcc7eb5cc656b4e4fd80375_cgraph.map @@ -1,5 +1,11 @@ - - - + + + + + + + + + diff --git a/classfabomatic_1_1_tasks_1_1_task_affca69a8fdcc7eb5cc656b4e4fd80375_cgraph.md5 b/classfabomatic_1_1_tasks_1_1_task_affca69a8fdcc7eb5cc656b4e4fd80375_cgraph.md5 index e0cfa76e..020d1f6d 100644 --- a/classfabomatic_1_1_tasks_1_1_task_affca69a8fdcc7eb5cc656b4e4fd80375_cgraph.md5 +++ b/classfabomatic_1_1_tasks_1_1_task_affca69a8fdcc7eb5cc656b4e4fd80375_cgraph.md5 @@ -1 +1 @@ -c0eeadf2902fc14ef77a6d1a86952915 \ No newline at end of file +51bb1e206e57700b2e88ff5bdcda4c47 \ No newline at end of file diff --git a/classfabomatic_1_1_tasks_1_1_task_affca69a8fdcc7eb5cc656b4e4fd80375_cgraph.svg b/classfabomatic_1_1_tasks_1_1_task_affca69a8fdcc7eb5cc656b4e4fd80375_cgraph.svg index ac203047..805bf2e1 100644 --- a/classfabomatic_1_1_tasks_1_1_task_affca69a8fdcc7eb5cc656b4e4fd80375_cgraph.svg +++ b/classfabomatic_1_1_tasks_1_1_task_affca69a8fdcc7eb5cc656b4e4fd80375_cgraph.svg @@ -4,8 +4,8 @@ - + - + fabomatic::Tasks::Task::Task Node1 - -fabomatic::Tasks::Task -::Task + +fabomatic::Tasks::Task +::Task Node2 - - -fabomatic::Tasks::Scheduler -::addTask + + +fabomatic::Tasks::Scheduler +::addTask @@ -42,8 +42,64 @@ Node1->Node2 - - + + + + + + + +Node3 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node3 + + + + + + + + +Node4 + + +fabomatic::Tasks::Task +::toString + + + + + +Node1->Node4 + + + + + + + + +Node5 + + +fabomatic::Tasks::Task +::getId + + + + + +Node4->Node5 + + + diff --git a/classfabomatic_1_1_tasks_1_1_task_affca69a8fdcc7eb5cc656b4e4fd80375_cgraph_org.svg b/classfabomatic_1_1_tasks_1_1_task_affca69a8fdcc7eb5cc656b4e4fd80375_cgraph_org.svg index de577d93..aa314ee9 100644 --- a/classfabomatic_1_1_tasks_1_1_task_affca69a8fdcc7eb5cc656b4e4fd80375_cgraph_org.svg +++ b/classfabomatic_1_1_tasks_1_1_task_affca69a8fdcc7eb5cc656b4e4fd80375_cgraph_org.svg @@ -4,27 +4,27 @@ - - + + fabomatic::Tasks::Task::Task Node1 - -fabomatic::Tasks::Task -::Task + +fabomatic::Tasks::Task +::Task Node2 - - -fabomatic::Tasks::Scheduler -::addTask + + +fabomatic::Tasks::Scheduler +::addTask @@ -32,8 +32,64 @@ Node1->Node2 - - + + + + + + + +Node3 + + +fabomatic::Tasks::arduinoNow + + + + + +Node1->Node3 + + + + + + + + +Node4 + + +fabomatic::Tasks::Task +::toString + + + + + +Node1->Node4 + + + + + + + + +Node5 + + +fabomatic::Tasks::Task +::getId + + + + + +Node4->Node5 + + + diff --git a/conf_8hpp.xhtml b/conf_8hpp.xhtml index 05a648de..c07b7820 100644 --- a/conf_8hpp.xhtml +++ b/conf_8hpp.xhtml @@ -258,7 +258,7 @@ Variables diff --git a/conf_8hpp_source.xhtml b/conf_8hpp_source.xhtml index 23bdeb97..68d932d4 100644 --- a/conf_8hpp_source.xhtml +++ b/conf_8hpp_source.xhtml @@ -293,7 +293,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/dir_000000_000001.xhtml b/dir_000000_000001.xhtml index 858043c9..17b3a775 100644 --- a/dir_000000_000001.xhtml +++ b/dir_000000_000001.xhtml @@ -78,7 +78,7 @@ $(function() {

conf → include Relation

File in confIncludes file in include
conf.hppMachineID.hpp
pins.hppPinsConfig.hpp
secrets.hppFabUser.hpp
secrets.hppMachine.hpp
secrets.hppMachineConfig.hpp
diff --git a/dir_000001_000000.xhtml b/dir_000001_000000.xhtml index 3cf0a886..32d86845 100644 --- a/dir_000001_000000.xhtml +++ b/dir_000001_000000.xhtml @@ -78,7 +78,7 @@ $(function() {

include → conf Relation

File in includeIncludes file in conf
AuthProvider.hppsecrets.hpp
BoardLogic.hpppins.hpp
BoardLogic.hppsecrets.hpp
CachedCards.hppconf.hpp
card.hppconf.hpp
FabBackend.hppconf.hpp
FabUser.hppconf.hpp
globals.hppconf.hpp
globals.hpppins.hpp
globals.hppsecrets.hpp
LCDWrapper.hpppins.hpp
Led.hpppins.hpp
MachineConfig.hppconf.hpp
MachineConfig.hpppins.hpp
Mrfc522Driver.hpppins.hpp
OTA.hppsecrets.hpp
RFIDWrapper.hppconf.hpp
SavedConfig.hppconf.hpp
WhiteList.hppconf.hpp
diff --git a/dir_000001_000003.xhtml b/dir_000001_000003.xhtml index a72ce1e2..35eb86cd 100644 --- a/dir_000001_000003.xhtml +++ b/dir_000001_000003.xhtml @@ -78,7 +78,7 @@ $(function() {

include → mock Relation

File in includeIncludes file in include/mock
globals.hppMockMrfc522.hpp
diff --git a/dir_000004_000000.xhtml b/dir_000004_000000.xhtml index 5d519b6d..c4a1639e 100644 --- a/dir_000004_000000.xhtml +++ b/dir_000004_000000.xhtml @@ -78,7 +78,7 @@ $(function() {

mock → conf Relation

File in src/mockIncludes file in conf
MockMQTTBroker.cppconf.hpp
MockMQTTBroker.cppsecrets.hpp
diff --git a/dir_000004_000001.xhtml b/dir_000004_000001.xhtml index 2a897428..bbfff057 100644 --- a/dir_000004_000001.xhtml +++ b/dir_000004_000001.xhtml @@ -75,10 +75,10 @@ $(function() {
-

mock → include Relation

File in src/mockIncludes file in include
MockMQTTBroker.cppLogging.hpp
MockMQTTBroker.cppmock / MockMQTTBroker.hpp
MockMrfc522.cppmock / MockMrfc522.hpp
+

mock → include Relation

File in src/mockIncludes file in include
MockMQTTBroker.cppLogging.hpp
MockMQTTBroker.cppmock / MockMQTTBroker.hpp
MockMrfc522.cppmock / MockMrfc522.hpp
MockMrfc522.cppTasks.hpp
diff --git a/dir_000005_000000.xhtml b/dir_000005_000000.xhtml index 01ff19f8..d4cfaf4e 100644 --- a/dir_000005_000000.xhtml +++ b/dir_000005_000000.xhtml @@ -78,7 +78,7 @@ $(function() {

src → conf Relation

File in srcIncludes file in conf
BoardLogic.cppconf.hpp
BoardLogic.cpppins.hpp
BoardLogic.cppsecrets.hpp
Buzzer.cppconf.hpp
Buzzer.cpppins.hpp
FabBackend.cppsecrets.hpp
Machine.cpppins.hpp
Machine.cppsecrets.hpp
main.cpppins.hpp
mock / MockMQTTBroker.cppconf.hpp
mock / MockMQTTBroker.cppsecrets.hpp
SavedConfig.cppconf.hpp
SavedConfig.cppsecrets.hpp
Tasks.cppconf.hpp
diff --git a/dir_000005_000001.xhtml b/dir_000005_000001.xhtml index f559b80f..bae2806a 100644 --- a/dir_000005_000001.xhtml +++ b/dir_000005_000001.xhtml @@ -75,10 +75,10 @@ $(function() { +

src → include Relation

File in srcIncludes file in include
AuthProvider.cppAuthProvider.hpp
AuthProvider.cppFabBackend.hpp
AuthProvider.cppLogging.hpp
BoardLogic.cppAuthProvider.hpp
BoardLogic.cppBaseRfidWrapper.hpp
BoardLogic.cppBoardLogic.hpp
BoardLogic.cppFabBackend.hpp
BoardLogic.cpplanguage / lang.hpp
BoardLogic.cppLogging.hpp
BoardLogic.cppMachine.hpp
BoardLogic.cppSavedConfig.hpp
BoardLogic.cppTasks.hpp
BufferedMsg.cppBufferedMsg.hpp
BufferedMsg.cppLogging.hpp
Buzzer.cppBuzzer.hpp
Buzzer.cppTasks.hpp
Espressif.cppEspressif.hpp
Espressif.cppLogging.hpp
FabBackend.cppFabBackend.hpp
FabBackend.cppLogging.hpp
FabBackend.cppSavedConfig.hpp
FabBackend.cppTasks.hpp
LCDWrapper.cppLCDWrapper.hpp
LCDWrapper.cppLogging.hpp
Led.cppLed.hpp
Led.cppLogging.hpp
Machine.cppFabBackend.hpp
Machine.cppLogging.hpp
Machine.cppMachine.hpp
Machine.cppTasks.hpp
MachineConfig.cppMachineConfig.hpp
main.cppBoardLogic.hpp
main.cppEspressif.hpp
main.cppglobals.hpp
main.cpplanguage / lang.hpp
main.cppLogging.hpp
main.cppMrfc522Driver.hpp
main.cppOTA.hpp
main.cppSavedConfig.hpp
main.cppTasks.hpp
mock / MockMQTTBroker.cppLogging.hpp
mock / MockMQTTBroker.cppmock / MockMQTTBroker.hpp
mock / MockMrfc522.cppmock / MockMrfc522.hpp
mock / MockMrfc522.cppTasks.hpp
MQTTtypes.cppcard.hpp
MQTTtypes.cppEspressif.hpp
MQTTtypes.cppFabUser.hpp
MQTTtypes.cppMQTTtypes.hpp
Mrfc522Driver.cppMrfc522Driver.hpp
OTA.cppBoardLogic.hpp
OTA.cpplanguage / lang.hpp
OTA.cppOTA.hpp
SavedConfig.cppLogging.hpp
SavedConfig.cppSavedConfig.hpp
Tasks.cppLogging.hpp
Tasks.cppTasks.hpp
diff --git a/dir_000007_000001.xhtml b/dir_000007_000001.xhtml index 703d5b72..9eacb3b0 100644 --- a/dir_000007_000001.xhtml +++ b/dir_000007_000001.xhtml @@ -5,7 +5,7 @@ -Fab-O-Matic: test_logic -> include Relation +Fab-O-Matic: test_chrono -> include Relation @@ -71,14 +71,14 @@ $(function() { +

test_chrono → include Relation

File in test/test_chronoIncludes file in include
test_chrono.cppEspressif.hpp
test_chrono.cppLogging.hpp
test_chrono.cppTasks.hpp
diff --git a/dir_000008_000000.xhtml b/dir_000008_000000.xhtml index f9971f7e..dd6954d6 100644 --- a/dir_000008_000000.xhtml +++ b/dir_000008_000000.xhtml @@ -5,7 +5,7 @@ -Fab-O-Matic: test_mqtt -> conf Relation +Fab-O-Matic: test_logic -> conf Relation @@ -71,14 +71,14 @@ $(function() {
-

test_mqtt → conf Relation

File in test/test_mqttIncludes file in conf
test_mqtt.cppconf.hpp
+

test_logic → conf Relation

File in test/test_logicIncludes file in conf
test_logic.cppconf.hpp
diff --git a/dir_000008_000001.xhtml b/dir_000008_000001.xhtml index 9d358d92..7030e906 100644 --- a/dir_000008_000001.xhtml +++ b/dir_000008_000001.xhtml @@ -5,7 +5,7 @@ -Fab-O-Matic: test_mqtt -> include Relation +Fab-O-Matic: test_logic -> include Relation @@ -71,14 +71,14 @@ $(function() { +

test_logic → include Relation

File in test/test_logicIncludes file in include
test_common.cppBoardLogic.hpp
test_common.cppcard.hpp
test_common.cppmock / MockMrfc522.hpp
test_common.cppRFIDWrapper.hpp
test_common.cppTasks.hpp
test_common.hBoardLogic.hpp
test_common.hcard.hpp
test_common.hmock / MockMrfc522.hpp
test_common.hRFIDWrapper.hpp
test_logic.cppBoardLogic.hpp
test_logic.cppFabBackend.hpp
test_logic.cppLCDWrapper.hpp
test_logic.cppmock / MockMQTTBroker.hpp
test_logic.cppmock / MockMrfc522.hpp
test_logic.cppRFIDWrapper.hpp
test_logic.cppSavedConfig.hpp
diff --git a/dir_000007_000000.xhtml b/dir_000009_000000.xhtml similarity index 80% rename from dir_000007_000000.xhtml rename to dir_000009_000000.xhtml index e1f62f97..2d6ec6b4 100644 --- a/dir_000007_000000.xhtml +++ b/dir_000009_000000.xhtml @@ -5,7 +5,7 @@ -Fab-O-Matic: test_logic -> conf Relation +Fab-O-Matic: test_mqtt -> conf Relation @@ -71,14 +71,14 @@ $(function() {
-

test_logic → conf Relation

File in test/test_logicIncludes file in conf
test_logic.cppconf.hpp
+

test_mqtt → conf Relation

File in test/test_mqttIncludes file in conf
test_mqtt.cppconf.hpp
diff --git a/dir_000009_000001.xhtml b/dir_000009_000001.xhtml index 6cb8f8e9..10e4a2cf 100644 --- a/dir_000009_000001.xhtml +++ b/dir_000009_000001.xhtml @@ -5,7 +5,7 @@ -Fab-O-Matic: test_savedconfig -> include Relation +Fab-O-Matic: test_mqtt -> include Relation @@ -71,14 +71,14 @@ $(function() { +

test_mqtt → include Relation

File in test/test_mqttIncludes file in include
test_mqtt.cppBoardLogic.hpp
test_mqtt.cppEspressif.hpp
test_mqtt.cppFabBackend.hpp
test_mqtt.cppLCDWrapper.hpp
test_mqtt.cppmock / MockMQTTBroker.hpp
test_mqtt.cppmock / MockMrfc522.hpp
test_mqtt.cppRFIDWrapper.hpp
test_mqtt.cppSavedConfig.hpp
test_mqtt.cppTasks.hpp
diff --git a/dir_000010_000001.xhtml b/dir_000010_000001.xhtml index f6d646b1..d50dde71 100644 --- a/dir_000010_000001.xhtml +++ b/dir_000010_000001.xhtml @@ -5,7 +5,7 @@ -Fab-O-Matic: test_tasks -> include Relation +Fab-O-Matic: test_savedconfig -> include Relation @@ -71,14 +71,14 @@ $(function() {
-

test_tasks → include Relation

File in test/test_tasksIncludes file in include
test_tasks.cppEspressif.hpp
test_tasks.cppLogging.hpp
test_tasks.cppTasks.hpp
+

test_savedconfig → include Relation

File in test/test_savedconfigIncludes file in include
test_savedconfig.cppAuthProvider.hpp
test_savedconfig.cppBoardLogic.hpp
test_savedconfig.cppBufferedMsg.hpp
test_savedconfig.cppFabBackend.hpp
test_savedconfig.cppSavedConfig.hpp
diff --git a/dir_000011_000001.xhtml b/dir_000011_000001.xhtml new file mode 100644 index 00000000..eae87081 --- /dev/null +++ b/dir_000011_000001.xhtml @@ -0,0 +1,84 @@ + + + + + + + +Fab-O-Matic: test_tasks -> include Relation + + + + + + + + + +
+
+ + + + + + + +
+
Fab-O-Matic 0.9 +
+
RFID-based ESP32 project to control equipment in a FabLab environment
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+

test_tasks → include Relation

File in test/test_tasksIncludes file in include
test_tasks.cppEspressif.hpp
test_tasks.cppLogging.hpp
test_tasks.cppTasks.hpp
+ + + + diff --git a/dir_13e138d54eb8818da29c3992edef070a.xhtml b/dir_13e138d54eb8818da29c3992edef070a.xhtml index 6b169426..7173b024 100644 --- a/dir_13e138d54eb8818da29c3992edef070a.xhtml +++ b/dir_13e138d54eb8818da29c3992edef070a.xhtml @@ -81,11 +81,13 @@ $(function() {
Directory dependency graph for test:
-
+
+ + @@ -98,7 +100,7 @@ Directories diff --git a/dir_13e138d54eb8818da29c3992edef070a_dep.map b/dir_13e138d54eb8818da29c3992edef070a_dep.map index 70285727..3dc12bf5 100644 --- a/dir_13e138d54eb8818da29c3992edef070a_dep.map +++ b/dir_13e138d54eb8818da29c3992edef070a_dep.map @@ -1,21 +1,24 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/dir_13e138d54eb8818da29c3992edef070a_dep.md5 b/dir_13e138d54eb8818da29c3992edef070a_dep.md5 index 66d6f90d..bf855d0a 100644 --- a/dir_13e138d54eb8818da29c3992edef070a_dep.md5 +++ b/dir_13e138d54eb8818da29c3992edef070a_dep.md5 @@ -1 +1 @@ -a8d4083a3c8f2f7890392c4eceabcc51 \ No newline at end of file +d553499eff27cc7567dc37ad1f8572e9 \ No newline at end of file diff --git a/dir_13e138d54eb8818da29c3992edef070a_dep.svg b/dir_13e138d54eb8818da29c3992edef070a_dep.svg index c89b7a0f..5e5b0dd5 100644 --- a/dir_13e138d54eb8818da29c3992edef070a_dep.svg +++ b/dir_13e138d54eb8818da29c3992edef070a_dep.svg @@ -4,8 +4,8 @@ - + + + + +test_chrono + +clusterdir_13e138d54eb8818da29c3992edef070a + + +test + + + + + +dir_ca44dfdffa4b3c6958d92d9df741e3e1 + + +test_chrono + + + + + +dir_d44c64559bbebec7f509842c48db8b23 + + +include + + + + + +dir_ca44dfdffa4b3c6958d92d9df741e3e1->dir_d44c64559bbebec7f509842c48db8b23 + + + + + + +3 + + + + + + + + + + diff --git a/dir_ca44dfdffa4b3c6958d92d9df741e3e1_dep_org.svg b/dir_ca44dfdffa4b3c6958d92d9df741e3e1_dep_org.svg new file mode 100644 index 00000000..5d3dc642 --- /dev/null +++ b/dir_ca44dfdffa4b3c6958d92d9df741e3e1_dep_org.svg @@ -0,0 +1,51 @@ + + + + + + +test_chrono + +clusterdir_13e138d54eb8818da29c3992edef070a + + +test + + + + + +dir_ca44dfdffa4b3c6958d92d9df741e3e1 + + +test_chrono + + + + + +dir_d44c64559bbebec7f509842c48db8b23 + + +include + + + + + +dir_ca44dfdffa4b3c6958d92d9df741e3e1->dir_d44c64559bbebec7f509842c48db8b23 + + + + + + +3 + + + + + diff --git a/dir_d44c64559bbebec7f509842c48db8b23.xhtml b/dir_d44c64559bbebec7f509842c48db8b23.xhtml index 45dc0b93..d637a042 100644 --- a/dir_d44c64559bbebec7f509842c48db8b23.xhtml +++ b/dir_d44c64559bbebec7f509842c48db8b23.xhtml @@ -149,7 +149,7 @@ Files diff --git a/dir_dbaa8d7e02b71692f61487f3a0357a30.xhtml b/dir_dbaa8d7e02b71692f61487f3a0357a30.xhtml index 943243cb..1d5452fe 100644 --- a/dir_dbaa8d7e02b71692f61487f3a0357a30.xhtml +++ b/dir_dbaa8d7e02b71692f61487f3a0357a30.xhtml @@ -94,7 +94,7 @@ Files diff --git a/dir_dbaa8d7e02b71692f61487f3a0357a30_dep.map b/dir_dbaa8d7e02b71692f61487f3a0357a30_dep.map index 3503a2b6..e5da88cb 100644 --- a/dir_dbaa8d7e02b71692f61487f3a0357a30_dep.map +++ b/dir_dbaa8d7e02b71692f61487f3a0357a30_dep.map @@ -5,6 +5,6 @@ - + diff --git a/dir_dbaa8d7e02b71692f61487f3a0357a30_dep.md5 b/dir_dbaa8d7e02b71692f61487f3a0357a30_dep.md5 index deae37fb..8fb23aec 100644 --- a/dir_dbaa8d7e02b71692f61487f3a0357a30_dep.md5 +++ b/dir_dbaa8d7e02b71692f61487f3a0357a30_dep.md5 @@ -1 +1 @@ -f90d6dc5ed70fb4b30673d7ab9db00f8 \ No newline at end of file +27b66ff86fd70d8fc95e28e16bb8f4d8 \ No newline at end of file diff --git a/dir_dbaa8d7e02b71692f61487f3a0357a30_dep.svg b/dir_dbaa8d7e02b71692f61487f3a0357a30_dep.svg index 720c8e55..9ad84697 100644 --- a/dir_dbaa8d7e02b71692f61487f3a0357a30_dep.svg +++ b/dir_dbaa8d7e02b71692f61487f3a0357a30_dep.svg @@ -74,8 +74,8 @@ - -3 + +4 diff --git a/dir_dbaa8d7e02b71692f61487f3a0357a30_dep_org.svg b/dir_dbaa8d7e02b71692f61487f3a0357a30_dep_org.svg index 744c3b24..82184852 100644 --- a/dir_dbaa8d7e02b71692f61487f3a0357a30_dep_org.svg +++ b/dir_dbaa8d7e02b71692f61487f3a0357a30_dep_org.svg @@ -64,8 +64,8 @@ - -3 + +4 diff --git a/en-_u_s_8hpp.xhtml b/en-_u_s_8hpp.xhtml index 9b7ff1eb..26e95eb9 100644 --- a/en-_u_s_8hpp.xhtml +++ b/en-_u_s_8hpp.xhtml @@ -191,7 +191,7 @@ Variables diff --git a/en-_u_s_8hpp_source.xhtml b/en-_u_s_8hpp_source.xhtml index 8cb23321..8c495ce2 100644 --- a/en-_u_s_8hpp_source.xhtml +++ b/en-_u_s_8hpp_source.xhtml @@ -208,7 +208,7 @@ $(document).ready(function() { init_codefold(0); }); diff --git a/files.xhtml b/files.xhtml index e27b9f22..37c6c548 100644 --- a/files.xhtml +++ b/files.xhtml @@ -136,22 +136,24 @@ $(function() { - - - - - - - - - - + + + + + + + + + + + +

Directories

 test_chrono
 
 test_logic
 
 test_mqtt
 SavedConfig.cpp
 Tasks.cpp
  test
  test_logic
 test_common.cpp
 test_common.h
 test_logic.cpp
  test_mqtt
 test_mqtt.cpp
  test_savedconfig
 test_savedconfig.cpp
  test_tasks
 test_tasks.cpp
  test_chrono
 test_chrono.cpp
  test_logic
 test_common.cpp
 test_common.h
 test_logic.cpp
  test_mqtt
 test_mqtt.cpp
  test_savedconfig
 test_savedconfig.cpp
  test_tasks
 test_tasks.cpp
diff --git a/functions.xhtml b/functions.xhtml index 4aa0e30f..8f24e0c2 100644 --- a/functions.xhtml +++ b/functions.xhtml @@ -76,7 +76,7 @@ $(function() {

- a -