1. changed open_port().
2. bug fixed(see setup_port()).
3. new err function.
4. new html doc.

Signed-off-by: Late Lee <latelee@163.com>