{"nodes": [{"id": "$graphify-root$_main_bridge_serial_c", "label": "bridge_serial.c", "file_type": "code", "source_file": "main/bridge_serial.c", "source_location": "L1"}, {"id": "$graphify-root$_main_bridge_serial_get_u32", "label": "get_u32()", "file_type": "code", "source_file": "main/bridge_serial.c", "source_location": "L41", "_callable": true}, {"id": "$graphify-root$_main_bridge_serial_open_port", "label": "open_port()", "file_type": "code", "source_file": "main/bridge_serial.c", "source_location": "L46", "_callable": true}, {"id": "$graphify-root$_main_bridge_serial_send_frame", "label": "send_frame()", "file_type": "code", "source_file": "main/bridge_serial.c", "source_location": "L68", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/bridge_serial.c"}, {"id": "$graphify-root$_main_bridge_serial_writer_task", "label": "writer_task()", "file_type": "code", "source_file": "main/bridge_serial.c", "source_location": "L84", "_callable": true}, {"id": "$graphify-root$_main_bridge_serial_handle_frame", "label": "handle_frame()", "file_type": "code", "source_file": "main/bridge_serial.c", "source_location": "L114", "_callable": true}, {"id": "$graphify-root$_main_bridge_serial_link_task", "label": "link_task()", "file_type": "code", "source_file": "main/bridge_serial.c", "source_location": "L146", "_callable": true}, {"id": "$graphify-root$_main_bridge_serial_bridge_serial_start", "label": "bridge_serial_start()", "file_type": "code", "source_file": "main/bridge_serial.c", "source_location": "L194", "_callable": true}, {"id": "bridge_rx_cb_t", "label": "bridge_rx_cb_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/bridge_serial.c"}, {"id": "$graphify-root$_main_bridge_serial_bridge_serial_send", "label": "bridge_serial_send()", "file_type": "code", "source_file": "main/bridge_serial.c", "source_location": "L216", "_callable": true}, {"id": "$graphify-root$_main_bridge_serial_bridge_serial_set_channel", "label": "bridge_serial_set_channel()", "file_type": "code", "source_file": "main/bridge_serial.c", "source_location": "L231", "_callable": true}, {"id": "$graphify-root$_main_bridge_serial_bridge_serial_status", "label": "bridge_serial_status()", "file_type": "code", "source_file": "main/bridge_serial.c", "source_location": "L239", "_callable": true}], "edges": [{"source": "$graphify-root$_main_bridge_serial_c", "target": "$graphify-root$_main_bridge_serial_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L2", "weight": 1.0, "target_file": "$graphify-root$/main/bridge_serial.h"}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "errno", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "fcntl", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "termios", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L8", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "unistd", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L9", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L10", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "freertos", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L11", "weight": 1.0, "metadata": {"raw_include": "freertos/FreeRTOS.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "queue", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L12", "weight": 1.0, "metadata": {"raw_include": "freertos/queue.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "semphr", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L13", "weight": 1.0, "metadata": {"raw_include": "freertos/semphr.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "task", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L14", "weight": 1.0, "metadata": {"raw_include": "freertos/task.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "bridge_proto", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L15", "weight": 1.0, "metadata": {"raw_include": "bridge_proto.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "$graphify-root$_main_bridge_serial_get_u32", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L41", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "$graphify-root$_main_bridge_serial_open_port", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L46", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "$graphify-root$_main_bridge_serial_send_frame", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L68", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_send_frame", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L68", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "$graphify-root$_main_bridge_serial_writer_task", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L84", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "$graphify-root$_main_bridge_serial_handle_frame", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L114", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "$graphify-root$_main_bridge_serial_link_task", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L146", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "$graphify-root$_main_bridge_serial_bridge_serial_start", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L194", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_bridge_serial_start", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L194", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_bridge_serial_bridge_serial_start", "target": "bridge_rx_cb_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L194", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "$graphify-root$_main_bridge_serial_bridge_serial_send", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L216", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_bridge_serial_send", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L216", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "$graphify-root$_main_bridge_serial_bridge_serial_set_channel", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L231", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_bridge_serial_set_channel", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L231", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_bridge_serial_c", "target": "$graphify-root$_main_bridge_serial_bridge_serial_status", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L239", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_handle_frame", "target": "$graphify-root$_main_bridge_serial_get_u32", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L131", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_link_task", "target": "$graphify-root$_main_bridge_serial_open_port", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L155", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_link_task", "target": "$graphify-root$_main_bridge_serial_send_frame", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L169", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_link_task", "target": "$graphify-root$_main_bridge_serial_handle_frame", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L188", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_bridge_serial_send", "target": "$graphify-root$_main_bridge_serial_send_frame", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L224", "weight": 1.0}, {"source": "$graphify-root$_main_bridge_serial_bridge_serial_set_channel", "target": "$graphify-root$_main_bridge_serial_send_frame", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "main/bridge_serial.c", "source_location": "L236", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_main_bridge_serial_open_port", "callee": "tcgetattr", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L53", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_open_port", "callee": "cfmakeraw", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L54", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_open_port", "callee": "cfsetispeed", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L55", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_open_port", "callee": "cfsetospeed", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L56", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_open_port", "callee": "tcsetattr", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L58", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_open_port", "callee": "tcflush", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L60", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_open_port", "callee": "fcntl", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L62", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_open_port", "callee": "fcntl", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L62", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_send_frame", "callee": "bridge_encode", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L71", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_send_frame", "callee": "xQueueSend", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L75", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_writer_task", "callee": "xQueueReceive", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L89", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_writer_task", "callee": "pdMS_TO_TICKS", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L89", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_writer_task", "callee": "xSemaphoreTake", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L92", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_writer_task", "callee": "write", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L97", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_writer_task", "callee": "vTaskDelay", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L104", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_writer_task", "callee": "pdMS_TO_TICKS", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L104", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_writer_task", "callee": "xSemaphoreGive", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L110", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_handle_frame", "callee": "s_cb", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L124", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_handle_frame", "callee": "memcpy", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L129", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_handle_frame", "callee": "ESP_LOGI", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L139", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "memset", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L151", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "xSemaphoreTake", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L154", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "memset", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L158", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "ESP_LOGI", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L159", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "ESP_LOGW", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L161", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "xSemaphoreGive", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L164", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "vTaskDelay", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L166", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "pdMS_TO_TICKS", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L166", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "read", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L171", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "vTaskDelay", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L173", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "pdMS_TO_TICKS", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L173", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "xSemaphoreTake", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L177", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "close", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L178", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "xSemaphoreGive", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L181", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "ESP_LOGW", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L182", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "vTaskDelay", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L183", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "pdMS_TO_TICKS", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L183", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_link_task", "callee": "bridge_decode_feed", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L187", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_bridge_serial_start", "callee": "strlen", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L199", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_bridge_serial_start", "callee": "snprintf", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L202", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_bridge_serial_start", "callee": "xSemaphoreCreateMutex", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L204", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_bridge_serial_start", "callee": "xQueueCreate", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L205", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_bridge_serial_start", "callee": "xTaskCreate", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L210", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_bridge_serial_start", "callee": "xTaskCreate", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L211", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_bridge_serial_start", "callee": "ESP_LOGW", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L212", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_bridge_serial_send", "callee": "memcpy", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L222", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_bridge_serial_send", "callee": "memcpy", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L223", "receiver": null}, {"caller_nid": "$graphify-root$_main_bridge_serial_bridge_serial_status", "callee": "snprintf", "is_member_call": false, "source_file": "main/bridge_serial.c", "source_location": "L242", "receiver": null}], "_cached_target_files": ["$graphify-root$/main/bridge_serial.h"]}