Export to GitHub

btstack - issue #359

bugs in example/rfcomm-echo.c and example/rfcomm-test.c


Posted on Nov 27, 2013 by Swift Rabbit

related source:

uint8_t test_data[1021]; void create_test_data(void){ int x,y; for (y=0;y<25;y++){ for (x=0;x<78;x++){ test_data[y*80+x] = '0' + (x % 10); } test_data[y*80+78] = '\n'; test_data[y*80+79] = '\r'; } }

in create_test_data function, array test_data must has 25*80=2000 Bytes ,but there only has 1021 Bytes.

Comment #1

Posted on Jan 7, 2014 by Swift Ox

Thanks, that's correct. Fixed in r2095.

Status: Fixed

Labels:
Type-Defect Priority-Medium