Commit Graph
299 Commits
Author SHA1 Message Date
hathach ce38d3ce71 refactor adafruit fifo, move malloc from constructor to begin() 2017-07-26 14:54:05 +07:00
hathach c078c3565f add bufferTXD() for BLEUart 2017-07-26 13:24:26 +07:00
hathach fdc0547f3e clean up 2017-07-26 12:01:24 +07:00
hathach 8add8a37b9 invoke BLEServer _disconnect_cb and _connect_cb 2017-07-26 11:30:19 +07:00
hathach 5259a71ebb add _disconnect_cb() and _connect_cb() to BLEService
integrate BLEService.addToGatt() to begin()
2017-07-26 11:07:53 +07:00
hathach ca2d6f3dce add filter by MSD 2017-07-26 08:30:58 +07:00
hathach ba1aa3915b more clean up 2017-07-24 15:53:15 +07:00
hathach 051c2216c8 print devname for paired device in printInfo 2017-07-24 15:46:02 +07:00
hathach 8b04d80a2b clean up 2017-07-24 15:25:47 +07:00
hathach 887d6a6541 improve saving bonding information
add devname into bonding data
2017-07-24 15:21:07 +07:00
hathach 68d9e7bac5 add deferred support to ada callback 2017-07-24 14:23:49 +07:00
hathach 25df80d805 clean up 2017-07-22 00:09:08 +07:00
hathach 161e4d4de8 [advertising] fast mode will blink Blue LED 2x slow mode 2017-07-21 23:22:03 +07:00
hathach cd2da96afb added bond debug when at level 2 2017-07-20 13:55:57 +07:00
hathach 48718392c3 fix nffs_inode_read_filename does not update out_full_len 2017-07-20 13:32:05 +07:00
hathach b09a235f55 update changelog 2017-07-19 13:53:04 +07:00
hathach a53b06b522 discovery support multiple characteristic count 2017-07-19 13:24:57 +07:00
hathach 2e886d43df user ada msg for Discovery 2017-07-19 12:47:21 +07:00
hathach 5c7b883558 implemented client cts 2017-07-18 23:32:13 +07:00
hathach 054ab9d96e add client cts example, discovered OK 2017-07-18 21:49:43 +07:00
hathach d28cefd39f move discovery if needed into BLEClientService.discover() 2017-07-18 21:46:37 +07:00
hathach 56366d4b2e minor 2017-07-18 21:46:09 +07:00
hathach c8c05f3125 adding Client Current Time Service 2017-07-18 21:03:11 +07:00
hathach f56c0dc458 add ClientCharacteristic disconnect() 2017-07-18 21:00:58 +07:00
hathach 32767269c1 implement #63
add filterRssi() and filterUuid()
2017-07-18 15:16:43 +07:00
hathach 673f1821ac add GAP getAddr and setAddr
add Bluefruit.printInfo()
2017-07-18 14:26:22 +07:00
hathach 27ef26024b change Bluefruit.getName() signature 2017-07-18 12:14:12 +07:00
hathach d7fe49b4c3 move callback from BLEGap back to Bluefruit & BLECentral 2017-07-15 00:38:25 +07:00
hathach 5410b48e73 inital working multiple central connections 2017-07-14 15:02:59 +07:00
hathach 78f3be6dfa add BLECentral disconnect() 2017-07-13 18:32:31 +07:00
hathach 48e1da695c clean up 2017-07-13 17:59:33 +07:00
hathach 24a680f180 code refactor 2017-07-13 17:57:32 +07:00
hathach 67831a7f52 clean up 2017-07-13 17:46:52 +07:00
hathach e42063bd82 use ada_callback for scanner callback
also increase ada callback queue depth to 20
2017-07-13 17:44:02 +07:00
hathach 98bae8d1cb add checkReportForService() helper 2017-07-13 17:36:15 +07:00
hathach d7e50b2a25 change parseReportByType signature and behavior
from return pointer to copy data
2017-07-13 17:27:27 +07:00
hathach c84236b2f9 move scan report parser to Scanner 2017-07-13 16:48:45 +07:00
hathach a7448bdbfc move advertising start into startAdv() function.
Add reference link to recommended advertising interval
2017-07-13 16:15:21 +07:00
hathach 3e7eb0ced8 update Scanner 2017-07-12 22:07:38 +07:00
hathach 118fd0c128 more clean up 2017-07-12 22:03:39 +07:00
hathach 3a022cb2a1 more scanner 2017-07-12 22:02:48 +07:00
hathach 6061482e80 update scanner 2017-07-12 21:55:51 +07:00
hathach a3aef999cc improving scanner 2017-07-12 21:31:58 +07:00
hathach f770816f01 Add BLEScanner 2017-07-12 21:19:23 +07:00
hathach e5d771e942 rename to restartOnDisconnect() 2017-07-12 20:21:38 +07:00
hathach ec3c2583f5 rename to advOnDisconnect() 2017-07-12 20:03:29 +07:00
hathach dd0d774931 rename API to isRunning() 2017-07-12 17:53:06 +07:00
hathach 7b92f86714 add isAdvertising() 2017-07-12 17:44:49 +07:00
hathach 8576dbb406 add startIfDisconnect() 2017-07-12 17:18:34 +07:00
hathach 1a060ab398 fix adv stop callback 2017-07-12 17:08:47 +07:00