×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    1

    conversion problem??

    Hi,

    I try to build a system to send picture messages etc. I have tried many gif -> hex encoders but every time my pic don't arrive. I have to send this parameters to my smsgateway:
    udh
    text
    They said that I have to use 06050415820000 for an operator logo and in the text param I have to put the encoded image and operator. When I put:
    02F42100480E013FC000000201000008084000000600000018080000000200000008080000000200000008088B38B0E2711C05880F9C45C91A43220E4808880C8912813E044808083489138120044808084488E24120044808084C8902412204483E1C77DDF7391C4EFC00000002080100000000000002080100000000000001F00E000000
    in the text parm and my image arrives. This is the example they send to me.
    They said that 02F42100 is the operator code and the other code is the image. But when I change the code for the image in this:
    47494638396148000E00800000FFFFFF00000021F90401000000002C0000000048000E0000029B848F0961E17D9C5C4F3E64A1DABC6B1C5915257EA087A6CDB48A4C5B92974A776FE8CE391BD5496683647637A26CE10BAD904BDE71872B015D4C8CAE0863686FCF58B4C22B6E29E4EB64AC35752FE935F7DD6B57A7652617469E379DB2511A2BF4D2F607F71444872784E425A8B8E874C672271809C8F6786277663249D9782259D8F7F9D1699517B854A5C126F736B6E7C3B771A7509B44725000003B
    I don't get a message.
    They say that's the hexcode I use is wrong. I think that also
    Can anyone help me how I could my .gifs correctly so I can send images etc.
    The conversion program I use is that from sms-wap.com in the pdf where they have the example code for Visual Basic

    Thnx

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Tampere / Finland
    Posts
    1,839

    RE: conversion problem??

    Hello!

    Smart messaging Specification v3.0 thells you how the OTA image should be coded, same specification gives you a good example how the binary should look like.

    I can't remember if WBMP is equal to OTA bitmap, if not, they are quite similar at least. GIF codec is totally different than OTA bitmap.

    Teemu / Forum Nokia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×