Skip to content

Kanagu09/b-route

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

B-route

This is a sample program for operating a Wi-SUN module BP35C2-J11-T01 and communicating with a smart meter. In the sample, you can get instantaneous power consumption data from the smart meter.

Requirements

  • a Wi-SUN module BP35C2-J11-T01
  • rust 1.69.0

Usage

  1. Fill in the required information in config.rs.
  • SERIAL : serial port name of the Wi-SUN module
    • example : /dev/ttyUSB0
  • BROUTE_ID : authentication ID of the B-route issued by the power company
    • 32-digits decimal number
    • example : 00000000000000000000000000000000
  • BROUTE_PASS : password of the B-route issued by the power company
    • 12-character alphabet
    • example : XXXXXXXXXXXX
  1. Add permission to serial port.
chmod a+rw /dev/ttyUSB0 # example
  1. Execute the program.
cargo run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages