summaryrefslogtreecommitdiff
path: root/loopback_nv_write
diff options
context:
space:
mode:
Diffstat (limited to 'loopback_nv_write')
-rwxr-xr-xloopback_nv_write34
1 files changed, 34 insertions, 0 deletions
diff --git a/loopback_nv_write b/loopback_nv_write
new file mode 100755
index 0000000..bc5f2ef
--- /dev/null
+++ b/loopback_nv_write
@@ -0,0 +1,34 @@
+# 54 bytes path length
+# /nv/item_files/modem/data/3gpp/ps/loopback_config.txt
+
+# 85 bytes file content (original--all but last end in \r\n)
+# LOOPBACK_ENABLED:1;
+# L2_LOOPBACK_ENABLED:0;
+# SYS MODE:9;
+# REP_FACTOR:1;
+# NR5G_ONLY:1;
+#
+# Experimentation showed that last line *can* end in \r\n. And all
+# lines can end in \n only.
+#
+# The REP_FACTOR says how many replicas are looped back; 1 means
+# simple loopback, while 2 means echo back two copies of each
+# received packet.
+
+# Write the "loopback_config.txt" NV data
+# data length path length
+send_data 75 19 38 0 82 0 0 0 64 0 8 0 5 0 \
+ 76 79 79 80 66 65 67 75 95 69 78 65 66 76 69 68 58 49 59 10 \
+ 76 50 95 76 79 79 80 66 65 67 75 95 69 78 65 66 76 69 68 58 48 59 10 \
+ 83 89 83 32 77 79 68 69 58 57 59 10 \
+ 82 69 80 95 70 65 67 84 79 82 58 49 59 10 \
+ 78 82 53 71 95 79 78 76 89 58 49 59 10 \
+ \
+ 47 110 118 \
+ 47 105 116 101 109 95 102 105 108 101 115 \
+ 47 109 111 100 101 109 \
+ 47 100 97 116 97 \
+ 47 51 103 112 112 \
+ 47 112 115 \
+ 47 108 111 111 112 98 97 99 107 95 99 111 110 102 105 103 46 116 120 116 0
+