项目参考资料: https://github.com/localsend/protocol 、https://kindlemodding.org/kindle-dev/awesome-window-manager
需要设备越狱, 并且安装 Python 与 KUAL 如果需要发送文件功能, 还需要魔改版kindle explorer
{
"alias": "",
"port": 53317,
"http": false,
"dest": "/mnt/us/localsend",
"book_dest": "/mnt/us/documents",
"book_extensions": [".azw3", ".mobi", ".kfx", ".pdf", ".txt", ".prc"],
"pin": "1234",
"device_model": "amazon",
"device_type": "mobile",
"announce_interval": 5,
"session_timeout": 600,
"chunk_size": 65536
}| 参数 | 说明 | 默认值 |
|---|---|---|
| alias | 设备名称 | 空(空时显示为Kindle) |
| port | 监听端口 | 53317 |
| http | http模式 | false |
| dest | 接收文件的保存路径 | /mnt/us/localsend |
| book_dest | 接收书籍的保存路径 | /mnt/us/documents |
| book_extensions | 识别为书籍的文件扩展名列表 | [".azw3", ".mobi", ".kfx", ".pdf", ".txt", ".prc"] |
| pin | 连接 PIN 码 | 1234 |
| device_model | 设备型号, 用于协议中的设备信息 | amazon |
| device_type | 设备类型, 用于协议中的设备信息 | mobile |
| announce_interval | 设备信息广播间隔 | 5 |
| session_timeout | 会话超时时间 | 600 |
| chunk_size | 文件块大小 | 65536 |