It's been a while since I looked at that code, so do take my comments
with a palm full of salt.
The wbxml encoder for OTA settings in Kannel does only a basic job.
There is no string table support for instance, so the CODE,
MEDIASUBTYPE and so on are inserted as wbxml literals.
The better/shorter way to do this is find the doc that specifies the
attribute value wbxml token codes for the above values, and add them
to the gw/ota_compiler.c -- this is what we did for the OMA stuff at
the time. Do you know which doc this is? Perhaps one of the OMA OTA
spec (newer version)?
On Oct 21, 2008, at 16:39, Guillaume Godart wrote:
solution seems to be described here :
http://discussion.forum.nokia.com/forum/showthread.php?t=124252
they speak about inserting a string table in the begining of the
wbxml,
adding the 3 words CODEC, MEDIASUBTYPE and PRIORITYINDEX.
How can I patch kannel to do that ?
Could you confirm that an other (and better) way to solve this problem
would be to add those 3 key words in the ota_compiler.c and then
recompile ?
Le mardi 21 octobre 2008 à 14:52 +0200, Stipe Tolj a écrit :
P. A. Bagyenda schrieb:
No I didn't set the codec parameters. And I was sure that was the
bug :)
bug in Kannel gwlib? Paul?
Stipe