...
Test EM on Raspbian OS
...
Platform agnostic c++ coding
State machine
- RDK-B EasyMesh StateMachine
GoLang support for EM CLI
BPI-R4 build instruction
...
- Setup mysql in BPI controller (One time process)
Panel |
---|
borderColor | black |
---|
borderStyle | dashed |
---|
title | DB Setup |
---|
|
→ Input command mysql in prompt, enter into mariadb console and execute the below commands→ CREATE USER 'bpi'@'localhost' IDENTIFIED BY 'root';
→ ALTER USER 'bpi'@'localhost' IDENTIFIED BY 'root';
→ GRANT ALL PRIVILEGES ON *.* TO 'bpi'@'localhost' IDENTIFIED BY 'root';
→ FLUSH PRIVILEGES;
→ SELECT User, Host, plugin FROM mysql.user; → Exit from mysql
|
- Once user is added in mysql, enter into prompt with root access.
Panel |
---|
borderColor | black |
---|
borderStyle | dashed |
---|
title | bpi root |
---|
|
→ Input command mysql -u bpi -p, password is root |
- Create OneWifiMesh table in mariadb
Panel |
---|
borderColor | black |
---|
borderStyle | dashed |
---|
title | Creating database |
---|
|
→ create database OneWifiMesh; → use OneWifiMesh; → show tables; ==> should show no tables
|
- Please have below files in /nvram folder,
...
Sample cli response given below:
Image Removed
Image Removed
Image Removed
Image Added
Image Added
Image Added
Change colocatedAgentID mac addr to interface which needs to be treated as AL MAC
Image Removed
Image Removed
Image Added
Image Added
- Once AL MAC is set check the ctrl prompt whether database reset happened
Observe outputs deleting all datamodels and database insert to verify successful reset
Sample response in ctrl:
Image Removed
Image Added
Response in database: Respective rows will be updated in db
Image Removed
Image Added
Run local Agent with below cmd, (this step is not mandatory)
...
RDK-B EasyMesh Verification Tech summit 2025