This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Of what does a notification package consist? ( Packet Structure )

I mean what kind of header information and stuff besides the data. I could only find this for advertising packets.

A graphic or list like this would be nice:

byte 0-1 // byte 2-30 // byte 31

sendername // data // crc

and a citable source :)

Parents
  • Well citable source is easy: BT SIG specification 4.0 or higher;) If you mean "Handle Value Notification ATT method" it is standard PDU, isn't it? I'll leave these few drawings here but I believe you'd like to to get access to this presentation: original presentation by BT SIG from 2010 during official introduction of LE as part of BT 4.0 (member login required but registration is for free).

    Cheers Jan

    PDU on LE LL layer

    image description

    PDU on LE ATT layer (no authentication)

    image description

    PDU on LE ATT layer (authentication signature)

    image description

    Note:

    "Opcode" for "Handle Value Notification" ATT method is 0x1B. "Attribute Parameters" consists of 16-bit ATT handle number and actual data.

  • Oh sorry, you are right. I still believe it shouldn't be a big deal of setting up the membership even as single person but I can understand that you don't want to deal with it. Hard to recommend other sources (I mean there are plenty of books and internet articles of course, hard to pick the good one), I found this presentation as fastest and most comprehensive intro to BT LE (as of BT SIG Core 4.0)... If you see middle picture in my post then you see structure of packet at ATTribute Protocol Layer. Three more bytes are "stolen" as overhead from it at the beginning of payload: ATT Opcode (1byte - you see it on the picture already) and ATT Handle ID (2 bytes).

    Cheers Jan

    (Btw. it seems that someone has solved your problem with Low Energy Training presentation on GitHub)

Reply
  • Oh sorry, you are right. I still believe it shouldn't be a big deal of setting up the membership even as single person but I can understand that you don't want to deal with it. Hard to recommend other sources (I mean there are plenty of books and internet articles of course, hard to pick the good one), I found this presentation as fastest and most comprehensive intro to BT LE (as of BT SIG Core 4.0)... If you see middle picture in my post then you see structure of packet at ATTribute Protocol Layer. Three more bytes are "stolen" as overhead from it at the beginning of payload: ATT Opcode (1byte - you see it on the picture already) and ATT Handle ID (2 bytes).

    Cheers Jan

    (Btw. it seems that someone has solved your problem with Low Energy Training presentation on GitHub)

Children
No Data
Related