Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bluetooth documentation #79

Merged
merged 8 commits into from
Oct 13, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions src/devel/device/bluetooth.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
=========
Bluetooth
=========

The reMarkable 1 and 2 do not have bluetooth. The reMarkable Paper Pro does have bluetooth hardware, but the driver is not loaded by default.

Enabling bluetooth
------------------

.. code-block:: shell

modprobe btnxpuart
bluetoothctl show


.. raw:: html

<div class="warning">
⚠️ Experimental. ⚠️

The following information is from individual user experimentation, where information is still being gathered

.. raw:: html

</div>
Lewiscowles1986 marked this conversation as resolved.
Show resolved Hide resolved


Connecting a Device
-------------------

.. code-block:: shell

[bluetooth]# power on
Changing power on succeeded
[CHG] Controller 00:10:20:30:40:50 Powered: yes

[bluetooth]# scan on
Discovery started
[CHG] Controller 00:10:20:30:40:50 Discovering: yes
[NEW] Device 00:12:34:56:78:90 device name
[CHG] Device 00:12:34:56:78:90 LegacyPairing: yes

[bluetooth]# pair 00:12:34:56:78:90
Attempting to pair with 00:12:34:56:78:90
[CHG] Device 00:12:34:56:78:90 Connected: yes
[CHG] Device 00:12:34:56:78:90 Connected: no
[CHG] Device 00:12:34:56:78:90 Connected: yes
Request PIN code
[agent] Enter PIN code: 1234
[CHG] Device 00:12:34:56:78:90 Paired: yes
Pairing successful
[CHG] Device 00:12:34:56:78:90 Connected: no

[bluetooth]# connect 00:12:34:56:78:90
Attempting to connect to 00:12:34:56:78:90
[CHG] Device 00:12:34:56:78:90 Connected: yes
Connection successful
Lewiscowles1986 marked this conversation as resolved.
Show resolved Hide resolved


External Links
==============

- Arch-Wiki on Bluetooth
https://wiki.archlinux.org/title/Bluetooth
- Arch-Wiki on Bluetooth section on Pairing
https://wiki.archlinux.org/title/Bluetooth#Pairing
- Arch-Wiki on Bluetooth section on Configuration
https://wiki.archlinux.org/title/Bluetooth#Configuration
Lewiscowles1986 marked this conversation as resolved.
Show resolved Hide resolved
- Kernel Module documentation in the i.MX knowledge base
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Bluetooth-NXP-UART-Driver-Linux-BSP-6-1-22-btnxpuart/ta-p/1708588
- Bluez (bluetoothctl) homepage
https://www.bluez.org/
Lewiscowles1986 marked this conversation as resolved.
Show resolved Hide resolved
1 change: 1 addition & 0 deletions src/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ automagic
backgrounded
backupscrns
behaviour
bluetooth
bugfixes
Carta
changescrn
Expand Down