#Can‘t connect to nice!nano v2

1 messages · Page 1 of 1 (latest)

vale flare
#

The maintainer of the repo I forked just told me, that he doesn't support nice nanos. I went ahead and forked another config from meln1k. I'll report back as soon as I know whether or not it works as expected.

vale flare
#

This is my config at the moment: https://github.com/tim-hilt/zmk-config

I could flash it successfully but I still can't connect. I always see an Authentication Failure - message. When I researched the error, I found this issue: https://github.com/zmkfirmware/zmk/issues/1189, where one of the commenters suggested to bind a key to BT_CLR to clear the bluetooth profiles. I looked into the keymap and there already was a keymap for BT_CLR on the second layer:

https://github.com/tim-hilt/zmk-config/blob/master/config/boards/shields/scylla_dmmpcb/scylla_dmmpcb.keymap#L59

GitHub

Contribute to tim-hilt/zmk-config development by creating an account on GitHub.

GitHub

ZMK Firmware Repository. Contribute to zmkfirmware/zmk development by creating an account on GitHub.

GitHub

Contribute to tim-hilt/zmk-config development by creating an account on GitHub.

glossy fossil
#

!bluetooth

grizzled smeltBOT
glossy fossil
#

There is pretty nice documentation above explaining how BT profiles work with ZMK, you can give that a read. You probably need to clear the profiles that you have used. One thing that trips up people is that flashing firmware doesn’t typically clear profiles.

vale flare
#

Yes, I get that. I just re-applied the lily58-keymap that I used before and also couldn't connect. So it might be due to profiles.

glossy fossil
#

It is very likely

vale flare
#

I pressed the shortcut to clear the bluetooth profiles on the keymap (as described above), however, that didn't change anything. I'll try again by adding this keymap to the first layer on the keys that did respond before. This should eliminate potential failure-points.

glossy fossil
#

To be safe, you can clear other profiles as well

#

As a last resort you can flash the settings reset firmware mentioned here, but you’ll need to do it on both halves and follow the steps carefully https://zmk.dev/docs/troubleshooting#split-keyboard-halves-unable-to-pair

The following page provides suggestions for common errors that may occur during firmware compilation or other issues with keyboard usage. If the information provided is insufficient to resolve the issue, feel free to seek out help from the ZMK Discord.

vale flare
#

I'll try again with BT_CLR before I do that. Thanks for the hints! I'll report back when I made progress.

glossy fossil
vale flare
glossy fossil
#

I wouldn’t expect that to work with Scylla unless the keyboard explicitly states it can use Lily58 firmware

vale flare
#

I tried before and only three keys seemed to work

glossy fossil
#

So most likely you aren’t able to clear BT

vale flare
#

So yes, you're right 😄 Unless I made some bad soldering issues

glossy fossil
#

Usually a good debugging procedure is to get left half keys working with left half connected to USB, then make sure right half pairs to left and can send keys as well

#

Then you can fix any issues with BT

vale flare
#

Ah yes, that's a good heuristic. Thanks!

#

Success. I'm connected. Now I'll try again with the correct zmk-config

glossy fossil
#

Cool

vale flare
#

I'm connected to the keyboard, however only the same three keys are working per keyboard-half as before. I must have gotten something very wrong while soldering!

The odd thing is, that it's only happening the three keys that work are the same keys per keyboard-half! Can this be a coincidence or might there be a configuration-error?

glossy fossil
#

I guess it might be a config issue. Are you sure the config you are using matches your keyboard’s schematic?

#

e.g. do you use the BKB flex PCB version and this config is for that as well?

vale flare
#

Oh, you're right! it mentions the dmmpcb in it's name

#

Hmm... So, do I have to implement a new shield on my own? How are situations like mine typically approached?

glossy fossil
#

If you can’t find an existing shield, you’d create a new one with !newshield

vale flare
#

I'll try the one you sent me. Thank you very much!

vale flare
glossy fossil
#

Yeah, it’s not really hard if you can find a schematic or probe things with a multimeter:)