LINUX.ORG.RU

История изменений

Исправление nickleiten, (текущая версия) :

Mi band 3

При случае, можно даже под линуксом приблуду написать для снятия данных, только UUID все загуглить придётся. Это на случай паранойи и нежелания пользовать облачные сервисы.

Список аттрибутов длинный, потому обрезал, просто для примера показал выхлоп bluetoothctl.

[bluetooth]# connect XX:XX:XX:XX:XX:XX
Attempting to connect to XX:XX:XX:XX:XX:XX      
[CHG] Device XX:XX:XX:XX:XX:XX RSSI: -63
[CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
Connection successful
[CHG] Device XX:XX:XX:XX:XX:XX ServicesResolved: yes
[Mi Band 3]# menu gatt
...
[Mi Band 3]# list-attributes 
Primary Service
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service0008
        00001801-0000-1000-8000-00805f9b34fb
        Generic Attribute Profile
Characteristic
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service0008/char0009
        00002a05-0000-1000-8000-00805f9b34fb
        Service Changed
Descriptor
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service0008/char0009/desc000b
        00002902-0000-1000-8000-00805f9b34fb
        Client Characteristic Configuration
Primary Service
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service000c
        0000180a-0000-1000-8000-00805f9b34fb
        Device Information
Characteristic
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service000c/char000d
        00002a25-0000-1000-8000-00805f9b34fb
        Serial Number String
Characteristic
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service000c/char000f
        00002a27-0000-1000-8000-00805f9b34fb
        Hardware Revision String
Characteristic
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service000c/char0011
        00002a28-0000-1000-8000-00805f9b34fb
        Software Revision String
Characteristic
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service000c/char0013
        00002a23-0000-1000-8000-00805f9b34fb
        System ID
Characteristic
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service000c/char0015
        00002a50-0000-1000-8000-00805f9b34fb
        PnP ID
.......

Исходная версия nickleiten, :

Mi band 3

При случае, можно даже под линуксом приблуду написать для снятия данных, только UUID все загуглить придётся. Это на случай паранойи и нежелании пользовать облачные сервисы.

Список аттрибутов длинный, потому обрезал, просто для примера показал выхлоп bluetoothctl.

[bluetooth]# connect XX:XX:XX:XX:XX:XX
Attempting to connect to XX:XX:XX:XX:XX:XX      
[CHG] Device XX:XX:XX:XX:XX:XX RSSI: -63
[CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
Connection successful
[CHG] Device XX:XX:XX:XX:XX:XX ServicesResolved: yes
[Mi Band 3]# menu gatt
...
[Mi Band 3]# list-attributes 
Primary Service
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service0008
        00001801-0000-1000-8000-00805f9b34fb
        Generic Attribute Profile
Characteristic
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service0008/char0009
        00002a05-0000-1000-8000-00805f9b34fb
        Service Changed
Descriptor
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service0008/char0009/desc000b
        00002902-0000-1000-8000-00805f9b34fb
        Client Characteristic Configuration
Primary Service
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service000c
        0000180a-0000-1000-8000-00805f9b34fb
        Device Information
Characteristic
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service000c/char000d
        00002a25-0000-1000-8000-00805f9b34fb
        Serial Number String
Characteristic
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service000c/char000f
        00002a27-0000-1000-8000-00805f9b34fb
        Hardware Revision String
Characteristic
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service000c/char0011
        00002a28-0000-1000-8000-00805f9b34fb
        Software Revision String
Characteristic
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service000c/char0013
        00002a23-0000-1000-8000-00805f9b34fb
        System ID
Characteristic
        /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/service000c/char0015
        00002a50-0000-1000-8000-00805f9b34fb
        PnP ID
.......