Paul, After making the file you send it as a normal SMS?
Edward ----- Original Message ----- From: "Paul P Komkoff Jr" <[EMAIL PROTECTED]> To: "Edward C.A. Tromp" <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Thursday, April 28, 2005 2:55 PM Subject: Re: Kannel OMA-OTA > Replying to Edward C.A. Tromp: > > Hi Paul, > > I'm Paul too, so I'll respond > > > I tried it with Motorola ones without luck > > the messages arrived and the phone but when i try to enter the pin it give > > incorrect pin number but i enter the right one. > > I do not use kannel or mbuni for OTA configuration tasks. I have my > own ota-configurator, written in python. I've spent many hours > debugging it (actually fighting with braindamaged phone models), but > at the end code to deal with OMA phones in general and motorola phones > specifically is very easy: > > def sendOMA(self, sender, dst, fn = "motorola-gsm.bin", **kw): > data = file(self.trn(dst, fn), "rb").read() > wsp = MakeOMAWsp('1234', data) > pload = wsp + data > sendWithUDH(sender, self.src, dst, pload, SPort = 9200, DPort = 2948) > > def MakeOMAWsp(key, data): > mac = hmac.new(key, data, sha) > d = '\x01\x06\x2f\x1f\x2d\xb6\x91\x81\x92' + mac.hexdigest().upper() + '\x00' > return d > > > that's all > > > -- > Paul P 'Stingray' Komkoff Jr // http://stingr.net/key <- my pgp key > This message represents the official view of the voices in my head
