Skip to content
Snippets Groups Projects
Commit 2db60d6d authored by Jakob Olsson's avatar Jakob Olsson
Browse files

example script to test for memory leakgae in pin and apn functionality

parent b056deb9
No related branches found
No related tags found
No related merge requests found
while true;do
ubus call dongle.usb0 list_apn_profiles
ubus call dongle.usb0 create_apn_profiles '{"profile_name":"abc", "wan_apn":"abcde", "pdp_type": "IP"}'
ubus call dongle.usb0 set_apn_profile '{"profile_name":"abc"}'
ubus call dongle.usb0 delete_apn_profile '{"profile_name":"abc"}'
ubus call dongle.usb0 current_apn_profile
done
\ No newline at end of file
while true;do
ubus call dongle.usb0 verify_pin '{"pin":"3242"}'
ubus call dongle.usb0 verify_pin '{"pin":"3242"}'
ubus call dongle.usb0 verify_pin '{"pin":"3242"}'
ubus call dongle.usb0 unlock_sim '{"new_pin":"5555", "puk":"17923619"}'
done
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment