Commit Graph
701 Commits
Author SHA1 Message Date
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
Henry Gabryjelski e92d18e152 Fix warning caused by conditional expression that is always true.
After all, a uint8_t is alwasy <= 0xFF.
2019-10-05 12:03:32 -07:00
Henry Gabryjelski 44599b6e7a Fix another warning caused by comparison between signed/unsigned values. 2019-10-05 12:03:32 -07:00
Henry Gabryjelski 9de7595758 Ensure stack variable fields are initialized, prior to calling
a function that uses the fields (two lines later).
2019-10-05 12:03:31 -07:00
hathach 3e978f5ea6 follow up to pr #336 bledis
- inline function for no-length API
- clean up using strarr_len
- handle PNP_ID char
2019-09-26 15:00:35 +07:00
hathach 5f1b5d5f25 Merge pull request #336 from elral/elral-bledis
Additional Device Informations for ble
2019-09-26 12:24:27 +07:00
hathach 460222ba21 add deferred option to BLEUart setRxCallback() 2019-09-23 15:33:05 +07:00
hathach 940e902edd BLECharacteristic falls back to immed call if ada callback failed 2019-09-23 15:32:36 +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 c54d4ed2e8 change license from BSD to MIT for bluefruit.h 2019-09-18 12:00:30 +07:00
hathach 5a4b00fa98 add BLEUart overflowed callback 2019-09-18 12:00:02 +07:00
elral 23f57ebf79 Update BLEDis.h 2019-09-02 08:12:29 +02:00
elral d2c50dd8e8 Update BLEDis.cpp 2019-09-02 08:08:33 +02:00
hathach d900149a61 fix travis build 2019-08-27 11:10:05 +07:00