-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzwave-control-libs.c
49 lines (34 loc) · 982 Bytes
/
zwave-control-libs.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
============================================================================
Name : zwave-control-libs.c
Author : cj
Version :
Copyright : Your copyright notice
Description : Hello World in C, Ansi-style
============================================================================
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
void dao_zdevices_setattrib(int node, const char name, const char *format, ...) {
}
void zw_hook_network_addnodestatus(int status, uint8_t node) //入网状态反馈
{
}
void zw_hook_network_removenodestatus(int status, uint8_t node) {
} //状态反馈
void zw_hook_network_removefailednode(int status, uint8_t node) {
}
void zw_hook_network_setdefault() {
}
void zwave_hook_apphandler(unsigned char node, const void *data, int dlen) {
}
void server(void *context) {
}
int main(void) {
hal_init("/dev/ttyACM0");
sleep(1);
zw_dispatch_async(server, NULL);
sleep(100);
return EXIT_SUCCESS;
}