We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63fbe25 commit 75cc0aeCopy full SHA for 75cc0ae
features/cellular/framework/AT/AT_CellularStack.cpp
@@ -82,7 +82,7 @@ nsapi_error_t AT_CellularStack::get_ip_address(SocketAddress *address)
82
83
// Try to look for second address ONLY if modem has support for dual stack(can handle both IPv4 and IPv6 simultaneously).
84
// Otherwise assumption is that second address is not reliable, even if network provides one.
85
- if ((get_property(PROPERTY_IPV4V6_PDP_TYPE) && (_at.read_string(_ip, PDP_IPV6_SIZE) != -1))) {
+ if ((_device.get_property(AT_CellularDevice::PROPERTY_IPV4V6_PDP_TYPE) && (_at.read_string(_ip, PDP_IPV6_SIZE) != -1))) {
86
convert_ipv6(_ip);
87
address->set_ip_address(_ip);
88
ipv6 = (address->get_ip_version() == NSAPI_IPv6);
0 commit comments