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
Henry Gabryjelski
4dc9d4f779
Update code to avoid comparisons between signed and unsigned integers.
...
Add verbose comments to show that the values changed from signed to
unsigned, for the current code, would always be positive values.
Add verbose comments to clarify the meaning of local variables.
Add verbose comments to show all three possible states at all key
computation points, for the higher cyclomatic complexity code block.
2019-10-05 12:03:31 -07:00
hathach
68f23b0465
bump up version for release
2019-09-27 10:43:21 +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
75f8a054f8
everything works well:)
2019-09-24 12:28:10 +07:00
hathach
c31deb3a5b
update image upload to support color depth 16 or 24 bit.
2019-09-23 16:34:24 +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
8395b5e8e4
clean up
2019-09-18 16:01:30 +07:00
hathach
144bbb531a
upgrade image_upload, able to handle write without response
2019-09-18 12:03:39 +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
hathach
57bf2d0964
increase event length to 100 for max bandwidth
2019-08-27 09:43:17 +07:00
hathach
d81599d619
increase ada callback queue size from 20 to 40
...
- fox adacallback queue overflow with large image
- fix issue with tft draw bitmap
2019-08-26 23:55:58 +07:00
hathach
dee231e9bd
get image_upload work with 3.5" TFT featherwing
2019-08-26 13:25:50 +07:00
hathach
5151d5ff54
increase verion to 0.13.0, ready to release
2019-08-23 00:07:57 +07:00
hathach
ccb449510b
increase version, ready to release
2019-08-22 21:37:25 +07:00
hathach
6682a172af
change the arch to common macro for all nrf52 by adafruit
2019-08-22 12:35:07 +07:00
hathach
1fbdc59452
Merge branch 'master' into develop
2019-08-22 12:27:00 +07:00
hathach
89eb4a1f83
clean up
2019-08-22 10:09:08 +07:00
hathach
d8f91cda33
increase color_buf to prevent bleuart buffer overflow
...
Able to draw 240x240
2019-08-21 18:18:16 +07:00
hathach
454db84ae5
improve mutex lock/unlock for fifo
2019-08-21 17:10:20 +07:00
hathach
dcca92309a
print speed result to the tft
2019-08-20 13:07:38 +07:00
hathach
9cb7937d9f
able to upload and display 128x128 image
...
still has issue with 256x256
2019-08-19 22:28:35 +07:00
hathach
fc8fa9926d
debug info
2019-08-19 18:03:30 +07:00
hathach
48d1b3c95c
able draw 16x16 image, 32x32 has some tft noise
2019-08-19 17:47:51 +07:00
Ladyada
d3f3b34319
add digitalPinToPinName(P) (arduino/mbed has it) and the adapted PDM library
2019-08-18 13:55:23 -04:00
hathach
dddb437355
Merge branch 'master' into develop
...
libraries/Bluefruit52Lib/examples/Peripheral/image_upload/image_upload.ino
2019-08-18 13:34:59 +07:00
hathach
aa55beb052
clean up
2019-08-18 13:32:03 +07:00
Ladyada
e8cf490cdc
should pass travis now ( i hope)
2019-08-17 17:54:19 -04:00
hathach
4bcaf05208
update throughput for testing
2019-08-16 19:30:42 +07:00
hathach
c493154ae3
adding image upload example with 2.4" tft
2019-08-16 16:25:30 +07:00
hathach
be4e8c7445
update throughput example with rx speed test
2019-08-16 15:09:13 +07:00
hathach
b1609877de
print disconected reason in example sketch
2019-08-16 13:05:41 +07:00
hathach
1af549c67b
fix isuse with phy request log
2019-08-16 13:04:57 +07:00
hathach
8ce3506904
add BLEConnection requestConnectionParameter()
...
rename getConnInterval() to getConnectionInterval()
2019-08-16 12:22:21 +07:00
hathach
3093c146a7
request PHY to 2MB with throuhgput example
2019-08-16 10:43:45 +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
4e95f95722
added BLE_GATTC_EVT_EXCHANGE_MTU_RSP support
2019-08-13 16:04:29 +07:00
hathach
93d44eab28
added updateDataLength/updateDataLength for BLEConnection
...
fix #106
2019-08-13 15:33:42 +07:00
hathach
d683b573fd
adding central throuhgput example
2019-08-13 12:33:04 +07:00
hathach
a2adbe37c9
update travis to build both feather nrf52832 and feather nrf52840
2019-08-07 13:00:30 +07:00
hathach
69c9eff632
update changelog, increase version to 0.12.0
2019-08-05 11:24:28 +07:00
hathach
24c86feab0
add connection handle to Bluefruit.connParied()
2019-07-10 17:50:19 +07:00