repo.or.cz
/
sos-2x.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added SHT11 driver for TMote.
[sos-2x.git]
/
modules
/
management
/
ping
/
ping.h
blob
d04f85cafb715cc68ba032f59c0a600f9b59050b
1
#ifndef __PING_H__
2
#define __PING_H__
3
4
enum
{
5
MSG_SEND_PING
= (
MOD_MSG_START
+
0
),
6
MSG_PING
= (
MOD_MSG_START
+
1
),
7
MSG_PING_REPLY
= (
MOD_MSG_START
+
2
),
8
PING_REPEAT_TIME
= (
5
*
1024L
),
9
MAX_PING_REPEAT
=
6
,
10
};
11
12
typedef
struct
ping_req_t
{
13
uint16_t
count
;
14
uint16_t
addr
;
15
}
ping_req_t
;
16
17
#endif
18
19