Commit Graph
1465 Commits
Author SHA1 Message Date
hathach 3315199da3 clean up 2017-10-26 13:26:05 +07:00
hathach 39ddbb5763 improve log visibility 2017-10-26 13:25:56 +07:00
Ureloc 501dba8f99 Fixed using VDD as analog reference
The analog gain is a bit confusing as the input range is calculated by dividing Vref by the gain not multiplying. Using VDD as ref results in an input range of (VDD/4)/gain therefore if a range of 0...VDD is needed gain must be 1/4 not 4 (check p363 of product spec)
2017-10-26 07:15:44 +02:00
Kevin Townsend 49568c0a72 Merge pull request #89 from Ureloc/master
Added analog oversampling and Uart::flush()
2017-10-25 21:57:43 +02:00
hathach 0f17739b2d change the linker memory for homekit 2017-10-25 22:53:44 +07:00
Ureloc 52752f378b Cleaned up analogOversampling()
Removed unneeded code
2017-10-25 15:46:50 +02:00
Ureloc 92b638100c Implemented Uart::flush() 2017-10-25 14:35:08 +02:00
Ureloc 8c8d64315c Added analog oversampling
Implemented analog oversampling which allows any analog pin to be automatically sampled muliple times (upto 256) when analogRead() is used. An average of the samples is then returned.
2017-10-25 13:57:56 +02:00
hathach ee1d76b2d5 refactor HAP createHapResponse() 2017-10-19 11:22:23 +07:00
hathach 38df1166cd clean up 2017-10-18 18:57:05 +07:00
hathach 721773db50 improve HAP procedure handling 2017-10-18 16:55:51 +07:00
hathach e7a99c7607 clean up 2017-10-18 15:08:54 +07:00
hathach 854d7185f4 fix HAP Char length 2017-10-18 15:01:28 +07:00
hathach a70152df0e update HAP Chr permission 2017-10-18 14:57:26 +07:00
hathach e7a225dda9 fix HAP procedure response 2017-10-18 14:51:10 +07:00
hathach 56dbe49bf2 update HAP Properties 2017-10-18 11:08:33 +07:00
hathach e311486be0 correct HAP chr properties 2017-10-18 10:46:55 +07:00
hathach 63eaf009b4 fix HAP Chr issue
HAP Char cannot be temporary chr
2017-10-17 18:42:58 +07:00
hathach 57375e5e13 update to use setHapProperties 2017-10-17 18:15:37 +07:00
hathach 2c1bf7f2e7 fix bitfield order 2017-10-17 15:41:16 +07:00
hathach 959cbeff4e get and response to HAP Chr Signature Read 2017-10-17 15:26:43 +07:00
hathach 334e54c8f8 improve gatt 2017-10-17 15:01:39 +07:00
hathach af749ca328 update hap char 2017-10-17 14:13:48 +07:00
hathach 76a366f94c update 2017-10-16 23:36:46 +07:00
hathach 98072c1622 add HAP Properties support 2017-10-16 23:15:21 +07:00
hathach 3a6f88f704 clean up char handler 2017-10-16 17:31:04 +07:00
hathach 531030d999 improve gatt handler 2017-10-16 17:17:23 +07:00
hathach 83369ec255 clean up 2017-10-16 16:26:48 +07:00
hathach 988ed2d37f add HAP Procedure define 2017-10-16 14:59:27 +07:00
hathach 5f40578b27 add HAPProcotol Info service 2017-10-15 15:27:27 +07:00
hathach 386bebc5f0 fix all build errors 2017-10-15 15:19:06 +07:00
hathach dba7aad98c add keywords 2017-10-15 15:18:24 +07:00
hathach 8ee281de39 add library properties 2017-10-15 15:17:46 +07:00
hathach 3b592b1214 move files 2017-10-15 15:15:03 +07:00
hathach 8c9778e5e7 clean up 2017-10-15 15:14:39 +07:00
hathach dc3d968745 update HAP 2017-10-15 15:03:07 +07:00
hathach e81d315f28 add more HAP services: HAPPairing, HAPLightBulb 2017-10-15 14:57:12 +07:00
hathach fe02b18f82 move files 2017-10-15 14:40:55 +07:00
hathach 468ad02b4f rename Hap Acc 2017-10-15 14:40:08 +07:00
hathach e653e098c9 add format descriptor for HAP Char 2017-10-15 14:37:53 +07:00
hathach 90435a92f6 use addDescriptor API() 2017-10-15 14:29:17 +07:00
hathach 418a2f9cc1 add addDescriptor() for Characteristic 2017-10-15 14:23:10 +07:00
hathach 3b3885108f add char presenttation format descriptor support
- function setPresentationFormatDescriptor()
- add UUID16_UNIT* macro
-
2017-10-15 02:33:17 +07:00
hathach 7220d98c94 update HAP char 2017-10-15 00:50:27 +07:00
hathach 57c89c85fa adding HAP Char 2017-10-14 23:45:58 +07:00
hathach cb5c93db4e swap endian for MAC when printing info 2017-10-14 22:01:07 +07:00
hathach 3c0762fcf1 improve instance id 2017-10-14 00:58:06 +07:00
hathach 59c40a27f6 clean up code with HAPService 2017-10-14 00:50:22 +07:00
hathach 495f603ef7 add HAPService 2017-10-14 00:40:20 +07:00
hathach fa3a378eca add more HAP UUID 2017-10-12 22:02:39 +07:00