201903_jeffrey - silenceuncrio/diary GitHub Wiki
日 | 一 | 二 | 三 | 四 | 五 | 六 |
---|---|---|---|---|---|---|
- | - | |||||
- | 04 | 05 | 06 | 07 | 08 | - |
- | 11 | 12 | 13 | 14 | 15 | - |
- | 18 | 19 | 20 | 21 | 22 | - |
- | 25 | 26 | 27 | 28 | 29 | - |
- 4
- 寫 物聯網通訊技術剖析與市場趨勢 的心得報告
- use ICOS_CheckPrivilege to check web login
- Fix PPTP LED
- apply reactstrap: Easy to use React Bootstrap 4 components
- 5
- apple 要繳年費
- according to the actual testing to modify the time related calculation for progress bar
- 6
- multi wan related modification
- speed up the redirect action
- react practice
- 7
- fix the problem of the 'Location' and 'Googole Maps' on top banner
- after login or logout, user do not need to press the confirm button
- do
$route.reload();
before$location.url("/reboot");
to speed up the redirection - react practice
- 8
- remove the WAN Flow Control from 'System > Ethernet Ports'
- mantis issue
- 0000423: suggest to modify web GUI for WiFi
- 0000428: [WEB UI] sessionTTL login fail issue
- 0000431: [Lock PCIs] no check any PCIs, why i can apply Lock and unlock
- 11
- [Angular]remove the duplicate dependency injection
- correct the 'LAN > VLAN' page
- [M300]add the following 2 fields to 'wifi_ate' page:
- Set adaptive
- Set Sensitivity
- [M300]add 'RSSI' field at 'LTE > Serving Cell' web page
- 12
- add 'GPS' related information into 'Status' page
- react practice:
- 13
- react practice:
- redirect to /signin route when the response.status of fetch is 401
- after signin ok, use history.goBack() to redirect to the previous route
- add SignOut component
- add 'Sign Out' button at Navigation component
- react practice:
- 14
- add 'RSSI' field at 'LTE > Serving Cell' web page
- complete the missing action lables at 'LTE > SMS' web page
- the value of 'LTE Net Mode' comes from 'ICOS_shm_status_getInt(SHM_LTE_NET_MODE)' at 'LTE > APN1 Usage' and 'LTE > APN2 Usage' web page
- correct the 'LTE Net Mode' at 'LTE > APN1 Usage' and 'LTE > APN2 Usage' web page
- 15
- [CGI]fix problem caused by Big-Endian
- 18
- react practive:
- different Navigation view base on authUser
- use react context to keep the auth user information
- remove the follwoing options from 'Security Option' at 'WiFi Config' page:
- WPA-PSK(TKIP)
- WPA2-PSK(TKIP)
- WPA2(MIX)
- react practive: refactoring
- react practive:
- 19
- react practice:
- refactoring
Function01
page - while 'Sign Out' button be pressed
- invoke 'updateUser' at 'AuthUserContext'
- redirect to 'LandingPage'
- refactoring
- [CGI]fix problem caused by Big-Endian
- react practice:
- 20
- react practice:
while sesstion timeout,
fetch() at the Function01Page will get response.status(401);
then it use
this.props.history.push(ROUTES.SIGN_IN)
to redirect to the Signin page. now we can usethis.props.history.push(ROUTES.SIGN_IN, {info: "sesstion timeout"})
, and SignIn page can usethis.props.history.location.state.info
to display the information about why to redirect to Signin page. - react practice:
- Function01: apply Higher-Order Components
- react practice:
while sesstion timeout,
fetch() at the Function01Page will get response.status(401);
then it use
- 21
- react practice:
- abstract the logic of 'Fetcher' from functions
- react practice:
- 22
- NA
- 25
- ask user to reboot to take effect while 'LTE Net Mode' changed at 'WAN > Priority' page
- add 'LTE Net Mode' at 'Status > WAN LTE'
- display Bridge or Router at
LTE APN1 / LTE APN2
panel title - update the online user manual
- 26
- remove 'system_led.h.html' included
- 27
-
add a profile '2_MANUFATURE' for manufacture purpose: since this image will bve used at third party - yuncore, so we need take off our own application.
the application open at this profile as following: PROSRC_CLI PROSRC_CONNMGR PROSRC_LTE PROSRC_GOBINET PROSRC_SWITCH PROSRC_2APN QUECTEL_SEL
and currently we can see the following modem information:
M330/status/sim# list status = unknown operator = Chunghwa Telecom access = FDD LTE IMSI = 466924196196795 number = band = LTE BAND 7 EARFCN = 3050 PLMN = 46692 roaming = NO up-kbps = down-kbps = tx-rx-kbytes = tx-rx-drop =
-
turn on 'DEBUG' as default setting in profile '2_MANUFATURE'
-
add PROSRC_LTE_PROSRC_YUNCORE_MANUFACTURE compiler flag:
- only turn on at profile '2_MANUFACTURE'
-
about the profile '2_MANUFACTURE':
- login: root
- Password:
- remove the /www from rootfs
- do not init the web icos module
-
- 28
- react practice: refactoring
- 29
- about the profile '2_MANUFACTURE': CLI only support
- status
- sim
- system
- ethernet
- lte
- serving-cell
- mgmt
- info
- status
- react practice: refactoring
- about the profile '2_MANUFACTURE': CLI only support