Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MEMO.txt 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584
  1. Roving RN-42
  2. ============
  3. Bug:
  4. - with Nexus5 keyboard and mouse are very laggy.
  5. - lose USB connection during power-down mode
  6. - USB initialize code in main() causes this - WRONG
  7. - Do not power-down during USB connection is active - DONE 11/11
  8. (USB_DeviceState == USB_DEVICE_Configured) is used to check USB connection
  9. matrix_power_down() matrix.c - 11/23
  10. - When given power only from wall wart adapter
  11. - it sleeps. it should not sleep
  12. - Configured state without USB connection?
  13. - timer is slow while power down - DONE 11/26
  14. - time out interrupt is lost while power down?
  15. - interrupt of watchdog timer compensates timer counter(avr/suspend.c)
  16. - USB plug-in while BT failes
  17. - it ends in suspend state
  18. - maybe, not responsive to host enumeration process due to power-down.
  19. - matrix_power_down() only when state is unattached - 11/26
  20. - need to observe a while
  21. - repeated CHARGING/FULL_CHARGED
  22. - In LTC sharp pulses are observed.
  23. - MCP has no pulse but still has a problem.
  24. - needs more wait before read pin state?
  25. - wrongly suspended when powered from adapter without USB connection
  26. - suspend event may occur when plug into adapter
  27. - and never wake until conected to real USB line
  28. - without debug print via USB no problem; CSW(wake just after suspend as real USB line)
  29. - seems like USB print causes this problem after suspended
  30. Todo:
  31. - sendchar() in lufa.c block loop - 11/29
  32. - block loop when powered with AC adapter
  33. - FrameNumber is not updated when adapter powered
  34. - sendchar() in lufa.c no buffer
  35. - no buffering. character lost can be caused.
  36. Design:
  37. - suspend.h - DONE 11/26
  38. - remove argument from suspend_power_down() for backward compatitibility
  39. - remove MCU dependent power saving code from core/keyboard - DONE 11/23
  40. - it should be located in project matrix.c
  41. - HHKB matrix.c needs matrix_prev?
  42. - is_modified() is obsolete now. really needs?
  43. - ADC: removing AREF capacitor C10
  44. - seems to be better while usb powered
  45. - still bad while battery powered
  46. http://electronics.stackexchange.com/questions/105849/avcc-and-capacitor-using-adc
  47. - ADC: smaller resistors for voltage dividor
  48. - 1K + 1K: not improved. - 11/27
  49. LUFA:
  50. USB connection check: state of USB deivce
  51. - USB_DeviceState:
  52. USB_Deivce_State_t { Unattached, Powered, Default, Addressed, Configured*, Suspended* }
  53. Unattached: unpluged
  54. Powered: pluged with power adapter
  55. Default: enumerate process bigin
  56. Addressed: addressed
  57. Configured: enumerated
  58. Suspended: suspended
  59. - USB_IsInitialized: state of LUFA core setup
  60. becomes true in USB_Init() USBController_AVR8.c
  61. becomes false in USB_Disable() USBController_AVR8.c
  62. - USB_VBUS_GetStatus(): state of VBUS(power/connection)
  63. - USB_Disable() detaches, disables all interrupts, controller, PLL, regulater.
  64. - When connect to power adapter
  65. - event happened: CW or CSW or C or DDC
  66. - USB state: not configured
  67. - USB evnets
  68. - USB connect: CSWRWRW
  69. - USB connect but fail to enumeration: CWRWRWRWS
  70. - USB disconnect: D
  71. - Power adapter connect: CW, CSW, C
  72. - Power adapter disconnect: D
  73. Power saving:
  74. - matrix power saving
  75. - power saving while externally powered and not while unpluged
  76. - confirm suspend mode lufa.c: matrix_power_*, suspend_wakeup_condition
  77. - 8MHz clock
  78. - When not connected in a few minutes get into deep sleep to save battery life
  79. - CTS is needed for waking up from deep sleep? How deep sleep is activated?
  80. - firmware controlled 3.3V DC converter to switch on/off BT module
  81. - sleep MCU and BT module(keyboard is not used)
  82. - deep sleep MCU and BT module(keyboard is not used for long time)
  83. - deep sleep MCU and turn off BT module(keyboard is not used and not connected)
  84. - Battery ADC; switching, high resistance
  85. - switching gnd end of divider with PF4
  86. - high resistor 100K/1M?
  87. capacitor 10nF
  88. http://www.eevblog.com/forum/beginners/measuring-battery-voltage-without-consuming-current/
  89. - During USB suspend change clock source to internal RC from external Xtal(6.8)
  90. - FRZCLK: you can freeze clock for power saving. still WAKEUPI and VBUSTI interrupts are available while freezing.(21.7.3)
  91. - Suspend: Clear Suspend Bit, Freeze clock, disable PLL, MCU sleep(21.13)
  92. - Voltage reference(8.1.1)
  93. - to reduce power consumption while power down mode
  94. Improving:
  95. - BT LED; connecting, linked, sleeping, deep sleeping
  96. - Battry LED; blink(using timer?)
  97. - move rn42 to protocol directory when it becomes reusable stack
  98. - LUFA sendchar should be buffered and serial_uart.c buffur size is too large(256).
  99. - ADC resolution
  100. AVR120
  101. AVR32138
  102. - Enhancing ADC resolution by oversampling
  103. AVR121 http://www.atmel.com/images/doc8003.pdf
  104. Testing:
  105. - Factroy reset doesn't work; need to **test again** 10K pull-up is too high?
  106. - Lipo voltage ADC value is not stabilized
  107. - DCDC converter: squeaky inducter; try other inductors
  108. - Keymap layer bug: during space is pressed(mousekey) press Fn(HHKB) then release space before Fn, in result HHKB layer is locked(toggled) unintentionally.
  109. Done:
  110. - low battery alert(solid light) 09/04
  111. Power routing
  112. -------------
  113. Current:
  114. (USB) +---(Lipo)
  115. | | |
  116. | | +------+ DPDT
  117. | | |Switch/-----------------------+
  118. | | +------+ |
  119. | +-------+ | |
  120. +-|Charger| | |
  121. | +-------+ | +---+ |
  122. | | |MCU| |
  123. | | +---+ |
  124. | | | |
  125. | | | |
  126. +--------------+ +-----+ +------+ +---/--+ +-----+
  127. |Power Selector|--|DC 5V|--|DC3.3V|---|Switch|----|RN-42|
  128. +--------------+ +-----+ +------+ +------+ +-----+
  129. USB Power is boosted unnecessarily, not harmful?
  130. Idea 1:
  131. (USB) +---(Lipo)
  132. | | |
  133. | | +------+ DPDT
  134. | | |Switch/----------+
  135. | | +------+ |
  136. | +-------+ | |
  137. +-|Charger| | |
  138. | +-------+ | +---+ |
  139. | +-----+ |MCU| |
  140. | |DC 5V| +---+ |
  141. | +-----+ | |
  142. | | | |
  143. +--------------+ | +---/--+ +------+ +-----+
  144. |Power Selector|-----+---|Switch|----|DC3.3V|-----|RN-42|
  145. +--------------+ +------+ +------+ +-----+
  146. To enable BT when USB powered it still needs to turn siwtch on, Lipo consumes quinscent current at 5V converter in vain.(Not good)
  147. Idea 2:
  148. (USB) +---(Lipo)
  149. | | |
  150. | | +------+
  151. | | |Switch|
  152. | | +------+
  153. | +-------+ |
  154. +-|Charger| |
  155. | +-------+ | +---+
  156. | +-----+ |MCU|----+ Controlled by firmware
  157. | |DC 5V| +---+ | On: Lipo powered
  158. | +-----+ | | Off: USB powered
  159. | | | |enable
  160. +--------------+ | +------+ +-----+
  161. |Power Selector|-----+---|DC3.3V|-----|RN-42|
  162. +--------------+ +------+ +-----+
  163. MCU can controlled power of RN-42 without hardware switch.
  164. When USB powered and switch is on Lipo consumes quinscent current at 5V converter in vain.(Not good)
  165. Idea 3:
  166. (USB) +---(Lipo)
  167. | | |
  168. | | +------+
  169. | | |Switch|SPST(or without)
  170. | | +------+
  171. | +-------+ |
  172. +-|Charger| |
  173. | +-------+ | +---+
  174. | | |MCU|----+ Controlled by firmware
  175. | | +---+ | On: Lipo powered
  176. | | | | Off: USB powered
  177. | | | |enable
  178. +--------------+ +-----+ +------+ +-----+
  179. |Power Selector|-|DC 5V|-|DC3.3V|-----|RN-42|
  180. +--------------+ +-----+ +------+ +-----+
  181. Switch is needed to save Lipo when not used because decent power saving is not available now. If firmware can turn off BT module completely and make MCU deep sleep the switch will be not even needed.
  182. DONE:
  183. - BT_INDICATOR LED turns on wrongly when touching line or pin. -- pull-up enabled on PF6/GPIO2 08/30
  184. - Lipo charger configuration: fast charge time: USB charger spec? -- used 2kohm
  185. - use LED of charger to alarm low battery. LED should be powered directly from Lipo? - cancel; powered from VUSB
  186. - Use RTS in serial_uart.c to resolve missing chars from help message of RN-42 - done
  187. - CTS/RTS lines are needed? just connect in loop back if no flow control is needed. - done
  188. - add IO pin to charger status CHRG; LED control(low) and detect charge status(input HiZ) 07.24
  189. - LINKED: add trace on PIO2 to PF6 07.24
  190. - Lipo voltage ADC sensing
  191. - Lipo charger MCP73831: needs capacitor 4.7uF *2
  192. - USB connection check - 07.01
  193. - BT on/off check: whether RX line is pulled up? - checking RTS 07.01
  194. - USB/BT switching BT is on -> BT, BT is off -> USB - 07.01
  195. - Under voltage lock out UVLO for protection of Lipo - Lipo has discharge protection at 3.100V 07.01
  196. - Power saving: HHKB scan, BT radio control - 9h with 850mAh, this is enough 07.01
  197. - Power selector doesn't work; Q4 MOSFET leaks from Lipo to USB power line. -- use Schottky instead 07/04
  198. TROUBLE SHOOT
  199. -------------
  200. 07/16 After fix of voltage dividor on GPIO6, had a trouble that it could not send a char to BT module, though could receive.
  201. Found R8 had wrong 1K resistor and changed to 10K, after that it can send to the module again. Not sure how it had sent with the wrong 1K before.
  202. 07/18 On Linux, had an USB related trouble; keyobard or console didn't work for some reason. Changing PID cured this problem. Very annoying, took very long time before resolved it.
  203. Lipo
  204. ----
  205. 850mA lasts around 9 hours(07/28)
  206. Sparkfun Polymer Lithium Ion Battery 850mAh:
  207. https://www.sparkfun.com/products/341
  208. Lipo Cell spec:
  209. https://www.sparkfun.com/datasheets/Batteries/063048%20Li-polymer.pdf
  210. Protection spec:
  211. http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Prototyping/BatteryProtection.pdf
  212. min typical max
  213. over-charge 4.255 4.280 4.305
  214. over-charge discover? 4.030 4.080 4.130
  215. over-discharge 2.827 2.900 2.973
  216. over-discharge discover 3.022 3.100 3.178
  217. ADC voltage monitor: voltage divider 10K+10K(0.5)
  218. ADC=V*0.5/2.56*1024
  219. V ADC
  220. ------------------
  221. 4.20 0x347(839)
  222. 3.10 0x26b(619)
  223. Configuration
  224. -------------
  225. Ver 6.15 04/26/2013
  226. (c) Roving Networks
  227. ***Settings***
  228. BTA=0006664B3AE3
  229. BTName=tmkBT-3AE3
  230. Baudrt(SW4)=115K
  231. Mode =DTR
  232. Authen=2
  233. Bonded=0
  234. Rem=000000000000
  235. ***ADVANCED Settings***
  236. SrvName= keyboard/mouse
  237. SrvClass=0000
  238. DevClass=0000
  239. InqWindw=0100
  240. PagWindw=0100
  241. CfgTimer=255
  242. StatuStr=NULL
  243. HidFlags=3c
  244. DTRtimer=8
  245. KeySwapr=0
  246. ***OTHER Settings***
  247. Profile= HID
  248. CfgChar= $
  249. SniffEna=8010
  250. LowPower=0
  251. TX Power=0
  252. IOPorts= 0
  253. IOValues=0
  254. Sleeptmr=0
  255. DebugMod=0
  256. RoleSwch=0
  257. Serial connection
  258. -----------------
  259. Serial line: 115200bps, 8bit, 1-stopbit, non-parity, no flow control
  260. SSP: 115200bps, 8bit, 1-stopbit, non-parity, no flow control(via Bluetooth)
  261. To enter command mode disconnect the module from host and type '$$$'.(you will see 'CMD')
  262. To exit type '---'(you will see 'END') and '+' to get local echo.
  263. Setting command mode
  264. --------------------
  265. S-,tmkBT // Device name
  266. SS,keyboard/mouse // service name
  267. SM,4 // Auto Connect DTR mode
  268. SW,8010 // Sniff enable 0x10*0.625ms=10ms; 50ms is laggish and not much power save
  269. S~,6 // HID profile
  270. SH,003C // HID register
  271. SY,0004 // Transmit power
  272. Other options:
  273. SC,0000 // COD: 000005C0 (see HID spec/Bluegiga doc)
  274. SD,05C0 // bit 12-8 7 6 5-0
  275. // 00101 1 1 0
  276. // peripheral pointing keybaord joystick, gamepad, ...
  277. SM,6 // Pairing mode: auto connect
  278. SM,4 // Master mode: Connection can be controled with GPIO6
  279. HID profile
  280. -----------
  281. S~,6 HID profile
  282. S~,0 SPP profile
  283. R,1 reboot
  284. Apple iOS
  285. ---------
  286. Keyboard can be used with iPhone, but mouse cannot.
  287. To operate iOS with keyboard is not so useful, though.
  288. There may be iOS specific scancodes?
  289. HID flag register
  290. -----------------
  291. SH,0200
  292. GH
  293. 10 0000 0000(0200) default
  294. 00 0011 1000(0038) Combo
  295. || | | |\_\____ number of paired devices to which the module can reconnect
  296. || | | \_______ send out reports over UART (0xFF <len> <data>)
  297. || \__\_________ descriptor type
  298. |\______________ toggle virtual keyboard on iOS when first connected
  299. \_______________ Force HID mode if GPIO11 is high on power-up
  300. Descriptor type:
  301. 0000: keybaord
  302. 0001: Game Pad
  303. 0010: Mouse
  304. 0011: Combo
  305. 0100: Joystick
  306. 1xxx: reserved
  307. Out report - Indicator
  308. ----------------------
  309. 0xFE 0x02 0x01 <LED_state>
  310. LED Status
  311. ----------
  312. Configuring 10 times per sec
  313. Startup/configuration timer 2 times per sec
  314. Discoverable/Inquiring/Idle once per sec
  315. Connected solid on
  316. Pairing
  317. -------
  318. First, host initiates pairing process and once it is done, auto connect will work thereafter.
  319. SM,3 Master mode
  320. SM,4 Auto Connect DTR Mode uses GPIO6 to make and break connection(Mode =DTR)
  321. confirm: auto connect works and control connection with GPIO6
  322. SM,5 Auto Connect ANY Mode (Mode =ANY)
  323. each time GPIO is set, make inquiry and connect to the first found device
  324. SM,6 automatically reconnect(Mode =Pair)
  325. confirm: auto connect works well but difficult to enter command mode.
  326. SR,Z removes all remote addresses for reconnecting.
  327. can be used to connect another host
  328. SR,I registers last inquiry address
  329. Fast data mode
  330. --------------
  331. The module enters fast data mode after 'remote configuration timer' window is passed from power on.
  332. In this mode the module does not accept '$$$' to enter command mode.
  333. Power Management
  334. ----------------
  335. Inquiry and Page window Idle or Active (3.1.1)
  336. Downside: delay in discovery or connection time
  337. SI, // set inquiry scan window(discovery) on/off duty?
  338. SJ, // set page scan window(connection)
  339. This reduces averaege power >20mA to 5mA(3mA in Sniff mode)
  340. Sniff mode Transmit
  341. Sniff mode is disabled by default and radio is active continuously when connected.(25-30mA)
  342. In Sniff mode the radio wakes up intermittently and sleeps in very low power mode.(2mA)
  343. SW,<val> // set interval timer(*0.625ms) 0000-7FFF
  344. Deep sleep Idle (3.1.2)
  345. In this mode the module shuts down completly and only draws about 300uA. To enable this set the most signifant bit(0x8000) of Sniff interaval timer.
  346. SW,8320 // deep sleep enable(interval=0x320*0.625=500ms)
  347. In normal sleep the firmware is still running in idle mode, and wakes up about 20 times per second to check ports, update LEDs, etc. During deep sleep, the firmware actually stops runnig some tasks and the LEDs only update about once per second.
  348. To wake from deep sleep there are three ways: (in worst case wake up takes 5ms)
  349. *send a charactor to the UART(first charactor will be lost)
  350. *toggle CTS low to high and wait 5ms
  351. *wake automatically every slot time(<val>*0.625ms)
  352. Once the radio is awake it stay active for exactly 1 second of inactivity and then sleeps again.
  353. Downside: latency and data loss
  354. Disable Output driver Idle or Active (3.1.3)
  355. S%,1000 // set all GPIO pins(0-11) to inputs.
  356. Lower Transmit Power Idle or Active (3.1.4)
  357. SY,<hex> // transmit power setting(takes effect after a power cycle and reboot)
  358. Downside: reducing effective range
  359. Optimizig for Latency
  360. ---------------------
  361. By default the firmware is optimized for throughput.
  362. SQ,16 // set latency bit
  363. SQ,0 // unset latency bit
  364. Configuration timer settings
  365. ----------------------------
  366. Remote configuration is used for the module to be configured with various commands over Bluetooth(SPP profile only?).
  367. The module has remote configuration timer to allow remote configuration over Bluetooth after power up in Slave mode. In Master modes the remote configuration timer is set to 0(no remote configuration). (In Trigger Master mode the timer is used as an idle timer to break the connection after time expires with no charactors receive.)
  368. ST,0 // no remote, no local when connected
  369. ST,<1-252> // local and remote with timeout in seconds from power up
  370. ST,253 // local only without timeout
  371. ST,254 // remote only without timeout
  372. ST,255 // local and remote without timeout
  373. Android
  374. -------
  375. 3.7.1.5 Note: To connect with Android phone the modules must wake up 11ms every 2.5seconds.
  376. Commands
  377. --------
  378. SC,
  379. SM,<val>
  380. SD,
  381. SP,<string> Pin code(alpahnumeric)
  382. SQ,<mask> Special configuration(GPIO, discovery mode, low latency, reboot, UART)
  383. SR,<hex> Store remote address
  384. SR,Z Erase all address
  385. SS,<string> Set service name(1-20)**
  386. ST,<val> Remote configuration timer(Master:0, Slave:0-255, Triger:as idle timer)
  387. SU,<val> UART baud rate
  388. SW,<val> low-power sniff mode** deep sleep and wake up every 625us * <val>
  389. SX,<0|1> bonding enable only acceps device that matches the stored address
  390. SY,<hex> power setting**
  391. SZ,<val> non-standard raw baud rate <val>=baud*0.004096
  392. S~,<val> Profile 0:SPP, 5:APL, 6:HID
  393. S-,<string> Device name -15 alphanumeric charactors
  394. S?,<0|1> role switch enable
  395. S$,<char> command mode char
  396. $|,<hex> low-power connect mode deep sleep/active(discoverable and connectable) cycle
  397. D display basic setting
  398. E display extended setting
  399. GB display the device's Bluetooth address
  400. GF display Bluetooth address of connected device
  401. GK show connection status
  402. GR show remote address for reconnecting
  403. G& show GPIO pin
  404. G<char> show stored setting
  405. + toggle local echo on/off
  406. & show GPIO 3,4,6,7(DIP switch)
  407. C connect to stored remote address
  408. C,<address> connect last address
  409. CFI connect and go into fast data mode
  410. CFR connect and go into fast data mode
  411. CT,<address>,<val> connect to the address and disconnect after val?
  412. F,1 fast data mod:
  413. H display help
  414. I,<time>,<cod> inquiry scan with <cod>
  415. IN
  416. IQ scan
  417. IS inquiry scan with 001F00
  418. J hide pin code
  419. K, kill disconnects current connection
  420. L link quality
  421. M show modem signlal status
  422. O display other settings
  423. P,<car> pass through?
  424. Q quiet mode make the module not discoverable
  425. Q,0 discoverable and connectable
  426. Q,1 not discoverable and not connectable
  427. Q,2 not discoverable and connectable
  428. Q,? display current quiet mode
  429. R,1 reboot
  430. T,<0|1> pass received data while in command mode
  431. U,<baud>,<parity> change UART setting tentatively
  432. V display firmware version
  433. W wake from quiet mode enable discovery and connection
  434. Z deep sleep mode(<2mA)
  435. help
  436. ----
  437. *** SET COMMANDS ***
  438. SA,<3,0> - Authentication
  439. SC,<hex> - Service Class
  440. SD,<hex> - Device Class
  441. SE,<1-16> - UUID
  442. SF,1 - Factory Defaults
  443. SH,<hex> - HID flags
  444. SI,<hex> - Inquiry Scan Window
  445. SJ,<hex> - Page Scan Window
  446. SL,<E,O,N> - Parity
  447. SM,<0-5> - Mode (0=slav,1=mstr,2=trig,3=auto,4=DTR,5=Any)
  448. SN,<name> - Name
  449. SO,<text> - conn/discon Status
  450. SP,<text> - Pin Code
  451. SR,<adr> - Remote Address
  452. SS,<text> - Service Name
  453. ST,<num> - Config Timer
  454. SU,<rate> - Baudrate
  455. SW,<hex> - Sniff Rate
  456. SX,<1,0> - Bonding
  457. SY,<hex> - TX power
  458. SZ,<num> - Raw Baudrate
  459. S~,<0-6> - Profile (0=SPP,1=DCE,2=DTE,3=MDM,4=D&S,6=HID
  460. S?,<0-1> - role switch
  461. S$,<char> - CMD mode char
  462. S@,<hex> - io port dir
  463. S&,<hex> - io port val
  464. S%,<hex> - io boot dir
  465. S^,<hex> - io boot val
  466. S*,<hex> - pio(8-11) set
  467. S|,<hex> - low power timers
  468. S+,<num> - DTR timer
  469. S=,<hex> - Key mapper
  470. S:,<num> - sleep timer
  471. *** DISPLAY ***
  472. D - Basic Settings
  473. E - Extended Settings
  474. G<X> - Stored setting
  475. GB - BT Address
  476. GF - BT Address of Last Connection
  477. GK - Connect Status
  478. G& - I/O Ports
  479. V - Firmare version
  480. *** OTHER ***
  481. C,<adr> - Connect
  482. F,1 - Fast Mode
  483. I,<time>,<cod> - Device Scan Inquiry
  484. J - Hide Pin Code
  485. K, - Kill (disconnect)
  486. L, - toggle local echo
  487. P,<text> - Pass Thru
  488. Q - Quiet (no discovery)
  489. R,1 - Reboot
  490. T,<0,1> - send data in CMD mode
  491. U,<rate>,<E,O,N> - Temp Uart Change
  492. Z - low power sleep
  493. & - Read switches