hathach
d7fe49b4c3
move callback from BLEGap back to Bluefruit & BLECentral
2017-07-15 00:38:25 +07:00
hathach
78f3be6dfa
add BLECentral disconnect()
2017-07-13 18:32:31 +07:00
hathach
a3aef999cc
improving scanner
2017-07-12 21:31:58 +07:00
hathach
8576dbb406
add startIfDisconnect()
2017-07-12 17:18:34 +07:00
hathach
a96bcc04d2
code clean up
2017-07-12 16:52:17 +07:00
hathach
0302d88a7a
enhance advertising
...
- Separate BLEAdvertisingData & BLEAdvertising
- add setType(), setTimeout(), setInterval(), setIntervalMS()
- add setStopCallback() support
- Add option to only advertising for a specific time (in multiple of
timeout) using start(stop_sec)
- default timeout = 30 second, fast = 20 ms, slow = 152.5 ms
2017-07-12 13:40:15 +07:00
hathach
80683cfafe
minor change
2017-07-11 18:10:53 +07:00
hathach
90db83ef32
Add conn handle to Bluefruit's connect and disconnect prototype
...
move connect and disconnect into BLEGap
2017-07-11 13:56:50 +07:00
hathach
c8b774d1b7
Bluefruit disconnect invoked in callback thread
2017-07-11 12:43:02 +07:00
hathach
4ff746a7f7
move AdaCallback files
2017-07-11 12:36:31 +07:00
hathach
3e00bdafa4
fix typo
2017-07-11 12:33:57 +07:00
hathach
f74c723af7
add connHandle() for client char
2017-07-10 20:55:05 +07:00
hathach
74b032b880
update GAP to support multiple connections
2017-07-10 16:45:17 +07:00
hathach
d3715de869
fix setName()
2017-06-22 20:56:47 +07:00
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