3 unstable releases

0.2.1 Apr 10, 2024
0.2.0 Feb 21, 2024
0.1.0 Oct 15, 2023

#90 in Windows APIs

Download history 3/week @ 2024-07-03 1/week @ 2024-07-24

185 downloads per month

MIT license

700KB
10K SLoC

BLE data struct for Rust

data structs for ble advertising/descriptor/characteristic

Some as https://github.com/im97mori-github/JavaBLEUtil/wiki

  • Advertising(includes EIR/AD/SRD/OOB)
    • Flags(0x01)
    • Incomplete List of 16-bit Service Class UUIDs(0x02)
    • Complete List of 16-bit Service Class UUIDs(0x03)
    • Incomplete List of 32-bit Service Class UUIDs(0x04)
    • Complete List of 32-bit Service Class UUIDs(0x05)
    • Incomplete List of 128-bit Service Class UUIDs(0x06)
    • Complete List of 128-bit Service Class UUIDs(0x07)
    • Shortened Local Name(0x08)
    • Complete Local Name(0x09)
    • Tx Power Level(0x0A)
    • Class of Device(0x0D)
    • Simple Pairing Hash C-192(0x0E)
    • Simple Pairing Randomizer R-192(0x0F)
    • Device ID(0x10)
    • Security Manager TK Value(0x10)
    • Security Manager Out of Band Flags(0x11)
    • Peripheral Connection Interval Range(0x12)
    • List of 16-bit Service Solicitation UUIDs(0x14)
    • List of 128-bit Service Solicitation UUIDs(0x15)
    • Service Data - 16-bit UUID(0x16)
    • Public Target Address(0x17)
    • Random Target Address(0x18)
    • Appearance(0x19)
    • Advertising Interval(0x1A)
    • LE Bluetooth Device Address(0x1B)
    • LE Role(0x1C)
    • Simple Pairing Hash C-256(0x1D)
    • Simple Pairing Randomizer R-256(0x1E)
    • List of 32-bit Service Solicitation UUIDs(0x1F)
    • Service Data - 32-bit UUID(0x20)
    • Service Data - 128-bit UUID(0x21)
    • LE Secure Connections Confirmation Value(0x22)
    • LE Secure Connections Random Value(0x23)
    • URI(0x24)
    • Indoor Positioning(0x25)
    • Transport Discovery Data(0x26)
    • LE Supported Features(0x27)
    • Channel Map Update Indication(0x28)
    • PB-ADV(0x29)
    • Mesh Message(0x2A)
    • Mesh Beacon(0x2B)
    • BIGInfo(0x2C)
    • Broadcast_Code(0x2D)
    • Resolvable Set Identifier(0x2E)
    • Advertising Interval - long(0x2F)
    • Broadcast_Name(0x30)
    • Encrypted Advertising Data(0x31)
    • Periodic Advertising Response Timing Information(0x32)
    • Electronic Shelf Label(0x34)
    • 3D Information Data(0x3D)
    • Manufacturer Specific Data(0xFF)
  • Descriptor
    • Characteristic Extended Properties(0x2900)
    • Characteristic User Description(0x2901)
    • Client Characteristic Configuration(0x2902)
    • Server Characteristic Configuration(0x2903)
    • Characteristic Presentation Format(0x2904)
    • Characteristic Aggregate Format(0x2905)
    • Valid Range(0x2906)
    • External Report Reference(0x2907)
    • Report Reference(0x2908)
    • Number of Digitals(0x2909)
    • Value Trigger Setting(0x290A)
    • Environmental Sensing Configuration(0x290B)
    • Environmental Sensing Measurement(0x290C)
    • Environmental Sensing Trigger Setting(0x290D)
    • Time Trigger Setting(0x290E)
    • Complete BR-EDR Transport Block Data(0x290F)
    • Observation Schedule(0x2910)
    • Valid Range and Accuracy(0x2911)
  • Characteristic

Dependencies

~127MB
~2M SLoC