hathach
|
64e176b7cd
|
more warnings clean up
|
2019-06-07 15:27:57 +07:00 |
|
hathach
|
a14c2c247e
|
clean up warning
|
2019-06-07 14:45:30 +07:00 |
|
hathach
|
f1012eaa31
|
use USE_TINYUSB instead of USBCON for consistency, USBCON still defined to be compatible with 3rd party lib
|
2019-05-09 23:56:52 +07:00 |
|
hathach
|
dce9c93928
|
use USBCON macro to detect usb
|
2019-04-29 23:43:20 +07:00 |
|
hathach
|
318dbc3cc6
|
clean up and rename usb file
|
2019-04-29 21:00:18 +07:00 |
|
hathach
|
55b4d3cfc2
|
added Adafruit_USBDevice based on tinyusb
- added Adafruit_USBInterface
- remove setLoopStacksize
- move usb code around
|
2019-04-12 00:12:24 +07:00 |
|
hathach
|
b208773d07
|
added multiple peripheral example sketch bleuart_multi.ino
|
2019-04-05 16:03:29 +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
|
c88bd0092f
|
Merge branch 'master' into develop
|
2019-04-04 20:34:43 +07:00 |
|
Jeremy Poulter
|
82cd7e87f0
|
Allow the task stack sizes to be configured
|
2019-03-11 22:41:21 +00:00 |
|
hathach
|
cce9aa990b
|
clean up
|
2019-03-06 22:43:01 +07:00 |
|
hathach
|
5768575c42
|
add conn_hdl to all BLECharacteristic callback to support multiple prph connections
- added optional conn_hdl to getCccd(), indicateEnabled(),
notifyEnabled()
- added optional conn_hdl to all indicate() and notify() data function
|
2019-02-26 15:34:26 +07:00 |
|
hathach
|
0386062314
|
clean up
|
2019-02-15 12:57:35 +07:00 |
|
hathach
|
e13922c58b
|
enhance ada_callback, add malloc len for cleaner usage
|
2019-02-14 12:50:17 +07:00 |
|
hathach
|
333f151ff5
|
Merge branch 'master' into develop
|
2019-02-13 22:25:26 +07:00 |
|
hathach
|
e05bdc9030
|
implement BLECharacteristic long write #91,#220
|
2019-02-13 14:57:36 +07:00 |
|
hathach
|
00816a2de2
|
add enableOTA(bool)
|
2019-02-01 18:49:23 +07:00 |
|
hathach
|
58106006b9
|
clean up
|
2019-02-01 16:44:30 +07:00 |
|
hathach
|
b7323d1819
|
Remove BLEGap, API function is taken by Bluefruit, BLEPeriph, BLECentral
|
2019-02-01 16:16:20 +07:00 |
|
hathach
|
6dd7918cc9
|
clean up
|
2019-01-24 16:37:16 +07:00 |
|
hathach
|
bc36c95133
|
correct Bluefruit setTxPower()
|
2019-01-24 15:20:43 +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
|
e42b11d348
|
clean up
|
2019-01-24 00:07:11 +07:00 |
|
hathach
|
67d0890ba5
|
change Bluefruit.begin() return type to bool
|
2019-01-23 19:32:35 +07:00 |
|
hathach
|
5d76dfa012
|
clean up
|
2019-01-22 23:04:29 +07:00 |
|
hathach
|
89be3a197f
|
rename Gap.getConnection() to simply Connection()
|
2019-01-22 22:54:33 +07:00 |
|
hathach
|
afbee8151b
|
fix Bluefruit.connected()
|
2019-01-22 00:39:58 +07:00 |
|
hathach
|
d15b196fe6
|
increase max connections to 20 (central + prph)
|
2019-01-21 23:13:59 +07:00 |
|
hathach
|
4813e14129
|
fix issue with advertising and scanner when disconnected
|
2019-01-21 22:47:05 +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
|
14980fbe12
|
add bleconnection connected()
|
2019-01-21 18:16:05 +07:00 |
|
hathach
|
49ad36cdd6
|
add connected(conn_hdl) for prph
|
2019-01-21 17:58:22 +07:00 |
|
hathach
|
4e5f419474
|
rename BLEGapConnection to BLEConnection, move to seperate files
|
2019-01-18 12:31:40 +07:00 |
|
hathach
|
6578b3a37f
|
BLEGapConnection paired()
|
2019-01-18 01:47:06 +07:00 |
|
hathach
|
2f1d73890d
|
BLEGap getPeerAddr()
|
2019-01-17 23:31:30 +07:00 |
|
hathach
|
56ca1fdc48
|
more ble gap works
|
2019-01-17 18:55:23 +07:00 |
|
hathach
|
e312da361e
|
enhance BLEGap, adding BLEGapConnection to support up to max 20 connections
|
2019-01-17 12:53:22 +07:00 |
|
hathach
|
df8a17ca57
|
update conn param
|
2019-01-07 15:54:33 +07:00 |
|
hathach
|
9a0da085b7
|
Central handle BLE_GAP_EVT_CONN_PARAM_UPDATE_REQUEST
|
2019-01-07 15:16:52 +07:00 |
|
hathach
|
c3b3317e9c
|
fix connPaired() issue
|
2018-11-09 12:40:44 +07:00 |
|