STRUCT CC1352_BOOTLOADER_PACKET(9)
π¦ 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 excludinglenπ notice the exclusion, bestie.lenis 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 allu8, so everything stays smol. and again β the checksum leaveslenout. that's a real detail, don't forget it π
π₯ SEE ALSO π₯
the extended universe, bestie. go read these too, they ate:
- Kernel file
./drivers/greybus/gb-beagleplay.cβstruct gb_beagleplay(9) struct hdlc_payload(9)struct hdlc_greybus_frame(9)enum cc1352_bootloader_cmd(9)enum cc1352_bootloader_status(9)struct cc1352_bootloader_download_cmd_data(9)struct cc1352_bootloader_crc32_cmd_data(9)hdlc_write(9)hdlc_append(9)hdlc_encoded_length(9)hdlc_tx_frames(9)csum8(9)cc1352_bootloader_pkt_rx(9)gb_message_send(9)cc1352_bootloader_empty_pkt(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms