wip_bearerStop


#1

Hello all once more, here is my problem:

I have a connection stablished with an IP. When I want to change the IP, all I (think I) have to do is to stop the connection I already have stablished and start a new one, but when I use "wip_bearerStop(Mybearer)" it always return -27 (WIP_BERR_OK_INPROGRESS), and doesn't stop the connection... What should I do? Thank you all in advance :slight_smile:.

#2

WIP_BERR_OK_INPROGRESS means “what you asked is OK, performing the corresponding action is in progress”. You’ll receive an event WIP_BEV_BEARER_STOP when the bearer will have been stopped.


#3

Thanks for replying :slight_smile:. It really works. I had a problem, because the first time I run the code, the event never happened. I have tried once more and it finally does. I don’t know why, I hope I don’t get any more problems like this (though some more will appear for sure :stuck_out_tongue:)