hathach
|
249a355584
|
change return type of setConnInterval() from err_t to bool
|
2017-04-08 17:27:55 +07:00 |
|
hathach
|
c46fe5b9be
|
clean up warnings
remove warning option -Wpointer-arith
|
2017-04-08 17:22:56 +07:00 |
|
hathach
|
2ab46a03fa
|
move waitForEvent() to Arduino.h
|
2017-04-08 17:03:53 +07:00 |
|
hathach
|
291a28b507
|
add waitForEvent() as macro for __WFE(). Enable Idle Hook and call wfe instruction
|
2017-04-08 16:59:56 +07:00 |
|
hathach
|
887d0354a0
|
revert syscall
|
2017-04-08 16:32:58 +07:00 |
|
hathach
|
f62daa12fd
|
newline correction
|
2017-04-08 16:31:25 +07:00 |
|
hathach
|
9358e7c052
|
rename ancsNotification_t to AncsNotification_t
|
2017-04-07 23:19:25 +07:00 |
|
hathach
|
cbbf75e6ef
|
add stub for malloc lock
|
2017-04-07 17:46:46 +07:00 |
|
hathach
|
bd035793df
|
add comment explanation for sleep()
|
2017-04-06 15:48:04 +07:00 |
|
hathach
|
f50708b24c
|
add sleep() as wrapper for __wfe()
|
2017-04-06 15:45:51 +07:00 |
|
hathach
|
3822bf91af
|
clean up warnings
|
2017-04-04 22:33:44 +07:00 |
|
microbuilder
|
2ceabefb90
|
ANCS cleanup
|
2017-04-04 16:48:36 +02:00 |
|
hathach
|
0e65819100
|
bleancs add performAction
|
2017-04-04 17:59:42 +07:00 |
|
hathach
|
c0dedf4f37
|
enhance ancs data parser
note: Get Application Attribute does not work yet. Probably due to the
write response > 20 bytes
|
2017-04-04 17:36:22 +07:00 |
|
hathach
|
ecf9df2fae
|
Add option to not use adacallback when invoking callback
|
2017-04-04 14:38:04 +07:00 |
|
hathach
|
b1336100cc
|
add mutex for uart to prevent write conflict
|
2017-04-04 12:39:02 +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
|
d955303a78
|
clean up
|
2017-04-03 13:53:38 +07:00 |
|
hathach
|
c7f8a8d67f
|
add con_handl to central disconnect callback. Starting to add ada_callback
|
2017-04-03 12:44:53 +07:00 |
|
hathach
|
1d9d23ddce
|
start to add callback task
|
2017-04-01 01:17:42 +07:00 |
|
hathach
|
13571bfb7a
|
add connection handle for central callback
|
2017-03-31 22:58:04 +07:00 |
|
hathach
|
006f74aade
|
clean up
|
2017-03-31 22:51:20 +07:00 |
|
hathach
|
fde64249d7
|
fix Central Chars write response
|
2017-03-31 16:16:12 +07:00 |
|
hathach
|
9ac50c633f
|
add getAttribute()
|
2017-03-31 15:43:15 +07:00 |
|
hathach
|
9afb42694a
|
rename
|
2017-03-31 14:57:59 +07:00 |
|
hathach
|
041a42d904
|
add bleancs setNotificationCallback()
|
2017-03-31 13:41:32 +07:00 |
|
hathach
|
7c932db50f
|
rename BLEBas update() to write() for consistency
|
2017-03-31 13:28:20 +07:00 |
|
hathach
|
5f091b0a82
|
add ancs struct
|
2017-03-31 13:08:55 +07:00 |
|
hathach
|
b7f33a2e64
|
add connection handel to BLECentralService
- add multi-connection support to
BLECentralService/BLECentralCharacteristic
|
2017-03-30 23:07:41 +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
|
108b6555a1
|
add Central Char enable/disable notify,indicate()
|
2017-03-30 20:53:22 +07:00 |
|
hathach
|
e38908b9da
|
clean up
|
2017-03-30 19:57:59 +07:00 |
|
hathach
|
852e100007
|
make gatt support both client & server
|
2017-03-30 19:55:57 +07:00 |
|
hathach
|
a3cd4104b2
|
rename
|
2017-03-30 16:38:46 +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
|
d92438be4d
|
adding ancs example
|
2017-03-30 15:01:54 +07:00 |
|
hathach
|
e8873a43e7
|
able to discover ancs on iphone
|
2017-03-30 14:59:37 +07:00 |
|
hathach
|
ff481dd327
|
clean up
|
2017-03-30 00:44:47 +07:00 |
|
hathach
|
d5a8e8a738
|
wrap up discovery
|
2017-03-30 00:09:20 +07:00 |
|
hathach
|
6d79f0106e
|
move discovery to its own class BLEDiscovery
|
2017-03-29 23:40:18 +07:00 |
|
hathach
|
ec9ea1ad6a
|
add client service advertising
|
2017-03-29 18:28:42 +07:00 |
|
hathach
|
8b85dcfb9c
|
adding ancs
|
2017-03-29 18:04:44 +07:00 |
|
hathach
|
3966c7be89
|
complete central uart read/write
|
2017-03-29 16:13:53 +07:00 |
|
hathach
|
dade06c68a
|
add Central's service list
change central service begin()'s return type to bool
|
2017-03-29 16:03:05 +07:00 |
|
hathach
|
0beff63269
|
refactor service discovery
|
2017-03-29 15:33:48 +07:00 |
|
hathach
|
dbf858e3f2
|
clean up example
|
2017-03-29 15:06:07 +07:00 |
|
hathach
|
15ddb3ede5
|
central enhancement
- change discoverCharacteristic() API
- add BLECentralUart Rx callback,
- add BLECentralService discovered()
- refactor BLECentralCharacteristic
|
2017-03-29 15:02:45 +07:00 |
|