I’m making a connection using the MDC test code. Also, this same method is used under the "Default data connection/Data connection routing section in the Legato API guides.
I can make the connection fine. However, when I try to add a route via the “system” call, it fails. I can run the same exact command in the command window, so it appears to be a permission issue, which would make sense, since this is a privileged command.
My question is, how does this test work? Because looking at the code and the test, I can’t see it working without elevated privileges. So, how does it pass? When it fails the route update, the ASSERT kills the app.