summaryrefslogtreecommitdiffhomepage
path: root/digital/dongle-zigbit/src/network_specific.h
diff options
context:
space:
mode:
authorFlorent Duchon2013-04-23 17:11:27 +0200
committerFlorent Duchon2013-04-23 17:16:20 +0200
commiteb26ee00f22a8aa10fe3ec0741a7ca1a9d73e659 (patch)
tree6750d87855fc7eda9caab812ad40eec661b20354 /digital/dongle-zigbit/src/network_specific.h
parentb460c9b32ab71634f73caacaf9ee633934009b90 (diff)
digital/dongle-zigbit: add source code for serial over zigbit
Diffstat (limited to 'digital/dongle-zigbit/src/network_specific.h')
-rw-r--r--digital/dongle-zigbit/src/network_specific.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/digital/dongle-zigbit/src/network_specific.h b/digital/dongle-zigbit/src/network_specific.h
new file mode 100644
index 00000000..c4cef1cb
--- /dev/null
+++ b/digital/dongle-zigbit/src/network_specific.h
@@ -0,0 +1,41 @@
+/* network_specific.h */
+/* Beacon specifical network management. {{{
+ *
+ * Copyright (C) 2012 Florent Duchon
+ *
+ * APBTeam:
+ * Web: http://apbteam.org/
+ * Email: team AT apbteam DOT org
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * }}} */
+
+#ifndef _NETWORK_SPECIFIC_H
+#define _NETWORK_SPECIFIC_H
+
+#include <zdo.h>
+#include "network.h"
+
+#define NETWORK_ACTIVITY_LED 2
+
+
+/* Specific callback after data packet received */
+void network_specific_DataIndicationcallback(APS_DataInd_t* indData);
+
+/* Specific callback after data packet sent */
+void network_specific_DataConfcallback(void);
+
+#endif