Commit Graph
714 Commits
Author SHA1 Message Date
Ha Thach 1bf80af139 Merge pull request #535 from pyro9/fix_discovery
Fix  BLEDiscovery::discoverCharacteristic when the central device returns more than 4 Characteristics in a discovery request
2020-07-17 13:19:26 +07:00
Steven James df5f6c48a9 MAX_DISC_CHARS = 8 to avoid excessive OTA queries for discovery. 2020-07-16 14:00:30 -04:00
Steven James 38127c2fa3 Clean up formatting 2020-07-16 13:59:55 -04:00
Ha Thach 604a8c897e Merge pull request #527 from adafruit/fix-520
remove BLECharateristic write(int32_t)
2020-07-17 00:24:46 +07:00
Ha Thach 03a5017f4e Merge pull request #531 from adafruit/fix-504
fix typo
2020-07-16 23:17:36 +07:00
Steven James d41dda9b10 Fix BLE Characteristic discovery when the central device returns more
than 4 Characteristics in a discovery request
2020-07-13 15:18:07 -04:00
hathach 21924d1064 fix typo 2020-07-13 17:54:33 +07:00
Ha Thach 7231f8c5f8 Merge pull request #501 from orrmany/develop-multiprotocol-ble
Make Bluferuit52 multiprotocol friendly
2020-07-11 00:46:21 +07:00
hathach 3c6c2b7d55 remove BLECharateristic write(int32_t)
fix #520
2020-07-10 18:48:14 +07:00
Gábor Ziegler ff12326ecf Adding compile guards 2020-06-15 11:45:46 +02:00
hathach e9dad1fc5d clean up and fix typo 2020-05-28 20:05:28 +07:00
Gábor Ziegler 7d80eabeed fixing warning: '/*' within comment [-Wcomment] 2020-05-10 20:04:36 +02:00
Gábor Ziegler 51925d20fa making bluefruit multiprotocol friendly 2020-05-07 10:04:02 +02:00
hathach 10b85b5e4e fix build blehid with feather52832 2020-04-21 00:30:30 +07:00
hathach c039eb6787 fix compile issue with upgrading nrfx v2 and tinyusb 2020-04-20 23:11:46 +07:00
Henry Gabryjelski 2709813ea6 More printf() --> PRINTF() conversion 2020-03-11 16:39:59 -07:00
Henry Gabryjelski 7fab012a3a Undo accidental change 2020-03-11 15:42:41 -07:00
Henry Gabryjelski decde55d74 Use Print class reference
This is in preparation for enabling output to
be provided via other, potentially more performant,
modes.
2020-03-11 15:25:39 -07:00
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 0a73db570d Merge remote-tracking branch 'origin/master' into quaternion-service 2020-02-24 23:37:41 +07:00
Matthias Spiller 3bc73d5fb0 Fix sporadic hangup when stopping notifies 2020-02-21 08:17:13 +00:00
hathach 79efcb88ef add characteristic isFixedLen() 2020-02-21 11:48:16 +07:00
hathach 9329328bef increase attr table size for 840 to from 0xC00 to 0x1000 2020-02-19 14:52:35 +07:00
hathach 8330bd9c11 use USB_PRODUCT string for default bledis model 2020-02-17 14:34:02 +07:00
hathach 1f3c237fc5 add comment follow up to #413 2020-01-31 11:15:15 +07:00
ogatatsu 6f1acc4b3d Fixed a bug that disconnect function of client characteristics was not called. 2020-01-12 20:16:35 +09:00
ogatatsu 37e3b53bcf Modified to work correctly when multiple characteristics of the same uuid are passed. 2020-01-12 20:10:40 +09:00
ogatatsu e83bf4047a Changed to use the first cccd descriptor found. 2020-01-12 20:05:22 +09:00
hathach a1e45995cf update advertising with USB PID as board ID 2019-11-26 11:33:16 +07:00
hathach 986a0f8b90 complete file moving 2019-11-18 20:57:56 +07:00
hathach 8b60180b45 move BLEAdafruit service to its own library due to neopixel/dotstar dependency 2019-11-18 20:43:17 +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 9860a6e757 renaming neopixel to Rgb Pixel 2019-11-18 17:16:01 +07:00
hathach 8189353d32 added tone service 2019-11-14 22:52:40 +07:00
hathach 6ac348ff01 implement period = 0, notify on changes 2019-11-14 17:16:45 +07:00
hathach 65eb11829b update BLEAdafruitSensor service 2019-11-14 14:55:20 +07:00
hathach d898f17f44 BLECharacteristic allow user set buffer 2019-11-14 13:14:03 +07:00
hathach 0ab39ca9df change BLEUuid begin() return type to bool 2019-11-14 12:35:06 +07:00
hathach 8db3f2e372 use BLEAdafruitSensor as base class for other services 2019-11-14 00:36:12 +07:00
hathach 603447a0d6 adding abstract class BLEAdafruitSensor 2019-11-13 17:19:56 +07:00
hathach 9e75e65c5a increase timer callback task for more usage 2019-11-13 01:00:35 +07:00
hathach 335cde068e add button service 2019-11-12 23:06:52 +07:00
hathach 5afcadb368 update adafruit services 2019-11-12 22:49:59 +07:00
hathach ca4bbc5bfe adding Accel service 2019-11-07 01:30:18 +07:00
hathach bf4ac6ba71 adding Adafruit Neo Pixel service 2019-11-06 23:10:38 +07:00
hathach 205587c30a ading Adafruit Temperature Service 2019-11-06 10:00:59 +07:00
Henry Gabryjelski f3cc656b4c Fix printf format specifier to match length of data type. 2019-10-05 18:01:53 -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 e62e803fc4 Fix format string to match number of arguments passed. 2019-10-05 17:04:43 -07:00
Henry Gabryjelski bcf88a87fd Fix typo from null to nullptr. 2019-10-05 12:03:32 -07:00