geekhack Marketplace > TMK Keyboard Service

[TMK] HHKB Alt Controller with Mini-B/Type-C connector

<< < (4/136) > >>

hasu:
what's your os?
When shipped I configured RN-42 to auctoconnect. It should autoconnect if host OS allows.

IonutZ:

--- Quote from: hasu on Thu, 21 May 2015, 08:19:42 ---what's your os?
When shipped I configured RN-42 to auctoconnect. It should autoconnect if host OS allows.

--- End quote ---

Mac OS X. The last board I had from you autoconnected just fine. How would I go about configuring it? I saw the rn42 doc but I don't think anything happens when I hit Left Shift + Right Shift. Also, the whole debugging menu and stuff, how are you supposed to access that? I thought I would just open a notepad, and it would start typing the prompt... no?

hasu:
No, Notepad is not useful to TMK, you have to use PJRC hid_listen command.
https://github.com/tmk/tmk_keyboard#debugging

To get help message press LShift+RShift+h.
You can initialize the module with default setting by pressing LShift+RShift+Scroll Lock. You may have to do this twice.

You can also enter config mode of RN-42 with LShift+RShift+Del but I don't recommend this unless you read its data sheet carefully. You can brick the module accicentaly.


You can't autoconnect, but can you connect it by hand? how do you connect it?

IonutZ:
It works when I initiate connection from the laptop to the keyboard.

This is the output when I turn the BT on:


--- Code: ---Entering config mode ...
CMD
Ver 6.15 04/26/2013
(c) Roving Networks
ECHO ON
SR,Z
AOK
R,1
Reboot!
Exiting config mode ...
--- End code ---

However, in docs,

--- Code: ---SR,Z                // removes all remote addresses for reconnecting.
                    // can be used to connect another host
--- End code ---

Maybe I have to turn on SM,6?

Although when I do info:


--- Code: -------- RN-42 info -----
protocol: LUFA
force_usb: 0
rn42: OFF
rn42_autoconnecting(): 1
config_mode: 0
USB State: Configured
battery: CHARG
RemoteWakeupEnabled: 1
VBUS: 1
uptime: 00 00:00:16
USB mode
--- End code ---

IonutZ:
SM,6 did the trick. It is now autoconnecting!!!

EDIT: So after I fixed everything, I figured why not give it a shot reconfiguring from scratch. Got everything to look good, however, about every 5-6 seconds or so, the keyboard disconnects/reconnects to bluetooth.

Any idea which configuration that might be?

EDIT2: Main difference is HID Class 0000 (keyboard) instead of (003C) because I don't plan on using mouse functions.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version