STRUCT CC1352_BOOTLOADER_PACKET(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct cc1352_bootloader_packet β€” CC1352 Bootloader Request Packet

okay bestie so this page lives in the Kernel API Manual (section 9, iykyk) and it's literally just one struct. one. iconic minimalism. it's giving "I don't need a whole library, I need three fields." ✨


🌸 NAME 🌸

struct cc1352_bootloader_packet β€” the CC1352 Bootloader Request Packet πŸ’…

that's it. that's the whole vibe. it's the little envelope that carries a bootloader request, and honestly? she's doing the most with the least.


πŸŽ€ SYNOPSIS πŸŽ€

struct cc1352_bootloader_packet {
    u8 len;
    u8 checksum;
    u8 cmd;
 };

three u8s. three!! a whole packet in 24 bits, no cap. look at her go 🫢


🧚 MEMBERS 🧚

okay let's meet the cast, they're all main characters in their own way:

  • len β€” length of packet + optional request data 🌈 so like, the whole shebang including whatever extra request data tagged along. she's the one keeping count.
  • checksum β€” 8-bit checksum excluding len πŸ’€ notice the exclusion, bestie. len is NOT invited to the checksum party. do not include her. fr fr.
  • cmd β€” bootloader command ⭐ the actual instruction, the "what are we even doing here" of it all.
ok important heads up: these are all u8, so everything stays smol. and again β€” the checksum leaves len out. that's a real detail, don't forget it πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

the extended universe, bestie. go read these too, they ate:

like, that's a whole friend group. csum8(9) is obviously the checksum bestie, hdlc_* are the framing girlies, and cc1352_bootloader_empty_pkt(9) is the one who shows up with nothing and still slays πŸ’œ


aaaand that's the page!! short, sweet, three fields, one (1) struct, zero drama. this came out of ./drivers/greybus and it's dated October 2026 β€” so yeah, future-coded of her πŸ‘‘πŸ’– go check the kernel docs, ily, bye πŸŽ€βœ¨

πŸ“¦ where this page comes from