COSA
An Object-Oriented Platform for Arduino Programming
Wireless::Driver::addr_t Struct Reference

#include <Wireless.hh>

Collaboration diagram for Wireless::Driver::addr_t:
Collaboration graph

Public Member Functions

 addr_t (int16_t net, uint8_t dev)
 

Public Attributes

uint8_t device
 Device address (LSB). More...
 
int16_t network
 Network address. More...
 

Detailed Description

Network address together with port.

Definition at line 40 of file Wireless.hh.

Constructor & Destructor Documentation

Wireless::Driver::addr_t::addr_t ( int16_t  net,
uint8_t  dev 
)
inline

Construct node address from given device and network address.

Parameters
[in]netnetwork address.
[in]devdevice address.

Definition at line 50 of file Wireless.hh.

Member Data Documentation

uint8_t Wireless::Driver::addr_t::device

Device address (LSB).

Definition at line 41 of file Wireless.hh.

int16_t Wireless::Driver::addr_t::network

Network address.

Definition at line 42 of file Wireless.hh.


The documentation for this struct was generated from the following file: