Hi, 2011/10/20 Andrei Emeltchenko <andrei.emeltchenko.news@xxxxxxxxx>: >> Just change this all to: >> >> service.value.uuid32 = bt_get_unaligned(btohl(u32)); > > btohl(bt_get_unaligned(u32)) > maybe we could also use get_u32() ? There is also att_get_u32() in attrib/att.h (exact same code). Maybe we need some code reuse here :) Regards, -- Anderson Lizardo Instituto Nokia de Tecnologia - INdT Manaus - Brazil -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html