intblobmsg_add_field(structblob_buf *buf,inttype,constchar*name,constvoid*data, unsignedintlen)staticinlineintblobmsg_add_u8(structblob_buf *buf,constchar*name, uint8_t val)staticinlineintblobmsg_add_u16(structblob_buf *buf,constchar*name, uint16_t val)staticinlineintblobmsg_add_u32(struct...
11:BLOBMSG_TYPE_LAST = __BLOBMSG_TYPE_LAST - 1, 12:BLOBMSG_TYPE_BOOL = BLOBMSG_TYPE_INT8, 13:}; 4.基本操作 1:/** 2:* 根据BLOB消息名字长度计算出blobmsg头部大小 3:*/ 4:staticinlineintblobmsg_hdrlen(unsignedintnamelen) 5: 6:/** 7:* 获取BLOB消息名字 8:*/ 9:staticinlineconstchar...
11:BLOBMSG_TYPE_LAST = __BLOBMSG_TYPE_LAST - 1, 12:BLOBMSG_TYPE_BOOL = BLOBMSG_TYPE_INT8, 13:}; 4.基本操作 1:/** 2:* 根据BLOB消息名字长度计算出blobmsg头部大小 3:*/ 4:staticinlineintblobmsg_hdrlen(unsignedintnamelen) 5: 6:/** 7:* 获取BLOB消息名字 8:*/ 9:staticinlineconstchar...