/* */

Chris  -  iBeacon

 
Riki und Rudi Chris Michi Doris 

Notizen

linux tool zum iBeacon Attribute ändern:

gatttool

wichtig: der dongle darf nicht mit einem anderen device gebondet sein sonst kamma ned connecten (bei allen anderen BT abschalten)

gatttool -b EA:FB:B5:CE:B0:13 --interactive

connect

[D4:F5:13:73:DF:B3][LE]> char-read-hnd 0x0026

Characteristic value/descriptor: fd a5 06 93 a4 e2 4f b1 af cf c6 eb 07 64 78 25 

[D4:F5:13:73:DF:B3][LE]> help

help                                           Show this help

exit                                           Exit interactive mode

quit                                           Exit interactive mode

connect         [address [address type]]       Connect to a remote device

disconnect                                     Disconnect from a remote device

primary         [UUID]                         Primary Service Discovery

included        [start hnd [end hnd]]          Find Included Services

characteristics [start hnd [end hnd [UUID]]]   Characteristics Discovery

char-desc       [start hnd] [end hnd]          Characteristics Descriptor Discovery

char-read-hnd   <handle>                       Characteristics Value/Descriptor Read by handle

char-read-uuid  <UUID> [start hnd] [end hnd]   Characteristics Value/Descriptor Read by UUID

char-write-req  <handle> <new value>           Characteristic Value Write (Write Request)

char-write-cmd  <handle> <new value>           Characteristic Value Write (No response)

sec-level       [low | medium | high]          Set security level. Default: low

mtu             <value>                        Exchange MTU for GATT/ATT

[D4:F5:13:73:DF:B3][LE]> char-write-req 0x0026 fd a5 06 93 a4 e2 4f b1 af cf c6 eb 07 64 78 26

Characteristic value was written successfully

[D4:F5:13:73:DF:B3][LE]> char-write-char-read-hnd 0x0026

Characteristic value/descriptor: fd 06 f3 55 00 69 e1 06 00 21 e1 f3 55 11 5c e2 

[D4:F5:13:73:DF:B3][LE]> char-write-req 0x0026 0xfda50693a4e24fb1afcfc6eb07647826

Characteristic value was written successfully

[D4:F5:13:73:DF:B3][LE]> char-write-char-read-hnd 0x0026

Characteristic value/descriptor: 00 fd a5 06 93 a4 e2 4f b1 af cf c6 eb 07 64 78 

00 fd a5 06 93 a4 e2 4f b1 af cf c6 eb 07 64 78

ffb4= device id

ffba => ff = control led blinkt

hcitool lescan --duplicates

hcidump --raw

hcitool spinq

 

bluez selber kompilieren:

sudo ./configure --disable-systemd

Smartphone Apps

android App: nRF Master Control Panel play.google.com/store/apps/details

vom hersteller die ios app: github.com/bytereal/iBeacon