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

Web Bluetooth API 支持经典蓝牙(EDR/BR)技术吗?

  •  
  •   FreeWong · 2019-08-02 11:09:03 +08:00 · 3133 次点击
    这是一个创建于 1944 天前的主题,其中的信息可能已经有所发展或是发生改变。

    如果 Web Bluetooth 仅支持 LE 的话,那是不是也要考虑限制每包长度等于小于 20 字节的问题 多谢。。。

    1 条回复    2020-01-04 23:54:49 +08:00
    kernelpig
        1
    kernelpig  
       2020-01-04 23:54:49 +08:00
    https://webbluetoothcg.github.io/web-bluetooth/

    A device acting in either the Peripheral or Central role can host a GATT Server, which exposes a hierarchy of Services, Characteristics, and Descriptors. See § 5.1 GATT Information Model for more details about this hierarchy. Despite being designed to support BLE transport, the GATT protocol can also run over BR/EDR transport.

    The first version of this specification allows web pages, running on a UA in the Central role, to connect to GATT Servers over either a BR/EDR or LE connection. While this specification cites the [BLUETOOTH42] specification, it intends to also support communication among devices that only implement Bluetooth 4.0 or 4.1.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3450 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 00:42 · PVG 08:42 · LAX 16:42 · JFK 19:42
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.