nBus client API pre MCU (bridge)

xnecas 3e0feee744 Fixed code redundacy пре 1 месец
Core 3e0feee744 Fixed code redundacy пре 1 месец
Drivers 3e0feee744 Fixed code redundacy пре 1 месец
Modules 81ace4870e dataframe length as uint16 пре 10 месеци
graphs 75515065b5 +marmaid in doxy пре 2 месеци
.clang-format 0c37900b54 dokumentacia пре 2 месеци
.clang-format-ignore 0c37900b54 dokumentacia пре 2 месеци
.cproject 3e0feee744 Fixed code redundacy пре 1 месец
.gitignore 4c44c4b872 Updated gitignore пре 2 месеци
.project 3e0feee744 Fixed code redundacy пре 1 месец
Doxyfile 75515065b5 +marmaid in doxy пре 2 месеци
LICENSE 3259c6340c Initial commit пре 11 месеци
Makefile 0c37900b54 dokumentacia пре 2 месеци
README.md 75515065b5 +marmaid in doxy пре 2 месеци
STM32L432KCUX_FLASH.ld 7fb2874748 prvy bridge пре 11 месеци
nbus-bridge.ioc 3e0feee744 Fixed code redundacy пре 1 месец
nbus-bridge.launch dab45546a7 Bridge Unicast Fix пре 2 месеци

README.md

nBus-bridge

nBus klient pre MCU vo funkcii bridge. Modul podporuje 2 typu komunikácie

  • komunikácia s modulom nBusBridge
  • komunikácia s modulmi v internej sieti nBus

Protokol

Dátový rámec

Požiadavka @mermaid{packet_rq}

Odpoveď OK @mermaid{packet_rs}

Odpoveď ERR @mermaid{packet_rs_err}

  • Len - počet bajtov v pakete
  • MA - Module address
  • SA - Sensor address
  • FC - Function code
    • FC+E - Error flag: FC+0x80
  • DATA - Payload
  • CRC8 - CRC checksum

Adresovanie

Name MA SA
Broadcast global 0 0
Broadcast local 0 y
Unicast global x 0
Unicast local x y
to Bridge 0 0xFF