commands.json 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783
  1. {
  2. "commands": [{
  3. "help": "Get the current size of free heap memory",
  4. "hascb": false,
  5. "name": "free"
  6. }, {
  7. "help": "Services",
  8. "hascb": true,
  9. "argtable": [{
  10. "glossary": "Spotify (cspot)",
  11. "longopts": "cspot",
  12. "checkbox": true,
  13. "remark": false,
  14. "hasvalue": false,
  15. "mincount": 0,
  16. "maxcount": 1
  17. }, {
  18. "glossary": "Bluetooth Speaker",
  19. "longopts": "BT_Speaker",
  20. "checkbox": true,
  21. "remark": false,
  22. "hasvalue": false,
  23. "mincount": 0,
  24. "maxcount": 1
  25. }, {
  26. "glossary": "AirPlay",
  27. "longopts": "AirPlay",
  28. "checkbox": true,
  29. "remark": false,
  30. "hasvalue": false,
  31. "mincount": 0,
  32. "maxcount": 1
  33. }, {
  34. "datatype": "Disabled|Telnet Only|Telnet and Serial",
  35. "glossary": "Telnet server. Use only for troubleshooting",
  36. "longopts": "telnet",
  37. "shortopts": "t",
  38. "checkbox": false,
  39. "remark": false,
  40. "hasvalue": true,
  41. "mincount": 0,
  42. "maxcount": 1
  43. }, {
  44. "glossary": "System Statistics. Use only for troubleshooting",
  45. "longopts": "stats",
  46. "checkbox": true,
  47. "remark": false,
  48. "hasvalue": false,
  49. "mincount": 0,
  50. "maxcount": 1
  51. }],
  52. "hint": " [--cspot] [--BT_Speaker] [--AirPlay] [-t Disabled|Telnet Only|Telnet and Serial] [--stats]",
  53. "name": "cfg-syst-services"
  54. }, {
  55. "help": "Get minimum size of free heap memory found during execution",
  56. "hascb": false,
  57. "name": "heap"
  58. }, {
  59. "help": "Device Name",
  60. "hascb": true,
  61. "argtable": [{
  62. "datatype": "squeezelite-1fe714",
  63. "glossary": "New Name",
  64. "longopts": "new_name",
  65. "shortopts": "n",
  66. "checkbox": false,
  67. "remark": false,
  68. "hasvalue": true,
  69. "mincount": 0,
  70. "maxcount": 1
  71. }],
  72. "hint": " [-n squeezelite-1fe714]",
  73. "name": "cfg-syst-name"
  74. }, {
  75. "help": "Get version of chip and SDK",
  76. "hascb": false,
  77. "name": "version"
  78. }, {
  79. "help": "Reboot system",
  80. "hascb": false,
  81. "name": "restart"
  82. }, {
  83. "help": "Reboot system to Recovery",
  84. "hascb": false,
  85. "name": "recovery"
  86. }, {
  87. "help": "Reboot system to Squeezelite",
  88. "hascb": false,
  89. "name": "restart_ota"
  90. }, {
  91. "help": "Preset Options",
  92. "hascb": true,
  93. "argtable": [{
  94. "datatype": "SqueezeAMP|T-WATCH2020 by LilyGo",
  95. "glossary": "Known Board Name.\nFor known boards, several systems parameters will be updated",
  96. "longopts": "model_config",
  97. "checkbox": false,
  98. "remark": false,
  99. "hasvalue": true,
  100. "mincount": 1,
  101. "maxcount": 1
  102. }],
  103. "hint": " --model_config=SqueezeAMP|T-WATCH2020 by LilyGo",
  104. "name": "cfg-hw-preset"
  105. }, {
  106. "help": "General Audio Options",
  107. "hascb": true,
  108. "argtable": [{
  109. "datatype": "Headphones|Subwoofer",
  110. "glossary": "On supported DAC, determines the audio jack behavior. Selecting headphones will cause the external amp to be muted on insert, while selecting Subwoofer will keep the amp active all the time.",
  111. "longopts": "jack_behavior",
  112. "shortopts": "j",
  113. "checkbox": false,
  114. "remark": false,
  115. "hasvalue": true,
  116. "mincount": 0,
  117. "maxcount": 1
  118. }],
  119. "hint": " [-j Headphones|Subwoofer]",
  120. "name": "cfg-audio-general"
  121. }, {
  122. "help": "Bluetooth Audio Output Options",
  123. "hascb": true,
  124. "argtable": [{
  125. "datatype": "name",
  126. "glossary": "Bluetooth audio device name. This applies when output mode is Bluetooth",
  127. "longopts": "sink_name",
  128. "shortopts": "n",
  129. "checkbox": false,
  130. "remark": false,
  131. "hasvalue": true,
  132. "mincount": 1,
  133. "maxcount": 1
  134. }, {
  135. "datatype": "pin",
  136. "glossary": "Bluetooth security/pin code. Usually 0000. This applies when output mode is Bluetooth",
  137. "longopts": "pin_code",
  138. "shortopts": "p",
  139. "checkbox": false,
  140. "remark": false,
  141. "hasvalue": true,
  142. "mincount": 1,
  143. "maxcount": 1
  144. }],
  145. "hint": " -n name -p pin",
  146. "name": "cfg-audio-bt_source"
  147. }, {
  148. "help": "DAC Options",
  149. "hascb": true,
  150. "argtable": [{
  151. "datatype": "TAS57xx|TAS5713|AC101|WM8978|ES8388|",
  152. "glossary": "DAC Model Name",
  153. "longopts": "model_name",
  154. "checkbox": false,
  155. "remark": false,
  156. "hasvalue": true,
  157. "mincount": 1,
  158. "maxcount": 1
  159. }, {
  160. "datatype": "<n>",
  161. "glossary": "Clock GPIO. e.g. 33",
  162. "longopts": "clock",
  163. "checkbox": false,
  164. "remark": false,
  165. "hasvalue": true,
  166. "mincount": 0,
  167. "maxcount": 1
  168. }, {
  169. "datatype": "<n>",
  170. "glossary": "Word Select GPIO. e.g. 25",
  171. "longopts": "wordselect",
  172. "checkbox": false,
  173. "remark": false,
  174. "hasvalue": true,
  175. "mincount": 0,
  176. "maxcount": 1
  177. }, {
  178. "datatype": "<n>",
  179. "glossary": "Data GPIO. e.g. 32",
  180. "longopts": "data",
  181. "checkbox": false,
  182. "remark": false,
  183. "hasvalue": true,
  184. "mincount": 0,
  185. "maxcount": 1
  186. }, {
  187. "datatype": "<n>",
  188. "glossary": "Mute GPIO. e.g. 14",
  189. "longopts": "mute_gpio",
  190. "checkbox": false,
  191. "remark": false,
  192. "hasvalue": true,
  193. "mincount": 0,
  194. "maxcount": 1
  195. }, {
  196. "glossary": "Mute GPIO level. Checked=HIGH, Unchecked=LOW",
  197. "longopts": "mute_level",
  198. "checkbox": true,
  199. "remark": false,
  200. "hasvalue": false,
  201. "mincount": 0,
  202. "maxcount": 1
  203. }, {
  204. "datatype": "<n>",
  205. "glossary": "SDA GPIO. e.g. 27",
  206. "longopts": "dac_sda",
  207. "checkbox": false,
  208. "remark": false,
  209. "hasvalue": true,
  210. "mincount": 0,
  211. "maxcount": 1
  212. }, {
  213. "datatype": "<n>",
  214. "glossary": "SCL GPIO. e.g. 26",
  215. "longopts": "dac_scl",
  216. "checkbox": false,
  217. "remark": false,
  218. "hasvalue": true,
  219. "mincount": 0,
  220. "maxcount": 1
  221. }, {
  222. "datatype": "<n>",
  223. "glossary": "I2C device address. e.g. 106",
  224. "longopts": "dac_i2c",
  225. "checkbox": false,
  226. "remark": false,
  227. "hasvalue": true,
  228. "mincount": 0,
  229. "maxcount": 1
  230. }, {
  231. "glossary": "Clear configuration",
  232. "longopts": "clear",
  233. "checkbox": true,
  234. "remark": false,
  235. "hasvalue": false,
  236. "mincount": 0,
  237. "maxcount": 1
  238. }],
  239. "hint": " --model_name=TAS57xx|TAS5713|AC101|WM8978|ES8388| [--clock=<n>] [--wordselect=<n>] [--data=<n>] [--mute_gpio=<n>] [--mute_level] [--dac_sda=<n>] [--dac_scl=<n>] [--dac_i2c=<n>] [--clear]",
  240. "name": "cfg-hw-dac"
  241. }, {
  242. "help": "SPDIF Options",
  243. "hascb": true,
  244. "argtable": [{
  245. "datatype": "<n>",
  246. "glossary": "Clock GPIO. e.g. 33",
  247. "longopts": "clock",
  248. "checkbox": false,
  249. "remark": false,
  250. "hasvalue": true,
  251. "mincount": 1,
  252. "maxcount": 1
  253. }, {
  254. "datatype": "<n>",
  255. "glossary": "Word Select GPIO. e.g. 25",
  256. "longopts": "wordselect",
  257. "checkbox": false,
  258. "remark": false,
  259. "hasvalue": true,
  260. "mincount": 1,
  261. "maxcount": 1
  262. }, {
  263. "datatype": "<n>",
  264. "glossary": "Data GPIO. e.g. 32",
  265. "longopts": "data",
  266. "checkbox": false,
  267. "remark": false,
  268. "hasvalue": true,
  269. "mincount": 1,
  270. "maxcount": 1
  271. }, {
  272. "glossary": "Clear configuration",
  273. "longopts": "clear",
  274. "checkbox": true,
  275. "remark": false,
  276. "hasvalue": false,
  277. "mincount": 0,
  278. "maxcount": 1
  279. }],
  280. "hint": " --clock=<n> --wordselect=<n> --data=<n> [--clear]",
  281. "name": "cfg-hw-spdif"
  282. }, {
  283. "help": "Rotary Control",
  284. "hascb": true,
  285. "argtable": [{
  286. "datatype": "remark",
  287. "glossary": "One rotary encoder is supported, quadrature shift with press. Such encoders usually have 2 pins for encoders (A and B), and common C that must be set to ground and an optional SW pin for press. A, B and SW must be pulled up, so automatic pull-up is provided by ESP32, but you can add your own resistors. A bit of filtering on A and B (~470nF) helps for debouncing which is not made by software.\r\nEncoder is normally hard-coded to respectively knob left, right and push on LMS and to volume down/up/play toggle on BT and AirPlay.",
  288. "checkbox": false,
  289. "remark": true,
  290. "hasvalue": false,
  291. "mincount": 1,
  292. "maxcount": 1
  293. }, {
  294. "datatype": "gpio",
  295. "glossary": "A/DT gpio",
  296. "longopts": "A",
  297. "checkbox": false,
  298. "remark": false,
  299. "hasvalue": true,
  300. "mincount": 1,
  301. "maxcount": 1
  302. }, {
  303. "datatype": "gpio",
  304. "glossary": "B/CLK gpio",
  305. "longopts": "B",
  306. "checkbox": false,
  307. "remark": false,
  308. "hasvalue": true,
  309. "mincount": 1,
  310. "maxcount": 1
  311. }, {
  312. "datatype": "gpio",
  313. "glossary": "Switch gpio",
  314. "longopts": "SW",
  315. "checkbox": false,
  316. "remark": false,
  317. "hasvalue": true,
  318. "mincount": 0,
  319. "maxcount": 1
  320. }, {
  321. "glossary": "Force Volume down/up/play toggle all the time (even in LMS). ",
  322. "longopts": "volume_lock",
  323. "checkbox": true,
  324. "remark": false,
  325. "hasvalue": false,
  326. "mincount": 0,
  327. "maxcount": 1
  328. }, {
  329. "glossary": "Enable alternate mode mode on long-press. In that mode, left is previous, right is next and press is toggle. Every long press on SW alternates between modes (the main mode actual behavior depends on 'volume').",
  330. "longopts": "longpress",
  331. "checkbox": true,
  332. "remark": false,
  333. "hasvalue": false,
  334. "mincount": 0,
  335. "maxcount": 1
  336. }, {
  337. "glossary": "Single knob full navigation. Left, Right and Press is navigation, with Press always going to lower submenu item. Longpress is 'Play', Double press is 'Back', a quick left-right movement on the encoder is 'Pause'",
  338. "longopts": "knobonly",
  339. "checkbox": true,
  340. "remark": false,
  341. "hasvalue": false,
  342. "mincount": 0,
  343. "maxcount": 1
  344. }, {
  345. "datatype": "ms",
  346. "glossary": "The speed of double click (or left-right) when knob only option is enabled. Be aware that the longer you set double click speed, the less responsive the interface will be. ",
  347. "longopts": "timer",
  348. "checkbox": false,
  349. "remark": false,
  350. "hasvalue": true,
  351. "mincount": 0,
  352. "maxcount": 1
  353. }, {
  354. "glossary": "Clear configuration",
  355. "longopts": "clear",
  356. "checkbox": true,
  357. "remark": false,
  358. "hasvalue": false,
  359. "mincount": 0,
  360. "maxcount": 1
  361. }, {
  362. "glossary": "Send button events as raw values to LMS. No remapping is possible when this is enabled",
  363. "longopts": "raw_mode",
  364. "checkbox": true,
  365. "remark": false,
  366. "hasvalue": false,
  367. "mincount": 0,
  368. "maxcount": 1
  369. }],
  370. "hint": " remark --A=gpio --B=gpio [--SW=gpio] [--volume_lock] [--longpress] [--knobonly] [--timer=ms] [--clear] [--raw_mode]",
  371. "name": "cfg-hw-rotary"
  372. }, {
  373. "help": "I2C Bus Parameters",
  374. "hascb": true,
  375. "argtable": [{
  376. "datatype": "0|1",
  377. "glossary": "Port",
  378. "longopts": "port",
  379. "shortopts": "p",
  380. "checkbox": false,
  381. "remark": false,
  382. "hasvalue": true,
  383. "mincount": 0,
  384. "maxcount": 1
  385. }, {
  386. "datatype": "int",
  387. "glossary": "Frequency (Hz) e.g. 100000",
  388. "longopts": "speed",
  389. "shortopts": "f",
  390. "checkbox": false,
  391. "remark": false,
  392. "hasvalue": true,
  393. "mincount": 0,
  394. "maxcount": 1
  395. }, {
  396. "datatype": "<n>",
  397. "glossary": "SDA GPIO. e.g. 19",
  398. "longopts": "sda",
  399. "shortopts": "d",
  400. "checkbox": false,
  401. "remark": false,
  402. "hasvalue": true,
  403. "mincount": 0,
  404. "maxcount": 1
  405. }, {
  406. "datatype": "<n>",
  407. "glossary": "SCL GPIO. e.g. 18",
  408. "longopts": "scl",
  409. "shortopts": "c",
  410. "checkbox": false,
  411. "remark": false,
  412. "hasvalue": true,
  413. "mincount": 0,
  414. "maxcount": 1
  415. }, {
  416. "glossary": "Clear configuration",
  417. "longopts": "clear",
  418. "checkbox": true,
  419. "remark": false,
  420. "hasvalue": false,
  421. "mincount": 0,
  422. "maxcount": 1
  423. }],
  424. "hint": " [-p 0|1] [-f int] [-d <n>] [-c <n>] [--clear]",
  425. "name": "cfg-hw-i2c"
  426. }, {
  427. "help": "SPI Bus Parameters",
  428. "hascb": true,
  429. "argtable": [{
  430. "datatype": "<n>",
  431. "glossary": "Data OUT GPIO",
  432. "longopts": "data",
  433. "shortopts": "d",
  434. "checkbox": false,
  435. "remark": false,
  436. "hasvalue": true,
  437. "mincount": 0,
  438. "maxcount": 1
  439. }, {
  440. "datatype": "<n>",
  441. "glossary": "Data IN GPIO",
  442. "longopts": "miso",
  443. "shortopts": "d",
  444. "checkbox": false,
  445. "remark": false,
  446. "hasvalue": true,
  447. "mincount": 0,
  448. "maxcount": 1
  449. }, {
  450. "datatype": "<n>",
  451. "glossary": "Clock GPIO",
  452. "longopts": "clk",
  453. "shortopts": "k",
  454. "checkbox": false,
  455. "remark": false,
  456. "hasvalue": true,
  457. "mincount": 0,
  458. "maxcount": 1
  459. }, {
  460. "datatype": "<n>",
  461. "glossary": "DC GPIO",
  462. "longopts": "dc",
  463. "shortopts": "c",
  464. "checkbox": false,
  465. "remark": false,
  466. "hasvalue": true,
  467. "mincount": 0,
  468. "maxcount": 1
  469. }, {
  470. "datatype": "1|2",
  471. "glossary": "SPI Host Number",
  472. "longopts": "host",
  473. "shortopts": "h",
  474. "checkbox": false,
  475. "remark": false,
  476. "hasvalue": true,
  477. "mincount": 0,
  478. "maxcount": 1
  479. }, {
  480. "glossary": "Clear configuration",
  481. "longopts": "clear",
  482. "checkbox": true,
  483. "remark": false,
  484. "hasvalue": false,
  485. "mincount": 0,
  486. "maxcount": 1
  487. }],
  488. "hint": " [-d <n>] [-d <n>] [-k <n>] [-c <n>] [-h 1|2] [--clear]",
  489. "name": "cfg-hw-spi"
  490. }, {
  491. "help": "Scan I2C bus for devices",
  492. "hascb": false,
  493. "name": "i2cdetect"
  494. }, {
  495. "help": "Read registers visible through the I2C bus",
  496. "hascb": false,
  497. "argtable": [{
  498. "datatype": "<chip_addr>",
  499. "glossary": "Specify the address of the chip on that bus",
  500. "longopts": "chip",
  501. "shortopts": "c",
  502. "checkbox": false,
  503. "remark": false,
  504. "hasvalue": true,
  505. "mincount": 1,
  506. "maxcount": 1
  507. }, {
  508. "datatype": "<register_addr>",
  509. "glossary": "Specify the address on that chip to read from",
  510. "longopts": "register",
  511. "shortopts": "r",
  512. "checkbox": false,
  513. "remark": false,
  514. "hasvalue": true,
  515. "mincount": 0,
  516. "maxcount": 1
  517. }, {
  518. "datatype": "<length>",
  519. "glossary": "Specify the length to read from that data address",
  520. "longopts": "length",
  521. "shortopts": "l",
  522. "checkbox": false,
  523. "remark": false,
  524. "hasvalue": true,
  525. "mincount": 0,
  526. "maxcount": 1
  527. }],
  528. "hint": " -c <chip_addr> [-r <register_addr>] [-l <length>]",
  529. "name": "i2cget"
  530. }, {
  531. "help": "Set registers visible through the I2C bus",
  532. "hascb": false,
  533. "argtable": [{
  534. "datatype": "<chip_addr>",
  535. "glossary": "Specify the address of the chip on that bus",
  536. "longopts": "chip",
  537. "shortopts": "c",
  538. "checkbox": false,
  539. "remark": false,
  540. "hasvalue": true,
  541. "mincount": 1,
  542. "maxcount": 1
  543. }, {
  544. "datatype": "<n>",
  545. "glossary": "Specify the i2c port (0|2)",
  546. "longopts": "port",
  547. "shortopts": "p",
  548. "checkbox": false,
  549. "remark": false,
  550. "hasvalue": true,
  551. "mincount": 0,
  552. "maxcount": 1
  553. }, {
  554. "datatype": "<register_addr>",
  555. "glossary": "Specify the address on that chip to read from",
  556. "longopts": "register",
  557. "shortopts": "r",
  558. "checkbox": false,
  559. "remark": false,
  560. "hasvalue": true,
  561. "mincount": 0,
  562. "maxcount": 1
  563. }, {
  564. "datatype": "<data>",
  565. "glossary": "Specify the data to write to that data address",
  566. "checkbox": false,
  567. "remark": false,
  568. "hasvalue": true,
  569. "mincount": 0,
  570. "maxcount": 256
  571. }],
  572. "hint": " -c <chip_addr> [-p <n>] [-r <register_addr>] [<data>]...",
  573. "name": "i2cset"
  574. }, {
  575. "help": "Examine registers visible through the I2C bus",
  576. "hascb": false,
  577. "argtable": [{
  578. "datatype": "<chip_addr>",
  579. "glossary": "Specify the address of the chip on that bus",
  580. "longopts": "chip",
  581. "shortopts": "c",
  582. "checkbox": false,
  583. "remark": false,
  584. "hasvalue": true,
  585. "mincount": 1,
  586. "maxcount": 1
  587. }, {
  588. "datatype": "<size>",
  589. "glossary": "Specify the size of each read",
  590. "longopts": "size",
  591. "shortopts": "s",
  592. "checkbox": false,
  593. "remark": false,
  594. "hasvalue": true,
  595. "mincount": 0,
  596. "maxcount": 1
  597. }],
  598. "hint": " -c <chip_addr> [-s <size>]",
  599. "name": "i2cdump"
  600. }, {
  601. "help": "Display",
  602. "hascb": true,
  603. "argtable": [{
  604. "datatype": "<I2C|SPI>",
  605. "glossary": "Interface (default I2C)",
  606. "longopts": "type",
  607. "shortopts": "t",
  608. "checkbox": false,
  609. "remark": false,
  610. "hasvalue": true,
  611. "mincount": 0,
  612. "maxcount": 1
  613. }, {
  614. "datatype": "<SH1106|SSD1306|SSD1322|SSD1326|SSD1327|SSD1675|SSD1351|ST7735|ST7789|ILI9341|>",
  615. "glossary": "Driver",
  616. "longopts": "driver",
  617. "shortopts": "d",
  618. "checkbox": false,
  619. "remark": false,
  620. "hasvalue": true,
  621. "mincount": 0,
  622. "maxcount": 1
  623. }, {
  624. "datatype": "-1|1|4",
  625. "glossary": "Bit Depth (only for SSD1326 displays)",
  626. "longopts": "depth",
  627. "shortopts": "p",
  628. "checkbox": false,
  629. "remark": false,
  630. "hasvalue": true,
  631. "mincount": 0,
  632. "maxcount": 1
  633. }, {
  634. "datatype": "<n>",
  635. "glossary": "I2C address (default 60)",
  636. "longopts": "address",
  637. "shortopts": "a",
  638. "checkbox": false,
  639. "remark": false,
  640. "hasvalue": true,
  641. "mincount": 0,
  642. "maxcount": 1
  643. }, {
  644. "datatype": "<n>",
  645. "glossary": "Width",
  646. "longopts": "width",
  647. "shortopts": "w",
  648. "checkbox": false,
  649. "remark": false,
  650. "hasvalue": true,
  651. "mincount": 1,
  652. "maxcount": 1
  653. }, {
  654. "datatype": "<n>",
  655. "glossary": "Height",
  656. "longopts": "height",
  657. "shortopts": "h",
  658. "checkbox": false,
  659. "remark": false,
  660. "hasvalue": true,
  661. "mincount": 1,
  662. "maxcount": 1
  663. }, {
  664. "glossary": "Rotate 180 degrees",
  665. "longopts": "rotate",
  666. "shortopts": "r",
  667. "checkbox": true,
  668. "remark": false,
  669. "hasvalue": false,
  670. "mincount": 0,
  671. "maxcount": 1
  672. }, {
  673. "glossary": "Flip horizontally",
  674. "longopts": "hf",
  675. "checkbox": true,
  676. "remark": false,
  677. "hasvalue": false,
  678. "mincount": 0,
  679. "maxcount": 1
  680. }, {
  681. "glossary": "Flip vertically",
  682. "longopts": "vf",
  683. "checkbox": true,
  684. "remark": false,
  685. "hasvalue": false,
  686. "mincount": 0,
  687. "maxcount": 1
  688. }, {
  689. "datatype": "<n>",
  690. "glossary": "SPI Only. Bus Speed (Default 8000000). SPI interface can work up to 26MHz~40MHz",
  691. "longopts": "speed",
  692. "shortopts": "s",
  693. "checkbox": false,
  694. "remark": false,
  695. "hasvalue": true,
  696. "mincount": 0,
  697. "maxcount": 1
  698. }, {
  699. "datatype": "<n>",
  700. "glossary": "SPI Only. CS GPIO (for SPI displays)",
  701. "longopts": "cs",
  702. "shortopts": "b",
  703. "checkbox": false,
  704. "remark": false,
  705. "hasvalue": true,
  706. "mincount": 0,
  707. "maxcount": 1
  708. }, {
  709. "datatype": "<n>",
  710. "glossary": "Backlight GPIO (if applicable)",
  711. "longopts": "back",
  712. "shortopts": "b",
  713. "checkbox": false,
  714. "remark": false,
  715. "hasvalue": true,
  716. "mincount": 0,
  717. "maxcount": 1
  718. }, {
  719. "datatype": "<n>",
  720. "glossary": "Reset GPIO",
  721. "longopts": "reset",
  722. "checkbox": false,
  723. "remark": false,
  724. "hasvalue": true,
  725. "mincount": 0,
  726. "maxcount": 1
  727. }, {
  728. "glossary": "clear configuration and return",
  729. "longopts": "clear",
  730. "checkbox": true,
  731. "remark": false,
  732. "hasvalue": false,
  733. "mincount": 0,
  734. "maxcount": 1
  735. }],
  736. "hint": " [-r] [-t <I2C|SPI>] [-d <SH1106|SSD1306|SSD1322|SSD1326|SSD1327|SSD1675|SSD1351|ST7735|ST7789|ILI9341|>] [-p -1|1|4] [-a <n>] -w <n> -h <n> [--hf] [--vf] [-s <n>] [-b <n>] [-b <n>] [--reset=<n>] [--clear]",
  737. "name": "cfg-hw-display"
  738. }],
  739. "values": {
  740. "cfg-syst-services": {
  741. "BT_Speaker": true,
  742. "AirPlay": true,
  743. "cspot": true,
  744. "stats": false,
  745. "telnet": "Telnet and Serial"
  746. },
  747. "cfg-syst-name": {
  748. "new_name": "squeezelite-1fe714"
  749. },
  750. "cfg-hw-preset": {
  751. "model_config": "previous config value"
  752. },
  753. "cfg-audio-general": {
  754. "jack_behavior": "Subwoofer"
  755. },
  756. "cfg-audio-bt_source": {
  757. "sink_name": "SMSL BT4.2",
  758. "pin_code": "0000"
  759. },
  760. "cfg-hw-dac": {
  761. "dac_sda": 33,
  762. "dac_scl": 32,
  763. "model_name": "AC101"
  764. },
  765. "cfg-hw-spdif": {
  766. },
  767. "cfg-hw-rotary": {
  768. },
  769. "cfg-hw-i2c": {
  770. "speed": 400000
  771. },
  772. "cfg-hw-spi": {
  773. "data": 13,
  774. "clk": 14,
  775. "host": 1
  776. },
  777. "cfg-hw-display": {
  778. "rotate": false,
  779. "hf": false,
  780. "vf": false
  781. }
  782. }
  783. }