From 0ddc4d3fdcd3684d95cc93aefce01b7bd5a2780f Mon Sep 17 00:00:00 2001 From: pa-pa <> Date: Mon, 31 Oct 2016 14:01:13 +0100 Subject: [PATCH] creative commons license added --- Activity.cpp | 4 ++++ Activity.h | 4 ++++ Alarm.h | 4 ++++ AlarmClock.cpp | 4 ++++ AlarmClock.h | 5 +++++ AskSinPP.h | 6 +++++- BatterySensor.h | 4 ++++ Button.h | 4 ++++ Channel.h | 4 ++++ ChannelList.h | 4 ++++ Debug.h | 4 ++++ Device.cpp | 5 ++++- Device.h | 4 ++++ EEProm.cpp | 4 ++++ EEProm.h | 4 ++++ HMID.cpp | 4 ++++ HMID.h | 4 ++++ Led.cpp | 5 +++++ Led.h | 4 ++++ Link.h | 4 ++++ Message.h | 4 ++++ MultiChannelDevice.h | 4 ++++ Peer.h | 4 ++++ Radio.cpp | 4 ++++ Radio.h | 4 ++++ Radio_ProMini.cpp | 11 +++++++++++ SwitchChannel.h | 4 ++++ SwitchList1.h | 5 +++++ SwitchList3.cpp | 5 +++++ SwitchList3.h | 4 ++++ SwitchStateMachine.cpp | 4 ++++ SwitchStateMachine.h | 4 ++++ cm.h | 6 ------ examples/HM-ES-TX-WM/HM-ES-TX-WM.ino | 5 ++++- examples/HM-LC-SWX-SM/HM-LC-SWX-SM.ino | 4 ++++ examples/HM-RC-4/HM-RC-4.ino | 4 ++++ examples/HM-SEC-MDIR/HM-SEC-MDIR.ino | 5 ++++- examples/HM-WDS10-TH-O/HM-WDS10-TH-O.ino | 4 ++++ examples/HM-WDS100-C6-O-2/HM-WDS100-C6-O-2.ino | 5 ++++- 39 files changed, 164 insertions(+), 11 deletions(-) diff --git a/Activity.cpp b/Activity.cpp index 56d5f60e..a6ce5351 100644 --- a/Activity.cpp +++ b/Activity.cpp @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #include diff --git a/Activity.h b/Activity.h index a4855a89..eed2fe31 100644 --- a/Activity.h +++ b/Activity.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __ACTIVITY_H__ #define __ACTIVITY_H__ diff --git a/Alarm.h b/Alarm.h index 1ffcd3eb..a31a2d62 100644 --- a/Alarm.h +++ b/Alarm.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __ALARM_H__ #define __ALARM_H__ diff --git a/AlarmClock.cpp b/AlarmClock.cpp index 7838aef3..4b48fecd 100644 --- a/AlarmClock.cpp +++ b/AlarmClock.cpp @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #include "TimerOne.h" #include "AlarmClock.h" diff --git a/AlarmClock.h b/AlarmClock.h index bbd98ef5..066ce061 100644 --- a/AlarmClock.h +++ b/AlarmClock.h @@ -1,3 +1,8 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- + #ifndef __ALARMCLOCK_H__ #define __ALARMCLOCK_H__ diff --git a/AskSinPP.h b/AskSinPP.h index eca1bec2..b92d1255 100644 --- a/AskSinPP.h +++ b/AskSinPP.h @@ -1,8 +1,12 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __ASKSINPP_h__ #define __ASKSINPP_h__ -#define ASKSIN_PLUS_PLUS_VERSION "0.1.0" +#define ASKSIN_PLUS_PLUS_VERSION "0.1.1" #define ASKSIN_PLUS_PLUS_IDENTIFIER "AskSin++ V" ASKSIN_PLUS_PLUS_VERSION diff --git a/BatterySensor.h b/BatterySensor.h index f6b6faf7..4095e712 100644 --- a/BatterySensor.h +++ b/BatterySensor.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __BATTERYSENSOR_H__ #define __BATTERYSENSOR_H__ diff --git a/Button.h b/Button.h index cda0c5a1..8737fe5e 100644 --- a/Button.h +++ b/Button.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __BUTTON_H__ #define __BUTTON_H__ diff --git a/Channel.h b/Channel.h index aba7f1bb..ee8d8fd9 100644 --- a/Channel.h +++ b/Channel.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __CHANNEL_H__ #define __CHANNEL_H__ diff --git a/ChannelList.h b/ChannelList.h index 6e4c19bd..725a857e 100644 --- a/ChannelList.h +++ b/ChannelList.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __CHANNELLIST_H__ #define __CHANNELLIST_H__ diff --git a/Debug.h b/Debug.h index a1868f0b..9118716c 100644 --- a/Debug.h +++ b/Debug.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __DEBUG_H__ #define __DEBUG_H__ diff --git a/Device.cpp b/Device.cpp index ad72e68a..a97a7c84 100644 --- a/Device.cpp +++ b/Device.cpp @@ -1,6 +1,9 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #include "Device.h" - #include "Led.h" namespace as { diff --git a/Device.h b/Device.h index d526fcbe..b57ad1eb 100644 --- a/Device.h +++ b/Device.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __DEVICE_H__ #define __DEVICE_H__ diff --git a/EEProm.cpp b/EEProm.cpp index dbe9abba..fba5b356 100644 --- a/EEProm.cpp +++ b/EEProm.cpp @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #include "EEProm.h" diff --git a/EEProm.h b/EEProm.h index beb363df..155759c6 100644 --- a/EEProm.h +++ b/EEProm.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __EEPROM_H__ #define __EEPROM_H__ diff --git a/HMID.cpp b/HMID.cpp index 9322cec7..bd39e765 100644 --- a/HMID.cpp +++ b/HMID.cpp @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #include "HMID.h" diff --git a/HMID.h b/HMID.h index 896fcfb0..dbf7afd2 100644 --- a/HMID.h +++ b/HMID.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __HMID_H__ #define __HMID_H__ diff --git a/Led.cpp b/Led.cpp index b89c821a..8bfa0ae6 100644 --- a/Led.cpp +++ b/Led.cpp @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #include "AlarmClock.h" #include "Led.h" @@ -7,6 +11,7 @@ namespace as { StatusLed sled; +// patters reused from NewAskSin by const StatusLed::BlinkPattern pattern [11] PROGMEM = { {0, 0, {0 , 0 } }, // 0; define nothing {2, 20, {5, 5,} }, // 1; define pairing string diff --git a/Led.h b/Led.h index 49f1a40a..6dddbdd7 100644 --- a/Led.h +++ b/Led.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __STATUSLED_H__ #define __STATUSLED_H__ diff --git a/Link.h b/Link.h index faf801cb..e7d8a680 100644 --- a/Link.h +++ b/Link.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __LINK_H__ #define __LINK_H__ diff --git a/Message.h b/Message.h index f2bf61a8..6f1c35b4 100644 --- a/Message.h +++ b/Message.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __Message_h__ #define __Message_h__ diff --git a/MultiChannelDevice.h b/MultiChannelDevice.h index 97578c2c..cf987c51 100644 --- a/MultiChannelDevice.h +++ b/MultiChannelDevice.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __MULTICHANNELDEVICE_H__ #define __MULTICHANNELDEVICE_H__ diff --git a/Peer.h b/Peer.h index fa14501b..e44a084d 100644 --- a/Peer.h +++ b/Peer.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __PEER_H__ #define __PEER_H__ diff --git a/Radio.cpp b/Radio.cpp index 9e3fb44e..b059df0f 100644 --- a/Radio.cpp +++ b/Radio.cpp @@ -5,6 +5,10 @@ //- AskSin cc1101 functions ----------------------------------------------------------------------------------------------- //- with a lot of copy and paste from culfw firmware //- ----------------------------------------------------------------------------------------------------------------------- +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #if defined(ARDUINO) && ARDUINO >= 100 #include "Arduino.h" diff --git a/Radio.h b/Radio.h index 38e93212..071c3370 100644 --- a/Radio.h +++ b/Radio.h @@ -5,6 +5,10 @@ //- AskSin cc1101 functions ----------------------------------------------------------------------------------------------- //- with a lot of copy and paste from culfw firmware //- ----------------------------------------------------------------------------------------------------------------------- +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef _CC_H #define _CC_H diff --git a/Radio_ProMini.cpp b/Radio_ProMini.cpp index 25480e88..526de7ed 100644 --- a/Radio_ProMini.cpp +++ b/Radio_ProMini.cpp @@ -1,3 +1,14 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin driver implementation +// 2013-08-03 Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- +//- AskSin cc1101 functions ----------------------------------------------------------------------------------------------- +//- with a lot of copy and paste from culfw firmware +//- ----------------------------------------------------------------------------------------------------------------------- +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #if defined(ARDUINO) && ARDUINO >= 100 #include "Arduino.h" diff --git a/SwitchChannel.h b/SwitchChannel.h index 0215c406..7dcf0ca9 100644 --- a/SwitchChannel.h +++ b/SwitchChannel.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __SWITCHCHANNEL_H__ #define __SWITCHCHANNEL_H__ diff --git a/SwitchList1.h b/SwitchList1.h index 9797d72e..dc0c61a6 100644 --- a/SwitchList1.h +++ b/SwitchList1.h @@ -1,3 +1,8 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- + #ifndef __SWITCHCHANNELDATA_H__ #define __SWITCHCHANNELDATA_H__ diff --git a/SwitchList3.cpp b/SwitchList3.cpp index 50d4a811..86a99aaa 100644 --- a/SwitchList3.cpp +++ b/SwitchList3.cpp @@ -1,3 +1,8 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- + #include "SwitchList3.h" namespace as { diff --git a/SwitchList3.h b/SwitchList3.h index d9bca494..1c852729 100644 --- a/SwitchList3.h +++ b/SwitchList3.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __SWITCHSTATEDATA_H__ #define __SWITCHSTATEDATA_H__ diff --git a/SwitchStateMachine.cpp b/SwitchStateMachine.cpp index 6514cbc4..151c227a 100644 --- a/SwitchStateMachine.cpp +++ b/SwitchStateMachine.cpp @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #include "SwitchStateMachine.h" diff --git a/SwitchStateMachine.h b/SwitchStateMachine.h index 52d4d02c..eef3f192 100644 --- a/SwitchStateMachine.h +++ b/SwitchStateMachine.h @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #ifndef __SWITCHSTATEMACHINE_H__ #define __SWITCHSTATEMACHINE_H__ diff --git a/cm.h b/cm.h index 9bf86a6c..1a7ef21f 100644 --- a/cm.h +++ b/cm.h @@ -6,8 +6,6 @@ #ifndef _CM_H #define _CM_H -// #include "HAL.h" - #define GET_2_BYTE_VALUE(n) ( ((uint16_t)n >> 8) | ((uint16_t)n << 8) ) // macro for changing byte order for ARV little endian #define AS_CM_JT_NONE 0 @@ -56,8 +54,4 @@ #define AS_CM_KEYCODE_SHORT 1 #define AS_CM_KEYCODE_LONG 2 - -// void debugActionType(uint8_t actionType); -// void debugState(uint8_t state); -// inline void debugShowStruct(void); #endif diff --git a/examples/HM-ES-TX-WM/HM-ES-TX-WM.ino b/examples/HM-ES-TX-WM/HM-ES-TX-WM.ino index 535c5d33..44285a63 100644 --- a/examples/HM-ES-TX-WM/HM-ES-TX-WM.ino +++ b/examples/HM-ES-TX-WM/HM-ES-TX-WM.ino @@ -1,4 +1,7 @@ - +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #include #include diff --git a/examples/HM-LC-SWX-SM/HM-LC-SWX-SM.ino b/examples/HM-LC-SWX-SM/HM-LC-SWX-SM.ino index a2035a32..471578c1 100644 --- a/examples/HM-LC-SWX-SM/HM-LC-SWX-SM.ino +++ b/examples/HM-LC-SWX-SM/HM-LC-SWX-SM.ino @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #include #include diff --git a/examples/HM-RC-4/HM-RC-4.ino b/examples/HM-RC-4/HM-RC-4.ino index ab67187b..8fe79bee 100644 --- a/examples/HM-RC-4/HM-RC-4.ino +++ b/examples/HM-RC-4/HM-RC-4.ino @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #include #include diff --git a/examples/HM-SEC-MDIR/HM-SEC-MDIR.ino b/examples/HM-SEC-MDIR/HM-SEC-MDIR.ino index 00d66c64..dd265b84 100644 --- a/examples/HM-SEC-MDIR/HM-SEC-MDIR.ino +++ b/examples/HM-SEC-MDIR/HM-SEC-MDIR.ino @@ -1,4 +1,7 @@ - +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #include #include diff --git a/examples/HM-WDS10-TH-O/HM-WDS10-TH-O.ino b/examples/HM-WDS10-TH-O/HM-WDS10-TH-O.ino index 26a3b2ba..c9871dd7 100644 --- a/examples/HM-WDS10-TH-O/HM-WDS10-TH-O.ino +++ b/examples/HM-WDS10-TH-O/HM-WDS10-TH-O.ino @@ -1,3 +1,7 @@ +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #include #include diff --git a/examples/HM-WDS100-C6-O-2/HM-WDS100-C6-O-2.ino b/examples/HM-WDS100-C6-O-2/HM-WDS100-C6-O-2.ino index 91c25394..74323943 100644 --- a/examples/HM-WDS100-C6-O-2/HM-WDS100-C6-O-2.ino +++ b/examples/HM-WDS100-C6-O-2/HM-WDS100-C6-O-2.ino @@ -1,4 +1,7 @@ - +//- ----------------------------------------------------------------------------------------------------------------------- +// AskSin++ +// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/ +//- ----------------------------------------------------------------------------------------------------------------------- #include #include