V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Eleutherios
V2EX  ›  分享发现

Win+Fedora 双系统配对 Bluetooth LE 鼠标( MS Designer)

  •  
  •   Eleutherios · 2016-11-09 09:53:06 +08:00 · 1730 次点击
    这是一个创建于 2751 天前的主题,其中的信息可能已经有所发展或是发生改变。
    具体过程参考这里: http://console.systems/2014/09/how-to-pair-low-energy-le-bluetooth.html
    估计各个 Linux 发行版都差不多。

    大致流程就是
    1. 先在 LINUX 下配对
    2. 回到 WIN 下配对
    3. 读取 WIN 下的设置信息
    4. 对照着修改 LINUX 的设置

    以下是需要修改的地方
    IdentityResolvingKey.Key = IRK

    LocalSignatureKey.Key = CSRK
    LocalSignatureKey.Authenticated = true (我自己加的,可能不需要)

    LongTermKey.Key = LTK
    LongTermKey.EncSize = 16 <= "KeyLength"=dword:00000000 (很重要,但不清楚是不是 16 - KeyLength)
    LongTermKey.EDiv = (EDIV)10
    LongTermKey.Rand = (ERand[::-1])10

    之后重启下 bluetooth.service 就可以了。
    4 条回复    2017-06-20 08:36:14 +08:00
    heguannantc
        1
    heguannantc  
       2016-11-09 09:56:39 +08:00
    好奇 mac 需要修改哪些
    29EtwXn6t5wgM3fD
        2
    29EtwXn6t5wgM3fD  
       2016-11-10 11:24:20 +08:00 via Android
    上回搞没成功,再试试
    ready
        3
    ready  
       2017-04-30 16:35:19 +08:00   ❤️ 1
    这里面信息有误,
    erand 不需要反序,不需要加 Authenticated = true
    参照这里配置的:
    http://corp.gmplab.com/blog/201704-cube-i7-ubuntu-windows
    搞成功了。
    Eleutherios
        4
    Eleutherios  
    OP
       2017-06-20 08:36:14 +08:00
    @ready 我这里 ERAND 需要反序,鼠标是 MS Designer。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2957 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 11:08 · PVG 19:08 · LAX 04:08 · JFK 07:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.