Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hi,
I use NetServicesSource with Huawei 3G UMTS stick. Disconnecting does not work correctly. I found that over 1 second is required between "+++" and AT commands. I modified PPPnetLf::disconnect() as below and confirmed that it works well.
// m_pIf->printf("+++\r\n"); <- deleted // wait(.5); <- deleted m_pIf->write("+++", false); <- added wait(1.5); <- added m_pIf->flushBuffer(); GPRSErr gprsErr; gprsErr = m_pIf->disconnect();Does anyone confirm it?
Regards,