20181123_jeffrey - silenceuncrio/diary GitHub Wiki

0910

切回 M300 做事吧

Pull latest

checkout hotfix/v1.75

進 proscend 目錄做 make distclean 再 make menuconfig

Product/Vendor 選 M300/10_GPS_HYTEC

build image... 等吧

0935

survey 一下整理箱

兩個女兒的衣服需要地方放

希望具有下述的特性

  • 可以堆疊
  • 透明

老婆喜歡的是像下面這一種

真心良品 - 朵拉抽屜式專利收納箱(小)6入

image

真心良品 - 朵拉抽屜式專利收納箱(小) - 外箱尺寸

  • 寬 20.2 cm * 深 35.6 cm * 高 20.5 cm

image

真心良品 - 朵拉抽屜式專利收納箱(小) - 內抽尺寸

  • 寬 15 cm * 深 35.6 cm * 高 20.5 cm

image

容量約 11 公升

特力屋 線上 賣 1839

一個約 300

平均 1 公升快 30 元

先再蝦皮找找有沒有 CP 值更高的

1135

用 mfgtool 燒剛剛做完的 image... ok

1155

蝦皮賣最好的

1310

M300 下禮拜給 HYTEC 有下述幾件事

  • 麻煩根據 PROSRC_LTE_LOCK_BANDS 來顯示(y)與隱藏(not set) "Lock Bands"
  • PROSRC_LTE_LOCK_PCIS 來顯示(y)與隱藏(not set)"Lock PCIs"
  • 麻煩把M360P 的 "Serving Cell" sync 過來.
  • 麻煩把M360P 的status "PLMN" 顯示sync 過來.
  • online manual

麻煩根據 PROSRC_LTE_LOCK_BANDS 來顯示(y)與隱藏(not set) "Lock Bands"

LTE > Lock Bands 是本來就有的功能

應該是 HYTEC 這個客戶不想要這個功能

ariel 才幫這個功能加上 compile flag - PROSRC_LTE_LOCK_BANDS

修改如下

diff --git a/proscend/prosrc/www/src/menu.html.src b/proscend/prosrc/www/src/menu.html.src
index 3a9fac1..d0d8cda 100644
--- a/proscend/prosrc/www/src/menu.html.src
+++ b/proscend/prosrc/www/src/menu.html.src
@@ -130,7 +130,9 @@
     <a href="#sms" class="list-group-item">{{ 'MENU_LTE_SMS' | translate }}</a>
     <a href="#serving_cell" class="list-group-item">{{ 'MENU_LTE_SERVING_CELL' | translate }}</a>
     <a href="#lock_pcis" class="list-group-item">{{ 'MENU_LTE_LOCK_PCIS' | translate }}</a>
+#ifdef PROSRC_LTE_LOCK_BANDS
     <a href="#lock_bands" class="list-group-item">{{ 'MENU_LTE_LOCK_BANDS' | translate }}</a>
+#endif
     <a href="#dnsLte" class="list-group-item">{{ 'MENU_LTE_DNS' | translate }}</a>
   </ul>
   </div>
(END)

commit

commit a4863cca447e92a3b850eb0c43c5adfc0c19cb79
Refs: [hotfix/v1.75]
Author: jeffrey <[email protected]>
Date:   Fri Nov 23 13:21:42 2018 +0800

    accordint to the compile flag 'PROSRC_LTE_LOCK_BANDS' to show the function 'LTE > Lock Bands'

 proscend/prosrc/www/src/menu.html.src | 2 ++
 1 file changed, 2 insertions(+)

1325

PROSRC_LTE_LOCK_PCIS 來顯示(y)與隱藏(not set)"Lock PCIs"

LTE > Lock PCIs 也是既有的功能

根據 compile flag PROSRC_LTE_LOCK_PCIS 來顯示吧

commit 97220e2ae17822880f762c5b7d902ad46ae7df18
Author: jeffrey <[email protected]>
Date:   Fri Nov 23 13:26:33 2018 +0800

    according to the compile flag 'PROSRC_LTE_LOCK_PCIS' to show the function 'LTE > Lock PCIs'

 proscend/prosrc/www/src/menu.html.src | 2 ++
 1 file changed, 2 insertions(+)

1330

麻煩把M360P 的 "Serving Cell" sync 過來.

LTE > Serving Cell 是 M300 本來就有的功能

只是原作者有多加了一些屬性

就幫忙加過來到 M300 吧

commit d6feb03b3ca9b5f92d1df75cc9febdc19ab8c63e
Author: jeffrey <[email protected]>
Date:   Fri Nov 23 13:47:27 2018 +0800

    modify the 'Serving Cell' web page according to the designer

 proscend/prosrc/webcgi/lte.c                      |  6 ++++++
 proscend/prosrc/www/app/feature/serving_cell.html | 22 +++++++++++++++++++++-
 proscend/prosrc/www/app/locale-en.json            |  5 +++++
 proscend/prosrc/www/app/locale-fr.json            |  5 +++++
 proscend/prosrc/www/app/locale-zh-tw.json         |  5 +++++
 5 files changed, 42 insertions(+), 1 deletion(-)

1350

麻煩把M360P 的status "PLMN" 顯示sync 過來.

commit e56eaa3954cf4ae73f5e7d7d545ebe825b4eeac7
Author: jeffrey <[email protected]>
Date:   Fri Nov 23 14:04:02 2018 +0800

    add 'PLMN' field at 'Status' web page

 proscend/prosrc/webcgi/status.c                                |  2 ++
 proscend/prosrc/www/app/locale-en.json                         |  1 +
 proscend/prosrc/www/app/locale-fr.json                         |  1 +
 proscend/prosrc/www/app/locale-zh-tw.json                      |  1 +
 proscend/prosrc/www/brand_advice/app/feature/status.html.src   | 10 ++++++++++
 proscend/prosrc/www/brand_ctcu/app/feature/status.html.src     | 10 ++++++++++
 proscend/prosrc/www/brand_cxr/app/feature/status.html.src      | 10 ++++++++++
 proscend/prosrc/www/brand_digicomm/app/feature/status.html.src | 10 ++++++++++
 proscend/prosrc/www/brand_hytec/app/feature/status.html.src    | 10 ++++++++++
 proscend/prosrc/www/brand_nobrand/app/feature/status.html.src  | 10 ++++++++++
 proscend/prosrc/www/brand_planet/app/feature/status.html.src   | 10 ++++++++++
 proscend/prosrc/www/brand_xentino/app/feature/status.html.src  |  5 +++++
 12 files changed, 80 insertions(+)

1405

再盤一下 M300 下禮拜給 HYTEC 剩那些事

  • online manual

1450

整理箱目前已定案由妹夫在員購日幫我們買整理箱

由老婆盤一下購買的種類及數量

1550

來幫 M300 加個 online manual

很快地從 M360 搬過來

先 build 個 image 試試

很順利的把 M360 online manual 搬過來了

commit 8a35fe020871e7c8ac2a5b7c6e085d9a2affcd3f
Author: jeffrey <[email protected]>
Date:   Fri Nov 23 16:24:54 2018 +0800

    add the online manual:
    - this is the first step: copy the framework from M360P project

 proscend/prosrc/www/Makefile                       |   2 +
 proscend/prosrc/www/app/app.controller.js          |   8 +
 .../prosrc/www/brand_advice/src/brand/top.html.src |   1 +
 .../prosrc/www/brand_ctcu/src/brand/top.html.src   |   1 +
 .../prosrc/www/brand_cxr/src/brand/top.html.src    |   1 +
 .../www/brand_digicomm/src/brand/top.html.src      |   1 +
 .../prosrc/www/brand_hytec/src/brand/top.html.src  |   1 +
 .../www/brand_nobrand/src/brand/top.html.src       |   1 +
 .../prosrc/www/brand_planet/src/brand/top.html.src |   1 +
 .../www/brand_xentino/src/brand/top.html.src       |   1 +
 proscend/prosrc/www/manual/css/bootstrap.min.css   |   7 +
 .../www/manual/css/jquery.mCustomScrollbar.min.css |   1 +
 proscend/prosrc/www/manual/js/bootstrap.min.js     |   7 +
 proscend/prosrc/www/manual/js/fontawesome.js       |   5 +
 .../prosrc/www/manual/js/jquery-3.3.1.slim.min.js  |   2 +
 .../js/jquery.mCustomScrollbar.concat.min.js       |   5 +
 proscend/prosrc/www/manual/js/popper.min.js        |   5 +
 proscend/prosrc/www/manual/js/solid.js             |   5 +
 proscend/prosrc/www/manual/style.css               | 175 +++++++
 proscend/prosrc/www/src/manual.html.src            | 129 +++++
 .../prosrc/www/src/manual/diagnosis_ping.h.html    |  37 ++
 .../www/src/manual/diagnosis_traceroute.h.html     |  36 ++
 proscend/prosrc/www/src/manual/firewall_dmz.h.html |  30 ++
 .../www/src/manual/firewall_ip_filter.h.html       |  91 ++++
 proscend/prosrc/www/src/manual/firewall_ips.h.html |  48 ++
 .../www/src/manual/firewall_mac_filter.h.html      |  32 ++
 proscend/prosrc/www/src/manual/firewall_nat.h.html |  13 +
 .../www/src/manual/firewall_port_forwarding.h.html |  54 +++
 .../www/src/manual/firewall_url_filter.h.html      |  35 ++
 .../prosrc/www/src/manual/ip_routing_bgp.h.html    | 134 ++++++
 .../www/src/manual/ip_routing_static_route.h.html  |  77 +++
 proscend/prosrc/www/src/manual/lan_ipv4.h.html     |  57 +++
 proscend/prosrc/www/src/manual/lan_ipv6.h.html     |  49 ++
 proscend/prosrc/www/src/manual/lan_subnet.h.html   |  13 +
 proscend/prosrc/www/src/manual/lan_vlan.h.html     |  42 ++
 .../prosrc/www/src/manual/lte_apnx_usage.h.html    |  24 +
 proscend/prosrc/www/src/manual/lte_dns.h.html      |  36 ++
 proscend/prosrc/www/src/manual/lte_dual_apn.h.html | 153 ++++++
 .../prosrc/www/src/manual/lte_lock_bnads.h.html    |  11 +
 .../prosrc/www/src/manual/lte_lock_pcis.h.html     |  45 ++
 .../prosrc/www/src/manual/lte_lte_config.h.html    |  80 ++++
 .../www/src/manual/lte_search_operators.h.html     |  45 ++
 .../prosrc/www/src/manual/lte_serving_cell.h.html  |  68 +++
 proscend/prosrc/www/src/manual/lte_sms.h.html      |  15 +
 .../src/manual/management_administration.h.html    |  55 +++
 .../www/src/manual/management_configuration.h.html |  16 +
 .../www/src/manual/management_contacts.h.html      |  19 +
 .../www/src/manual/management_firmware.h.html      |  17 +
 .../src/manual/management_identification.h.html    |  68 +++
 .../www/src/manual/management_load_factory.h.html  |  14 +
 .../www/src/manual/management_restart.h.html       |  13 +
 .../prosrc/www/src/manual/management_ssh.h.html    |  37 ++
 .../prosrc/www/src/manual/service_ip_alias.h.html  |  48 ++
 proscend/prosrc/www/src/manual/service_qos.h.html  | 172 +++++++
 proscend/prosrc/www/src/manual/service_smtp.h.html |  61 +++
 proscend/prosrc/www/src/manual/service_snmp.h.html | 188 ++++++++
 .../prosrc/www/src/manual/service_tr069.h.html     |  54 +++
 proscend/prosrc/www/src/manual/service_vrrp.h.html |  44 ++
 proscend/prosrc/www/src/manual/sidebar.h.html      | 257 ++++++++++
 proscend/prosrc/www/src/manual/status.h.html       | 217 +++++++++
 proscend/prosrc/www/src/manual/system_alarm.h.html |  53 +++
 .../www/src/manual/system_client_list.h.html       |  39 ++
 .../www/src/manual/system_ethernet_ports.h.html    |  42 ++
 .../prosrc/www/src/manual/system_logging.h.html    |  80 ++++
 .../www/src/manual/system_time_and_date.h.html     | 107 +++++
 proscend/prosrc/www/src/manual/vpn_gre.h.html      |  47 ++
 proscend/prosrc/www/src/manual/vpn_ipsec.h.html    | 528 +++++++++++++++++++++
 proscend/prosrc/www/src/manual/vpn_l2tp.h.html     | 155 ++++++
 .../prosrc/www/src/manual/vpn_pptp_srever.h.html   |  61 +++
 proscend/prosrc/www/src/manual/wan_ipv6_dns.h.html |  41 ++
 70 files changed, 4017 insertions(+)

成功的跨出第一步

1800

commit adecd3d83e9b2798943016fb7b1670785cc5e485
Author: jeffrey <[email protected]>
Date:   Fri Nov 23 17:56:46 2018 +0800

    find a way to offer user to change backgroupd color

 proscend/prosrc/www/Makefile                  |  2 +-
 proscend/prosrc/www/src/manual.html.src       | 57 ++++++++++++++++-----------
 proscend/prosrc/www/src/manual/sidebar.h.html | 11 ++++++
 3 files changed, 47 insertions(+), 23 deletions(-)
⚠️ **GitHub.com Fallback** ⚠️