+
+
+ {#if !isPaired}
+
+ {:else}
+
+
+
+
+ {#if deployState === 'transferring' || deployState === 'flashing'}
+
+ {:else}
+
+ {/if}
+
+ {/if}
+
+
+
+
+ HEX:
+
+ {pendingHex ? `${Math.round(pendingHex.length / 1024)} KB siap` : 'Belum ada (compile di editor)'}
+
+
+
+
+ {#if deployState !== 'idle' && deployState !== 'error'}
+
+
{deployMessage}
+ {#if totalChunks > 0}
+
+
+ Chunk {completedChunks}/{totalChunks} ({progressPercent}%)
+
+ {/if}
+
+ {/if}
+
+
+ {#if isPaired}
+
+
+ {#if !serialActive}
+
Serial data akan dikirim ke editor ({baudRate} baud).
+ {:else}
+
Serial monitor aktif — data dikirim ke editor.
+ {/if}
+
+ {/if}
+
+
+ {#if deployState === 'idle' && errorMessage}
+
+ {/if}
+
+
+ {#if deployState === 'error'}
+
+
⚠
+
{errorMessage}
+
+
+ {/if}
+
+ {#if !bleSupported && deployState !== 'error'}
+
+
Web Bluetooth tidak didukung di browser ini. Gunakan Chrome Android.
+
+ {/if}
+