Skip to content

smartanthill/smartanthill1_0-embedded

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmartAnthill Embedded System

Please follow to Documentation section of SmartAnthill Embedded System.

SmartAnthill Embedded System allows main SmartAnthill System to communicate with hardware part (Peripherals) of micro-based device through Router Service that resides on Network Layer of SmartAnthill Network Model.

Router Service

Router Service operates with Packet structures and performs the next tasks:

  • Parsing of incoming Packet from a "bytes flow"
  • Acknowledging of incoming Packet if it has PACKET_FLAG_ACK
  • Sending an outgoing Packet
  • Operating with Stack of outgoing Packets

Activity Diagram

https://raw.githubusercontent.com/smartanthill/smartanthill1_0/develop/docs/specification/embedded/router.png

Operational State Machine

The Operational State Machine is a Finite State Machine with predefined operational states. It can be in only one operational state at a time. The transition from one operational state to another can be initiated by a Triggering Event (device interrupt) or Condition (based on Channel Data Classifier).

State Diagram

https://raw.githubusercontent.com/smartanthill/smartanthill1_0/develop/docs/specification/embedded/osm.png

Questions

Please use the issue tracker to ask questions.

Licence

Copyright (c) 2013-2014 Ivan Kravets

Licenced under the MIT Licence.