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
c2991de3cd
increase version to 0.7.0
2017-07-13 16:20:17 +07:00
hathach
7f34405524
Merge branch 'develop' of github.com:adafruit/Adafruit_nRF52_Arduino into develop
2017-07-13 16:19:04 +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
Kevin Townsend
30a0502a68
Update changelog.md
2017-07-13 02:53:30 +09: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
b8d7c5f0d5
minor update
2017-07-12 20:02:15 +07:00
hathach
8434aff069
rename adv_advanced sketch
2017-07-12 20:01:18 +07:00
hathach
eab5136e83
minor sketches update
2017-07-12 20:00:00 +07:00
Kevin Townsend
efe168d714
Update advance_adv.ino
2017-07-12 21:55:30 +09:00
hathach
4d4b9a19f7
update changelog
2017-07-12 17:57:07 +07:00
hathach
584e298a0d
add advance_adv
2017-07-12 17:56:16 +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
307795482c
update advertising code in all sketches
2017-07-12 17:28:19 +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
hathach
a14e575dd2
more clean up
2017-07-12 17:01:56 +07:00
hathach
a96bcc04d2
code clean up
2017-07-12 16:52:17 +07:00
hathach
8034f79236
slightly change advertising implementation
2017-07-12 16:29:37 +07:00
Kevin Townsend
7117a3030f
Update changelog.md
2017-07-12 16:53:50 +09:00
Kevin Townsend
fe9eb1d260
Update changelog.md
2017-07-12 16:53:30 +09:00
Kevin Townsend
d9ddccdd6e
Fixed headings
2017-07-12 16:52:48 +09:00
Kevin Townsend
b1d394b989
Minor cleanup
2017-07-12 16:47:39 +09:00
hathach
340141a6a5
minor update demo
2017-07-12 13:53:43 +07:00
hathach
fa4dcc0255
clean up
2017-07-12 13:49:41 +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
412a2c9e9d
add multiple bleuart sketch
2017-07-11 19:59:37 +07:00
hathach
6c8cf3d29a
minor update
2017-07-11 19:59:23 +07:00
hathach
9c7870580c
minor clean up
2017-07-11 18:12:57 +07:00
hathach
80683cfafe
minor change
2017-07-11 18:10:53 +07:00
hathach
cb589bd7e7
clean up
2017-07-11 14:31:37 +07:00
hathach
4e3d92cc2a
update examples to changed API
2017-07-11 14:14:12 +07:00
hathach
3fa85cc1b4
clean up
2017-07-11 13:58:22 +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
9a74a6f300
more central support
...
- rename BLE_GAP_MAX_CONN to BLE_MAX_CONN
- change rx callback of BLEClientUart
- better support multiple connection
2017-07-10 23:39:18 +07:00
hathach
d4e3244341
make Gatt support multiple connections
2017-07-10 20:56:19 +07:00
hathach
f74c723af7
add connHandle() for client char
2017-07-10 20:55:05 +07:00