You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
247 B
21 lines
247 B
3 months ago
|
#ifndef _NETWORK_H_
|
||
|
#define _NETWORK_H_
|
||
|
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#define NETNODE_NUM_MAX 128
|
||
|
|
||
|
#pragma pack(2)
|
||
|
|
||
|
typedef struct _NetNode
|
||
|
{
|
||
|
uint16_t nodeAddress ;
|
||
|
uint16_t nodeType ;
|
||
|
uint16_t nodeStatus ;
|
||
|
|
||
|
}NetNode ;
|
||
|
|
||
|
#pragma pack()
|
||
|
|
||
|
#endif
|