You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CellularContext does not call NSAPI_STATUS_GLOBAL_UP callback on successful connect after retry in blocking mode.
If AT_CellularContext::do_connect() succeeds on first call the callback is called as expected.
If it fails and then succeeds after one or more retry, then the callback is not called.
In the second case AT_CellularContext::connect() returns true, and connection is established, but the callback is not called.
Target(s) affected by this defect ?
I faced this issue with STM32F730V8 using QUECTEL-BG95-M1 LTE-M modem but likely all targets using cellular context are affected
Toolchain(s) (name and version) displaying this defect ?
GCC_ARM arm-none-eabi 6-2017-q2
What version of Mbed-os are you using (tag or sha) ?
mbed-os-5.14.1 and mbed-os-99.99.99 (91b793c4fd1ad7f02b8db5a2e0d77daf63e5c836)
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
Mbed CLI 1
How is this defect reproduced ?
The issue is reproducible by (with some network provider):
Use NetworkInterface instance for cellular connection
Set blocking mode to true
Register event listener for NetworkInterface callbacks
Call NetworkInterface->connect()
connect() returns true without GLOBAL_UP callback being called (only if it fails at least once in cellular context before success)
network is connected and has traffic but without NSAPI_STATUS_GLOBAL_UP being called
The text was updated successfully, but these errors were encountered:
Description of defect
CellularContext
does not callNSAPI_STATUS_GLOBAL_UP
callback on successful connect after retry in blocking mode.If
AT_CellularContext::do_connect()
succeeds on first call the callback is called as expected.If it fails and then succeeds after one or more retry, then the callback is not called.
In the second case
AT_CellularContext::connect()
returns true, and connection is established, but the callback is not called.Target(s) affected by this defect ?
I faced this issue with
STM32F730V8
usingQUECTEL-BG95-M1
LTE-M modem but likely all targets using cellular context are affectedToolchain(s) (name and version) displaying this defect ?
GCC_ARM arm-none-eabi 6-2017-q2
What version of Mbed-os are you using (tag or sha) ?
mbed-os-5.14.1
andmbed-os-99.99.99 (91b793c4fd1ad7f02b8db5a2e0d77daf63e5c836)
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
Mbed CLI 1
How is this defect reproduced ?
The issue is reproducible by (with some network provider):
NetworkInterface
instance for cellular connectiontrue
NetworkInterface
callbacksNetworkInterface->connect()
connect()
returns true withoutGLOBAL_UP
callback being called (only if it fails at least once in cellular context before success)NSAPI_STATUS_GLOBAL_UP
being calledThe text was updated successfully, but these errors were encountered: