I have simple iOS App running on an iPad using Network.Framework, NWConnection and NWEndpoint to setup a TCP connection to a Microchip RN-171. It all worked fine until iOS 14 when I started to occasionally get this error:
at which point the connection just locks up with no further data flow in either direction is possible with respect to iOS.
Looking at the RN-171 data sheet I see that the default value for mtu is 1524 so I am assuming that during the negotiation between the RN-171 and iOS this value should be set and some change in iOS 14 means that this value doesn't always get to iOS.
Any ideas what the root cause might be and how to fix it?
Code Block [tcp] nw_proto_tcp_route_init [C1.1:1] no mtu received
at which point the connection just locks up with no further data flow in either direction is possible with respect to iOS.
Looking at the RN-171 data sheet I see that the default value for mtu is 1524 so I am assuming that during the negotiation between the RN-171 and iOS this value should be set and some change in iOS 14 means that this value doesn't always get to iOS.
Any ideas what the root cause might be and how to fix it?