20151223_jeffrey - silenceuncrio/diary GitHub Wiki

Index

  • 0925 - review diary
  • 0945 - SW Arch and feature list. Re: MiFi Schedule Plan
  • 1015 - Fwd: Newly modified feature list, schedule plan, software block diagram
  • 1050 - IoT Platform - Software Block Diagram
  • 1140 - NodeMCU - ็Žฉไธ€ไธ‹
  • 1330 - NodeMCU - ่ทŸ่‘—ๅฎ˜็ถฒ่จŽ่ซ–ๅ€็š„ๆ–ฐๆ‰‹ๆ•™ๅญธ่ตฐไบ†ไธ€่ถŸ
  • 1350 - ๆ€่€ƒ openWrt ไธŠๅˆ้ฉ็š„่ณ‡ๆ–™ๅบซ
  • 1440 - Resource time table ๅกซๅฏซ
  • 1530 - ๆ€่€ƒ openWrt ไธŠๅˆ้ฉ็š„่ณ‡ๆ–™ๅบซ
  • 1555 - NodeMCU - ่จปๅ†ŠNodeMCUๆŠ€ๆœฏ่ฎบๅ›
  • 1610 - NodeMCU - ๅฐ็ฃ WoT.City ไธŠไธ้Œฏ็š„ๅ…ฅ้–€ๆ–‡็ซ 
  • 1635 - NodeMCU - ๆ”ถ้›†ไธ€ไธ‹ๆˆ‘ๆ‰‹ไธŠ็š„ NodeMCU ๆƒ…ๅ ฑ

0925

ๅ…ฌๅธๆ›ไบ†ๆ–ฐ็š„้–‹้ฃฒๆฉŸ, ไปๆ˜ฏ่ณ€็œพ็‰Œ, ็œ‹่ตทไพ†่ ป้ซ˜็ดš็š„

review diary ๆ€่€ƒไธ‹ไธ€ๆญฅๆฃ‹

0945

SW Arch and feature list. Re: MiFi Schedule Plan

pioneer ๆ–ผ 2015/12/18 ไธ‹ๅˆ 12:38 ๅฏซ้“:

Dear Ariel,
Just reviewed the sw arch and feature list you sent.
The following features are missed and need to be included:

  1. NAT
  2. SNMP (v1, v2c, v3)
  3. CLI
  4. telnet, ssh
  5. DoS, DDoS, Intrusion Detection
  6. URL BLocking
  7. Content Filtering
  8. VLAN
  9. QoS

These features are not all necessary for MiFi router. But most of them are all necessary for mobil router. The others are nice to have and may be requested by some customers.
And, you can plan your schedule in the feature list, by separating the sw into phases (by completeness of feature sets). Each phases should at least has alpha, beta and final stage.

Attached the examples of sw arch and feature list. Please refer and modify yours to be more complete.

Dear Winson, Anton, Venti, Jeffrey,
Please also refer the attached files and find time to make corresponding sw arch and feature list for:

  1. 708P
  2. 579X -- feature list as attached, just need to review.
  3. 52xxN -- refer 579x's
  4. IOT platform

You don't need to complete follow my format at this moment. But, need to cover enough dettail same as the ones I attached.
And, after that, for some major modules, like icos config and icostimer in our VPN, 579x and 52xxN, we also need to sketch the control diagram and data diagram.
The diagram will be simliar to the ones which Ariel presented in mifi router proposal presentation.

image

On 2015/12/17 ไธŠๅˆ 11:10, ArielChang wrote:

Dear Pioneer,
้™„ไปถๆ˜ฏๆ นๆ“šFeature List ๆ‰€่ฆๅŠƒ็š„ๆ™‚็จ‹, Software Block Diagram.
Resource ้™คไบ†John and Ariel ๅค–, web UI and Web Server ็…งๆ‚จไธŠๆฌก็š„ๅ›žไฟกๆŒ‡็คบ ๅŠ ไธŠAnton, Jimmy.
ๅŸบๆœฌไธŠOptional ้ …็›ฎๆšซไธ่ฆๅŠƒๅค–, ้—œๆ–ผMust, Better to Have ้ …็›ฎๅ‡ไผฐไบ†ๅฏฆไฝœ่ˆ‡ ๆ•ดๅˆๆธฌ่ฉฆๆ™‚้–“.

[้šŽๆฎตไธ€] ้œ€ๆ™‚60ๅ€‹ๅทฅไฝœๅคฉ. ๅฎŒๆˆๅพŒ, ้—œๆ–ผๆˆ‘็š„Proposalๅ…ง็š„ๆžถๆง‹่ˆ‡้€ฃ็ทš็›ธ้—œ็š„ๅŸบ ๆœฌๆŽงๅˆถๅšๅฎŒ. ๅฏไปฅๆไพ›ๆฅญๅ‹™็‘ samples.
[้šŽๆฎตไบŒ] ้œ€ๆ™‚42ๅ€‹ๅทฅไฝœๅคฉ. ๅฎŒๆˆๅพŒ, ่ˆ‡้€ฃ็ทš็›ธ้—œ็š„้€ฒ้šŽๆŽงๅˆถๅšๅฎŒ. ๅฏไปฅๆไพ›็”จๆˆถ ไธ€ๅ€‹ๅฎŒๆ•ด็š„้€ฃ็ทšๅŠŸ่ƒฝ.
[้šŽๆฎตไธ‰] ้œ€ๆ™‚47ๅ€‹ๅทฅไฝœๅคฉ. ๅฎŒๆˆๅพŒRouter ็š„่จญๅฎš่ˆ‡LTE ็š„้€ฒ้šŽๆŽงๅˆถๅšๅฎŒ.
[้šŽๆฎตๅ››] ้—œๆ–ผOptional ๅŠŸ่ƒฝ. ๅพ…ๅ‰ไธ‰้šŽๆฎต้ƒฝ้ฉ—ๆญฃๅฅฝไบ†ไน‹ๅพŒ, ๅ†้€ฒ่กŒ้€™ไบ›Advanced and Rich Features. ๅฏไปฅๆไพ›ไฝฟ็”จ่€…ๆ›ด่ฑๅฏŒ็š„ๅŠŸ่ƒฝ.

1015

Fwd: Newly modified feature list, schedule plan, software block diagram

Eric ๆ–ผ 2015/12/21 ไธ‹ๅˆ 03:31 ๅฏซ้“:

F. Y. I.

MiFi Software Block Diagram

image

ไธ่ƒฝๅฆ่ช Ariel ็š„ๅฐˆๆกˆ่ฆ็•ซ่ƒฝๅŠ›็œŸ็š„ๅพˆๆฃ’

Ariel ็š„ๆƒ…ๅ ฑ

  • ไพ†่‡ช ๆ–ฐ็ซนๅปฃ้”็ ”็™ผไธญๅฟƒ - 2015-09-18 ๅทฒ็†„็‡ˆ
  • ไธ้ก˜ๆ„ๅŽปๆž—ๅฃ็ธฝๅ…ฌๅธไธŠ็ญ, ๆ‰€ไปฅๅˆฐไบ†ๆˆ‘ๅ€‘ๆ˜‡้ ป
  • 46 ~ 48 ๆญฒๅทฒๅฉšๅฅณๆ€ง
  • ๅฅน็š„ไธ€ไฝไธ‹ๅฑฌ John ไนŸไธ€่ตท้Žไพ†ๆ˜‡้ ป

ๆˆ‘็พๅœจๅฐฑๆ˜ฏ่ฆไปฅ IoT Platform ้€™ๅ€‹ๅฐˆๆกˆไพ†ๅŸน้คŠ่‡ชๅทฑ็š„่ƒฝๅŠ›
Ariel ๅฐฑๆ˜ฏๆˆ‘็š„ๆจกไปฟๅฐ่ฑก

1050

ๆˆ‘ๆ‡‰่ฉฒๅฐฑ็›ฎๅ‰ mantis wiki ไธŠ IoT Platform ็š„ๅ…งๅฎนไพ†็•ซไธ€ไธ‹ IoT Platform Software Block Diagram

1140

็Žฉไธ€ไธ‹ๆ˜จๅคฉๅˆฐ่ฒจ็š„ NodeMCU

1330

ๅพˆๅฟซ็š„่ทŸ่‘—ๅฎ˜็ถฒ่จŽ่ซ–ๅ€็š„ๆ–ฐๆ‰‹ๆ•™ๅญธ่ตฐไบ†ไธ€่ถŸ

็œŸ็š„ๆ˜ฏๅพˆๆœ‰ๆฝ›ๅŠ›ใ„š

้ †ๆ‰‹ๆ•ด็†้Ž็จ‹็•ถไธญ็”จๅˆฐ็š„่ปŸไปถ

1350

ๆ€่€ƒไธ€ไธ‹ openWrt ไธŠๅˆ้ฉ็š„่ณ‡ๆ–™ๅบซ

ๅƒ่€ƒไน‹ๅ‰็š„ OpenWrt opkg list
ๅฐ‡่ณ‡ๆ–™ๅบซ็›ธ้—œ็š„ package ๅ…ˆๅˆ—ๅ‡บไพ†

  • credis - 0.2.2-1 - Credis is a client library in plain C for communicating with Redis servers.
    Redis is a high performance key-value database, refer to Redis project page for more information.
    Credis aims to be fast and minimalistic with respect to memory usage. It supports connections to multiple Redis servers.
  • libsqlite2 - 2.8.17-2 - SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
    This package contains the SQLite (v2.x) shared library, used by other programs.
  • libsqlite3 - 3080704-1 - SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
    This package contains the SQLite (v3.x) shared library, used by other programs.
  • pgsql-cli - 9.0.17-1 - Command Line Interface (CLI) to PostgreSQL databases.
  • pgsql-server - 9.0.17-1 - PostgreSQL databases Server.
  • pgsqlodbc - 2.3.2-1 - Postgresql driver for ODBC.
  • sqlite2-cli - 2.8.17-2 - SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
    This package contains a terminal-based front-end to the SQLite (v2.x) library that can evaluate queries interactively and display the results in multiple formats.
  • sqlite3-cli - 3080704-1 - SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
    This package contains a terminal-based front-end to the SQLite (v3.x) library that can evaluate queries interactively and display the results in multiple formats.

้—œๆ–ผ ้—œ่ฏๅผ่ณ‡ๆ–™ๅบซ็š„ๆฏ”่ผƒๆ–‡ๅฏไปฅๅƒ่€ƒ

้€™ไธ€็ฏ‡ๅพˆๅฟซ็š„้ปžๅ‡บ openWrt ไธŠ่‹ฅๆ˜ฏ่ฆไฝฟ็”จ้—œ่ฏๅผ่ณ‡ๆ–™ๅบซ็š„่ฉฑ
ๅปบ่ญฐๆ˜ฏ SQLite

  • ไฝ•ๆ—ถๅบ”่ฏฅไฝฟ็”จSQLite
    • ๅตŒๅ…ฅๅผๅบ”็”จ็จ‹ๅบ - ๆ‰€ๆœ‰้œ€่ฆๅฏ็งปๆคๆ€งใ€ไธ้œ€่ฆๆ‰ฉๅฑ•็š„ๅบ”็”จ็จ‹ๅบ๏ผŒไพ‹ๅฆ‚ๅ•็”จๆˆท็š„ๆœฌๅœฐๅบ”็”จใ€็งปๅŠจๅบ”็”จๆˆ–่€…ๆธธๆˆใ€‚
    • ๆ›ฟไปฃ็ฃ็›˜่ฎฟ้—ฎ - ๅœจๅพˆๅคšๆƒ…ๅ†ตไธ‹๏ผŒ้œ€่ฆ็›ดๆŽฅ่ฏปๅ†™็ฃ็›˜ๆ–‡ไปถ็š„ๅบ”็”จ็จ‹ๅบๅฏไปฅๅˆ‡ๆขๅˆฐSQLiteไปŽ่€Œๅ—็›ŠไบŽSQLiteๆไพ›็š„้ขๅค–ๅŠŸ่ƒฝไปฅๅŠไฝฟ็”จ็ป“ๆž„ๅŒ–ๆŸฅ่ฏข่ฏญ่จ€๏ผˆSQL๏ผ‰ๆ‰€ๅธฆๆฅ็š„็ฎ€ไพฟๆ€งใ€‚
    • ๆต‹่ฏ• - ๅฏนๅคง้ƒจๅˆ†ๅบ”็”จ็จ‹ๅบ่€Œ่จ€ๆฒกๅฟ…่ฆไฝฟ็”จ้ขๅค–็š„่ฟ›็จ‹ๆต‹่ฏ•ไธšๅŠก้€ป่พ‘๏ผˆไพ‹ๅฆ‚ๅบ”็”จ็จ‹ๅบ็š„ไธป่ฆ็›ฎๆ ‡๏ผšๅŠŸ่ƒฝ๏ผ‰ใ€‚
  • ไฝ•ๆ—ถไธๅบ”่ฏฅไฝฟ็”จSQLite
    • ๅคš็”จๆˆทๅบ”็”จ็จ‹ๅบ - ๅฆ‚ๆžœๆœ‰ๅคšไธชๅฎขๆˆท็ซฏ้œ€่ฆ่ฎฟ้—ฎๅนถไฝฟ็”จๅŒไธ€ไธชๆ•ฐๆฎๅบ“๏ผŒ้‚ฃไนˆๆœ€ๅฅฝไฝฟ็”จๅŠŸ่ƒฝๅฎŒๆ•ด็š„ๅ…ณ็ณปๅž‹ๆ•ฐๆฎๅบ“๏ผˆไพ‹ๅฆ‚MySQL๏ผ‰๏ผŒ่€Œไธๆ˜ฏ้€‰ๆ‹ฉSQLiteใ€‚
    • ้œ€่ฆ้ซ˜ๅ†™ๅ…ฅ้‡็š„ๅบ”็”จ็จ‹ๅบ - ๅ†™ๆ“ไฝœๆ˜ฏSQLite็š„ไธ€ไธชๅฑ€้™ใ€‚่ฏฅDBMSๅœจๅŒไธ€ๆ—ถๅˆปไป…ๅ…่ฎธไธ€ไธชๅ†™ๆ“ไฝœ๏ผŒๅ› ่€ŒไนŸ้™ๅˆถไบ†ๅ…ถๅžๅ้‡ใ€‚

1440

Resource time table ๅกซๅฏซ

pioneer ๆ–ผ 2015/12/23 ไธ‹ๅˆ 12:12 ๅฏซ้“:

Dear all,

ไปฅไธ‹ไบ‹้ …, ่ซ‹็Ÿฅๆ‚‰:

  1. resource time table ่ซ‹ไพๅฆ‚ไธ‹ๆบ–ๅ‰‡ๆŒ‰ๆ™‚ๆ›ดๆ–ฐ
  • ่‡ณๅฐ‘้ ๅกซไธ€ๅ€‹ๆœˆ (่‹ฅไธ็Ÿฅๆœชไพ†ไธ€ๅ€‹ๆœˆ็š„ๅทฅไฝœ, ้šจๆ™‚่ฎ“ๆˆ‘็Ÿฅ้“)
  • ็•ถ้€ฑ็ตๆŸๆ™‚, ไพๅฏฆ้š›ๅทฅไฝœๆ™‚้–“ๆ›ดๆ–ฐ
  • ๅ‰ฉ้ค˜ๆ™‚้–“ๆ‡‰่ฉฒ็‚บ0
  1. ๅกซๅฏซไธฆ็นณไบคKPI (2015 review, 2016 plan)

  2. Spring, ่ซ‹้–‹ๆ”พๅญ˜ๅ–IOT platform project ไน‹ๆฌŠ้™ไบˆ Jeffrey ่ˆ‡ Jammy.
    Jeffrey, Jammy ่ซ‹ๅฐ‡IOT platfrom ็›ธ้—œ้‡้ปž่ฟฝ่นคไบ‹้ …ๅกซๅ…ฅไธฆๆŒ‰้€ฑๆ›ดๆ–ฐ็‹€ๆ…‹.

Best regards,
Pioneer

ๆ•ด็†็›ธ้—œ่ณ‡ๆบๆ–นไพฟไน‹ๅพŒๅกซๅฏซ

  • IOT Platform
    • Jeffrey, Jammy ่ซ‹ๅฐ‡IOT platform ็›ธ้—œ้‡้ปž่ฟฝ่นคไบ‹้ …ๅกซๅ…ฅไธฆๆŒ‰้€ฑๆ›ดๆ–ฐ็‹€ๆ…‹
  • 52xxN
    • ๅƒ่€ƒ้€™ๅผต่กจไพ†ๅกซๅง

1530

ๆ€่€ƒไธ€ไธ‹ openWrt ไธŠๅˆ้ฉ็š„่ณ‡ๆ–™ๅบซ

ๆฒ’่ƒฝๆ‰พๅˆฐ Redis ๅฐๆ–ผ openWrt ็š„่ณ‡ๆบ... shit...

ไธ้Žๅ€’ๆ˜ฏๅœจ menuconfig ไธŠ็œ‹ๅˆฐ database ็š„้ธๅ–ฎ

 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ database โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
  โ”‚  ...                                                                    โ”‚  
  โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚  
  โ”‚ โ”‚    < > libpq.......................................... PostgreSQL clโ”‚ โ”‚  
  โ”‚ โ”‚    < > libsqlite2....................... SQLite (v2.x) database engiโ”‚ โ”‚  
  โ”‚ โ”‚    < > libsqlite3....................... SQLite (v3.x) database engiโ”‚ โ”‚  
  โ”‚ โ”‚    < > pgsqlodbc..................................... Postgresql driโ”‚ โ”‚  
  โ”‚ โ”‚    < > tokyocabinet................... A library of routines to manaโ”‚ โ”‚  
  โ”‚ โ”‚    < > unixodbc............................................ unixODBCโ”‚ โ”‚  
  โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚  
  โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค  
  โ”‚        <Select>    < Exit >    < Help >    < Save >    < Load >         โ”‚  
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  

็›ฎๅ‰ๅ…ˆ้€™ๆจฃ
ๅพŒ็บŒ implement ็š„้Ž็จ‹ๆœ‰้œ€่ฆๅ†่ชช

1555

่จปๅ†Š NodeMCUๆŠ€ๆœฏ่ฎบๅ›

image

1610

ๅฐ็ฃ็š„ WoT.City ไธŠไนŸๆœ‰ๅพˆไธ้Œฏ็š„ๅ…ฅ้–€ๆ–‡็ซ 
ESP8266 & NodeMCU ้–‹็™ผๅ…ฅ้–€

1635

ๆ”ถ้›†ไธ€ไธ‹ๆˆ‘ๆ‰‹ไธŠ็š„ NodeMCU ๆƒ…ๅ ฑ

1710

็œ‹ไพ†้‚„ๅฏไปฅๅ†ๅคš่ฃœไธ€ไบ› NodeMCU ไพ†็Žฉ

โš ๏ธ **GitHub.com Fallback** โš ๏ธ