/*
 * Hermes Node Android
 * Copyright (C) 2026 Stefy Lanza <stefy@nexlab.net>
 * SPDX-License-Identifier: GPL-3.0-or-later
 */
package net.nexlab.hermesnodeandroid

object ProtocolMessages {
    fun registration(nodeName: String): String = """
        {
          "type": "register",
          "node_name": "$nodeName",
          "version": "0.1.0-android",
          "capabilities": ["android_status"],
          "capability_info": {
            "platform": "android",
            "enable_exec": false,
            "enable_camera_control": false,
            "enable_audio_control": false
          }
        }
    """.trimIndent()

    fun heartbeat(timestampSeconds: Long): String = """
        {
          "type": "heartbeat",
          "timestamp": $timestampSeconds
        }
    """.trimIndent()
}
