Can OEM Directly Close PPP in BREW? | developer.brewmp.com Can OEM Directly Close PPP in BREW? | developer.brewmp.com

Developer

Can OEM Directly Close PPP in BREW?

Forums:

QSC6020
BREW3.1.5

Now We are integrating the Unimusic service in our Handset. Unimusic is just the music player client but also can downloading music from unicom server.

And the unimusic also can running in background, can downloading mp3 files in background.

Then the network conflict issue happened. See below case:

1. Unimusic go background, and not dis-connect network, now the ppp session is based on brew/brew account.

2. launch the wap browser, the wap browser must established the new ppp session with wap2/wap2 and use this, otherwise the billing issue will happen.

Then, How to do??

It is obviously that current ppp session based on brew/brew must be closed first, then wap2/wap2 ppp session be established.

BUT, how to close the current ppp session??

The only way we found is in OEM layer. in OEMNet_SetPPPAuth, if ppp state is open and the ppp auth account to be set is different with current value, then Call OEMNet_CloseAllNets to close PPP session first. Thus, we can make sure non-billing issue happened.

BUT, is there any potential risk for this solution?? Or any other better solution can be used??

Hope your help