diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-06-05 17:35:50 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-06-05 19:58:27 -0500 |
commit | 219a94a50212ae506329ee52aeb17d6cba4ee587 (patch) | |
tree | ef887ed8f1b65ed6da74e0267e2bf3d5c477621f /src/util.h | |
parent | 86f5712c2712c4cd61a5a71c61f3dfcc08dbca1b (diff) | |
download | ofono-219a94a50212ae506329ee52aeb17d6cba4ee587.tar.gz |
Only USSD needs the special <cr> handling
Apparently all Cell Broadcasts are always 88 bytes long, with a
6 byte header and 82 byte payload. <cr> character is used as a
terminator and padding for the unused payload
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -41,23 +41,23 @@ char *encode_hex(const unsigned char *in, long len, unsigned char terminator); unsigned char *unpack_7bit_own_buf(const unsigned char *in, long len, - int byte_offset, gboolean cb, + int byte_offset, gboolean ussd, long max_to_unpack, long *items_written, unsigned char terminator, unsigned char *buf); unsigned char *unpack_7bit(const unsigned char *in, long len, int byte_offset, - gboolean cb, long max_to_unpack, + gboolean ussd, long max_to_unpack, long *items_written, unsigned char terminator); unsigned char *pack_7bit_own_buf(const unsigned char *in, long len, - int byte_offset, gboolean cb, + int byte_offset, gboolean ussd, long *items_written, unsigned char terminator, unsigned char *buf); unsigned char *pack_7bit(const unsigned char *in, long len, int byte_offset, - gboolean cb_or_ussd, + gboolean ussd, long *items_written, unsigned char terminator); #endif |