V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
FreeWong
V2EX  ›  硬件

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

  •  
  •   FreeWong · Aug 2, 2019 · 3657 views
    This topic created in 2464 days ago, the information mentioned may be changed or developed.

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

    1 replies    2020-01-04 23:54:49 +08:00
    kernelpig
        1
    kernelpig  
       Jan 4, 2020
    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.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2392 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 10:52 · PVG 18:52 · LAX 03:52 · JFK 06:52
    ♥ Do have faith in what you're doing.