Commit Graph
77 Commits
Author SHA1 Message Date
hathach 249a355584 change return type of setConnInterval() from err_t to bool 2017-04-08 17:27:55 +07:00
hathach aa32c41ff8 adacallback
- peripherl connect callback
- central characteristic notify callback
2017-04-04 12:38:40 +07:00
hathach a770b995c3 added AdaCallback implemetation 2017-04-03 22:58:35 +07:00
hathach 1d9d23ddce start to add callback task 2017-04-01 01:17:42 +07:00
hathach f4b4ec0470 introduce BLEGap to manage part of GAP events 2017-03-30 22:59:20 +07:00
hathach a974333516 rename Bonded to Paired 2017-03-30 21:33:25 +07:00
hathach 3c0f3e84f1 introduce BLEGatt class 2017-03-30 16:36:59 +07:00
hathach bd013738b9 add requestBonding 2017-03-30 15:26:35 +07:00
hathach e8873a43e7 able to discover ancs on iphone 2017-03-30 14:59:37 +07:00
hathach d5a8e8a738 wrap up discovery 2017-03-30 00:09:20 +07:00
hathach 1cc6654adf clean up notify API 2017-03-27 20:09:40 +07:00
hathach adffcef44f rename _txbuf_sem to _txpacket_sem 2017-03-27 17:00:23 +07:00
hathach 6ead6cc678 rename txbuf_get to getTxPacket 2017-03-27 16:50:13 +07:00
hathach c8a2a51008 clean up prph and central 2017-03-27 16:24:27 +07:00
hathach 71cc024ee4 clean up 2017-03-23 01:48:42 +07:00
hathach 666c00cbf4 clean up 2017-03-22 23:22:38 +07:00
hathach 7dc80ba645 clean up 2017-03-22 18:00:55 +07:00
hathach 660c4c7f15 adding central support 2017-03-21 22:57:09 +07:00
hathach 555e4a368a add LED_RED & LED_BLUE macro 2017-03-17 13:24:12 +07:00
hathach 80508ca5a4 clean up ble event handler for peripheral 2017-03-17 13:14:27 +07:00
hathach a1c3cc04dc clean up 2017-03-16 16:00:52 +07:00
hathach 1f2d698d2a rename to simply Nffs.h 2017-03-15 01:53:06 +07:00
hathach 100ba3af0f rename NewtNffs to ApacheNffs 2017-03-15 01:47:29 +07:00
hathach c90609bc50 clean up 2017-03-11 00:52:47 +07:00
hathach d0677e6b99 fix MCU speed 64MHz instead of 16MHz
use 32Khz crystal instead of RC for clock
2017-03-09 16:20:06 +07:00
hathach 92e61127da rename start() to begin() 2017-03-08 17:31:35 +07:00
hathach 75d8db65e5 clean up 2017-03-07 02:01:52 +07:00
hathach 69d541b9eb finish #19 2017-03-07 00:45:38 +07:00
hathach 8918e07b07 add clearBonds() 2017-03-06 23:39:26 +07:00
hathach 03640672f8 wrap up bonding 2017-03-06 21:41:34 +07:00
hathach 4101f96a2f correct beacon, wrap up advertising 2017-03-05 00:13:04 +07:00
hathach 9f3e2955cb add BLEAdvertising 2017-03-04 14:27:24 +07:00
hathach 20ee10c979 clean up 2017-03-03 16:25:37 +07:00
hathach 04f51aea48 separate SOC & BLE event handler into separate task 2017-03-03 15:57:46 +07:00
hathach 4c9316d0b6 correct rtos priority lower number = lower prio 2017-03-03 15:03:50 +07:00
hathach e52c68bc51 clean up 2017-03-03 00:58:32 +07:00
hathach 36c5c3cfcc add Helper class for NFFS file system 2017-02-28 22:04:03 +07:00
hathach bf90ae6ae4 clean up code 2017-02-28 19:14:38 +07:00
hathach 7b6aee2d24 clean up 2017-02-28 19:06:54 +07:00
hathach ff97880c62 Negotiate connection interval with central using preferred value
- add connInterval() to return actual connection interval in use
2017-02-28 15:28:47 +07:00
hathach 2bf4a57bee comment out PIN authenticate 2017-02-27 15:40:24 +07:00
hathach d4425a15c0 fix #16 correct connected() 2017-02-26 09:23:18 +07:00
hathach 52d8654525 fix notify crash if not connected
start to add PIN support
2017-02-24 22:36:58 +07:00
hathach 046132edf6 Allow BLESerivce to have instance
- remove Bluefruit::addService
2017-02-24 02:12:54 +07:00
hathach dd57126e93 move saveCCCD() to disconnect event 2017-02-23 23:59:23 +07:00
hathach a08b5a79cc rename central to Central 2017-02-23 21:21:45 +07:00
hathach 4cd971fa61 move sys_attr (CCCD) into bond_data 2017-02-23 19:52:03 +07:00
hathach 95fb6b2747 update pairing/bonding. Able to pair/bond with windows 10 2017-02-23 14:56:10 +07:00
hathach 7fbe44cd31 update debug facilities 2017-02-22 01:28:49 +07:00
hathach a3bb011e0e Implement Central Connect, callback for connect/disconnect 2017-02-21 00:00:42 +07:00