RE: How to get the OMA DRM right object file coming from WAP Push?

2010-11-25 Thread Lin, Mengdong
Thank you so much for your information! But I'm a little confused about the relationship between WAP push and SMS. The spec said WAP push is running on top of HTTP (OTA-HTTP) or WSP (OTA-WSP). But from the oFono source, it seems WAP push is on top of SMS. Is this a contradiction? Or I misunders

RE: How to get the OMA DRM right object file coming from WAP Push?

2010-11-25 Thread Marcel Holtmann
Hi Aki, > > Can the two methods help me to handle files from WAP push? > > Yes. You need to implement the PushNotificationAgent interface, and > register this object with oFono using the RegisterAgent() method. there is actually a test/test-push-notification Python example in the code base that

RE: How to get the OMA DRM right object file coming from WAP Push?

2010-11-25 Thread Aki Niemi
On Thu, 2010-11-25 at 14:15 +0800, ext Lin, Mengdong wrote: > Can the two methods help me to handle files from WAP push? Yes. You need to implement the PushNotificationAgent interface, and register this object with oFono using the RegisterAgent() method. Cheers, Aki __

RE: How to get the OMA DRM right object file coming from WAP Push?

2010-11-24 Thread Lin, Mengdong
I found two methods: Methods void RegisterAgent(object path) Registers an agent which will be called whenever a new Smart Messaging based SMS arrives. Methods void ReceiveNotification(array{byte} notification, dict info

How to get the OMA DRM right object file coming from WAP Push?

2010-11-24 Thread Lin, Mengdong
OMA DRM 1.0 use WAP Push to send a right object file to the device. The Push Application ID is - URN: x-wap-application:drm.ua - Number: 0x08 How can I get the right object file from oFono? Many thanks! Amanda ___ ofono mailing list ofono@ofono.org htt