hathach
e749dc0619
more clean up
2019-04-06 15:04:28 +07:00
hathach
5f06fd2fd9
move getPeerName to BLEConnection
2019-04-05 12:59:50 +07:00
hathach
865ac99c7f
Seperate OTA DFU service from Bluefruit.begin()
2019-04-05 00:26:04 +07:00
hathach
cce9aa990b
clean up
2019-03-06 22:43:01 +07:00
hathach
00816a2de2
add enableOTA(bool)
2019-02-01 18:49:23 +07:00
hathach
b7323d1819
Remove BLEGap, API function is taken by Bluefruit, BLEPeriph, BLECentral
2019-02-01 16:16:20 +07:00
hathach
e40181e3e5
minor clean up
2019-01-31 02:36:27 +07:00
hathach
3730a7dd89
Gap.getPeerName() is replaced by Bluefruit.getPeerName()
2019-01-24 15:01:53 +07:00
hathach
ba79e6d4bf
Gap.setAddr()/getAddr() are replaced by Bluefruit's setAddr()/getAddr()
2019-01-24 14:55:48 +07:00
hathach
ce2c3738bd
add conn_handle to Bluefruit.requestPairing()
...
remove Gap.requestPairing()
2019-01-24 14:23:48 +07:00
hathach
6a503f397b
remove Bluefruit.connInterval()
2019-01-24 14:06:10 +07:00
hathach
08c0f5f70a
update connected() for bluefruit and BLEPeriph
2019-01-24 14:02:45 +07:00
hathach
7ab2b653ae
add conn_hdl to Bluefruit.getPeerAddr()
2019-01-24 13:46:53 +07:00
hathach
667d054771
remove a getPeerAddr(uint8_t[6]) variant
2019-01-24 01:12:30 +07:00
hathach
a6ba9aa1cf
add disconnect() to BLEConnection
2019-01-24 01:06:23 +07:00
hathach
820e08f2dc
adding BLEPeriph
...
- move setDisconnectCallback(), setDisconnectCallback()
2019-01-24 00:52:57 +07:00
hathach
b03984519c
Adding BLEPeriph
...
- move setConnInterval(), setConnIntervalMS(),
setConnSupervisionTimeout(), setConnSupervisionTimeoutMS() into BLEPerph
2019-01-24 00:44:49 +07:00
hathach
7798032dcb
clean up
2019-01-23 19:35:09 +07:00
hathach
67d0890ba5
change Bluefruit.begin() return type to bool
2019-01-23 19:32:35 +07:00
hathach
d15b196fe6
increase max connections to 20 (central + prph)
2019-01-21 23:13:59 +07:00
hathach
72e627149c
Bluefruit.connected(void) return number of connected as prph, Central.connected(void) return number of connection as central
2019-01-21 18:26:09 +07:00
hathach
49ad36cdd6
add connected(conn_hdl) for prph
2019-01-21 17:58:22 +07:00
hathach
5ca4309ec2
move whole pairing process into bleconnection
2019-01-19 01:32:08 +07:00
hathach
e312da361e
enhance BLEGap, adding BLEGapConnection to support up to max 20 connections
2019-01-17 12:53:22 +07:00
hathach
a55de5f9b9
adding client bas
2019-01-07 16:22:20 +07:00
hathach
df8a17ca57
update conn param
2019-01-07 15:54:33 +07:00
hathach
2135a173d0
Added Bluefruit.setEventCallback()
...
close #181
2018-11-09 12:00:50 +07:00
hathach
d478e200e1
Merge branch 'master' into develop
2018-09-15 17:02:00 +07:00
hathach
6c32bd8ff7
Merge pull request #177 from airbornemint/setConnSupervisionTimeout
...
Add a way to set connection supervision timeout
2018-09-01 22:58:13 +07:00
Ben Artin
67ce3062bf
Added setConnSupervisionTimeout[MS]
2018-09-01 11:47:21 -04:00
Ben Artin
6c22010f62
Renamed BLEGATT_ATT_MTU_MAX
...
to BLE_GATT_ATT_MTU_MAX for consistency
2018-08-26 19:51:30 -04:00
hathach
4640481d02
update Copyright year to 2018
2018-07-27 16:20:36 +07:00
hathach
9419606df0
remove configServiceChanged()
...
since disable service change will cause issue with DFU OTA (inconsisten
att handle of dfu service)
2018-05-25 14:09:06 +07:00
hathach
bba9ae1d12
Merge branch '0.8.x' into develop
2018-04-03 17:15:33 +07:00
hathach
0e74a76c0a
more clean up
2018-02-22 23:47:41 +07:00
hathach
c4e25295e2
move pairing event handle code to BLEGap
...
- add bond_init()
- move thing around
2018-02-22 23:38:41 +07:00
hathach
86ea7e7ae5
more clean up
2018-02-22 15:10:44 +07:00
hathach
acd4abec1d
clean up
2018-02-22 14:56:36 +07:00
hathach
dcbecb8b5f
complete move all bond function to bonding.cpp
2018-02-22 14:51:10 +07:00
hathach
4fab39f26a
improving bonding management
2018-02-14 00:22:40 +07:00
hathach
98e69635ee
adding hid central
2018-02-12 15:17:23 +07:00
hathach
d830129836
removing S132 v2.0.1 support
2018-01-08 11:57:21 +07:00
hathach
91f6de09f8
clean up
2018-01-02 16:03:46 +07:00
hathach
43b7637a60
add configPrphBandwidth() and configCentralBandwidth()
2017-12-22 13:40:10 +07:00
hathach
f39421f4ef
Move Conn Cfg into BLEGap
2017-12-21 22:52:10 +07:00
hathach
bb7392ae36
separate prph and central connection bandwidth setting
...
- add configPrphConn() and configCentralConn() for setting bandwidth for
prph and central connection. These replace configMaxMtu(),
configGapEventLen(), configHvnTxQueue(), configWriteCmdQueue()
- fix concurrent connection config
- central_uart_multi works with S132 v5
2017-12-21 14:40:44 +07:00
hathach
3ac15c4574
BLE config refactor
...
- enhance the SRAM usage based on prph & central mode with respect to
user config.
- change Bluefruit.begin(bool, bool) to (uint8_t, uint8_t) as number of
prph & central connections.
2017-12-20 22:59:35 +07:00
hathach
6664ebfef7
add set/get Apperance
2017-12-16 00:01:58 +07:00
hathach
92dc3ed5eb
done with config clean up
2017-12-15 20:59:23 +07:00
hathach
2ddfe623f7
more clean up
2017-12-15 20:38:18 +07:00