Some values are sent by the firmware in big endian byte order,
specifically IP addresses, which are sent in network byte order
(ie, big endian). Add the ability to specify the byte order
the firmware handles the value as, and convert that to host
byte order when reading/writing QMI buffers.
Message traces have been very useful when debugging issues in the protocol, and
we should avoid requiring a full recompilation in order to get them enabled.
Instead, we provide two new API methods, `qmi_utils_(get|set)_traces_enabled()',
which allow specifying whether traces should be dumped with g_debug() or not.
Among the tons of fixes done here, we now generate some per-service .sections
file which we then concatenate to build the final libqmi-glib-sections.txt file.
If the sections and types files aren't cleaned, adding a function to
libqmi-glib, regenerating the docs, then removing that function
doesn't regenerate the docs for some reason, meaning the scanner
won't link due to the function-not-found error:
docs/reference/libqmi-glib/libqmi-glib-sections.txt:qmi_wds_authentication_preference_get_type
docs/reference/libqmi-glib/libqmi-glib.types:qmi_wds_authentication_preference_get_type
docs/reference/libqmi-glib/libqmi-glib-scan.c:extern GType qmi_wds_authentication_preference_get_type (void);
docs/reference/libqmi-glib/libqmi-glib-scan.c: object_types[i++] = qmi_wds_authentication_preference_get_type ();
Make sure 'make clean' regenerates this stuff so we don't have
link errors.