project:btclock
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| project:btclock [2019-11-03 21:54] – [Automatik] moormaster | project:btclock [2019-11-08 16:56] (aktuell) – updated web api urls moormaster | ||
|---|---|---|---|
| Zeile 10: | Zeile 10: | ||
| ===== Automatik ===== | ===== Automatik ===== | ||
| Sofern es nicht verstellt wird, ist das [[https:// | Sofern es nicht verstellt wird, ist das [[https:// | ||
| + | |||
| + | ===== Web-API ==== | ||
| + | Die [[https:// | ||
| + | [[http:// | ||
| ===== Das Vorgehen: ===== | ===== Das Vorgehen: ===== | ||
| Zeile 50: | Zeile 54: | ||
| No|T=17102817380005+DISC: | No|T=17102817380005+DISC: | ||
| Die Fehlermeldung taucht manchmal auch erst auf, wenn ihr die COM-Portverbindung zum zweiten mal öffnet.\\ | Die Fehlermeldung taucht manchmal auch erst auf, wenn ihr die COM-Portverbindung zum zweiten mal öffnet.\\ | ||
| + | |||
| + | ===== Beispielsitzung - Linux ===== | ||
| + | |||
| + | ==== Koppeln ==== | ||
| + | |||
| + | $ bluetoothctl | ||
| + | Agent registered | ||
| + | [CHG] Controller 11: | ||
| + | | ||
| + | [bluetooth]# | ||
| + | Discovery started | ||
| + | [CHG] Controller 11: | ||
| + | [NEW] Device 20: | ||
| + | | ||
| + | [bluetooth]# | ||
| + | Attempting to pair with 20: | ||
| + | [CHG] Device 20: | ||
| + | Request PIN code | ||
| + | [agent] Enter PIN code: 3212 | ||
| + | [CHG] Device 20: | ||
| + | [CHG] Device 20: | ||
| + | Pairing successful | ||
| + | [bluetooth]# | ||
| + | [bluetooth]# | ||
| + | |||
| + | ==== Uhr stellen ==== | ||
| + | |||
| + | Hierfür wird das leider mittlerweile als deprecated eingestufte tool rfcomm benötigt. In Archlinux gibt es dieses Tool noch im [[https:// | ||
| + | |||
| + | $ sudo rfcomm bind rfcomm0 20: | ||
| + | | ||
| + | # --echo | ||
| + | # --omap crlf | ||
| + | # --imap lfcrlf | ||
| + | # Um picocom zu verlassen, nacheinander die Kombinationen [Strg+a], [Strg+x] drücken | ||
| + | | ||
| + | $ sudo picocom --quiet --echo --omap crlf --imap lfcrlf / | ||
| + | T=17102817380005 | ||
| + | OK | ||
| + | T? | ||
| + | 2017-10-28(05) 17:38:03 | ||
| + | OK | ||
| + | | ||
| + | $ sudo rfcomm release rfcomm0 | ||
| + | |||
project/btclock.1572814457.txt.gz · Zuletzt geändert: von moormaster
