Commit Graph
248 Commits
Author SHA1 Message Date
hathach df6a459a10 remove requestPHY() from 1MB to 2MB, old Mac may not support 2MB. Leave it to central to switch
also add hci str debug
2020-03-02 22:11:30 +07:00
hathach 9329328bef increase attr table size for 840 to from 0xC00 to 0x1000 2020-02-19 14:52:35 +07:00
hathach 583ad02a7d increase sd attribute table size from 0x800 to 0xC00, increase linker memory for SD 840 from 3400 to 6000 2019-11-18 20:12:34 +07:00
hathach ca4bbc5bfe adding Accel service 2019-11-07 01:30:18 +07:00
Henry Gabryjelski 659687bac4 Fix printf format specifier to match length of data type. 2019-10-05 17:35:11 -07:00
Henry Gabryjelski 44599b6e7a Fix another warning caused by comparison between signed/unsigned values. 2019-10-05 12:03:32 -07:00
hathach 2a4185573b reduce task stack size
- ble      task from 512*3 -> 256*5
- loop     task from 512*3 -> 256*4
- callback task from 512*2 -> 256*3
- usbd     task from 150   -> 200
2019-09-19 16:42:36 +07:00
hathach d900149a61 fix travis build 2019-08-27 11:10:05 +07:00
hathach 57bf2d0964 increase event length to 100 for max bandwidth 2019-08-27 09:43:17 +07:00
hathach 8ce3506904 add BLEConnection requestConnectionParameter()
rename getConnInterval() to getConnectionInterval()
2019-08-16 12:22:21 +07:00
hathach cbcd9eb324 implement #80, add requestPHY/getPHY support
update prph and central throuhgput example.
2019-08-15 12:32:46 +07:00
hathach 24c86feab0 add connection handle to Bluefruit.connParied() 2019-07-10 17:50:19 +07:00
hathach 264893df7e fix #277 conn led doesnt stop when scanner is time out 2019-07-10 16:53:48 +07:00
hathach 1959181301 remove typo setApperance/getApperance 2019-07-03 01:11:02 +07:00
Paul Mandel d840406646 Adding corrected spelling
set/getApperance -> set/getAppearance
2019-06-25 12:00:57 -07:00
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