Monday, May 31, 2021

wolfMQTT

1) download or clone from git.

2) ./configure --disable-tls --disable-examples

3) make

----

./configure --help



Tuesday, May 4, 2021

Java Tomcat JSP Servlets Database

 https://www3.ntu.edu.sg/home/ehchua/programming/java/JavaWebDBApp.html

https://www.akadia.com/download/soug/tomcat/html/tomcat_apache.html


            final String userName = "root";
            final String password = "sa123";

cd \myWebProject\mysql\bin

mysql -u root -p

SHOW DATABASES;
use autobatch;
SHOW TABLES;



Tuesday, March 23, 2021

Windows TCP Client Program

 Open Visual Studio and create new C++ console application.

Copy and the following program and build.

https://docs.microsoft.com/en-us/windows/win32/winsock/complete-client-code


Tuesday, December 8, 2020

nios CPU frequency

 file:///C:/devkit_simple_socket_server_project/platform/q_sys/q_sys.html#module_cpu


Software Assignments

BIG_ENDIAN0
BREAK_ADDR0x00200820
CPU_ARCH_NIOS2_R1
CPU_FREQ50000000u

Thursday, December 3, 2020

OPC UA Open Source Build steps

 1) Git is installed in PC.

2) git clone https://github.com/open62541/open62541.git

3) git tag --list

4) git checkout v1.2-rc1

5) git describe --tags

6) create build directory and change into it.

7) git submodule init && git submodule update

8) cmake.exe .. -G "Visual Studio 16 2019" -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUA_NAMESPACE_ZERO=FULL -DUA_BUILD_EXAMPLES=ON

9) Open .vln project

10) Inside project, CMakePredefinedTags, build BUILD and INSTALL.


Thursday, October 29, 2020

Autosar: PduR

  The PDU Router module determines the destination of a PDU by using the PDU ID and a static configuration table.

Assignment

Find PDU IDs and static configuration Table.