Upgrade to Pro — share decks privately, control downloads, hide ads and more …

BLE

 BLE

Bluetooth Low Energy AKA Bluetooth Smart

7Masters Wearables

Douglas Kayama

October 25, 2017
Tweet

More Decks by Douglas Kayama

Other Decks in Technology

Transcript

  1. @douglasdrumond Bluetooth Stack Android 2.0: BlueZ Android 4.2: BlueDroid Android

    4.3: Adiciona suporte a BLE Android 5.0: BLE fica MUITO mais legal 2
  2. @douglasdrumond Arquitetura 8 GATT Profile Service Service Characteristic Characteristic Characteristic

    Characteristic Characteristic Characteristic Characteristic Characteristic
  3. @douglasdrumond Exemplo 9 Heart rate service … Outros Heart rate

    measurement Body sensor location GATT Server GATT Client
  4. @douglasdrumond Antes do Lollipop Filtro: somente Service UUID Somente active

    scan Single device advertisement Parse manual do scan 12
  5. @douglasdrumond A partir do Lollipop Filtro: qualquer campo Batch dos

    resultados Recebe todos os advertisements ScanRecord + AdvertiseData + Builders 13
  6. @douglasdrumond Limites Notificações concorrentes: •Android 4.3: 4 •Android 4.4: 7

    •Android 5–8: 15
 16 Conexões Concorrentes: •Android 4.3: 4 •Android 4.4–8: 7