Search found 8 matches

by zombodotcom
Sun Mar 25, 2018 5:26 pm
Forum: ESP32 Arduino
Topic: Arduino WROOM32, bluetooth App. Editing characteristic values
Replies: 2
Views: 4861

Re: Arduino WROOM32, bluetooth App. Editing characteristic values

Thanks! yeah there is soo much to learn!
by zombodotcom
Sun Mar 25, 2018 3:49 pm
Forum: ESP32 Arduino
Topic: Arduino WROOM32, bluetooth App. Editing characteristic values
Replies: 2
Views: 4861

Arduino WROOM32, bluetooth App. Editing characteristic values

I am trying to edit some values on an arduino program. https://imgur.com/ij1DVVp.jpg so I have a BLE for arduino setup like this https://gist.github.com/zombodotcom/0b85f0f8a8a29d0cac86e1affd1570b7 I want to be able to access those UUID's it is generating ( it's the same every time even after reuplo...
by zombodotcom
Fri Feb 02, 2018 4:24 pm
Forum: ESP32 Arduino
Topic: BLE arduino send values over 20 bytes
Replies: 9
Views: 25139

Re: BLE arduino send values over 20 bytes

Yeah, yesterday I changed the MTU through nrf connect and it let the string go past 20 bytes, but as you said, mit app inventor/thunkable's BLE extension does not have a change MTU option. I might just download the apk, then edit the BLE section to include a getMTU part in it. or just code it from t...
by zombodotcom
Fri Feb 02, 2018 12:49 am
Forum: ESP32 Arduino
Topic: BLE arduino send values over 20 bytes
Replies: 9
Views: 25139

Re: BLE arduino send values over 20 bytes

I think I got it, I just need to wait for a response from a github post on a FastLED bug, https://github.com/FastLED/FastLED/issues/506#issuecomment-338513421 cant figure out how to get clockless esp32 working in fastled, even cloned the git to make sure it had all the new files Hi @glararan, take a...
by zombodotcom
Thu Feb 01, 2018 9:25 pm
Forum: ESP32 Arduino
Topic: BLE arduino send values over 20 bytes
Replies: 9
Views: 25139

Re: BLE arduino send values over 20 bytes

Are you using the #include <BLEDevice.h> #include <BLEServer.h> #include <BLEUtils.h> from the esp32-snippets git? just redid the esp32 git clone with get.exe and still getting the error, going to try the esp32-snippits headers Edit: same errors with the BLE_Server example from esp32 snippets, are y...
by zombodotcom
Wed Jan 31, 2018 10:23 pm
Forum: ESP32 Arduino
Topic: BLE arduino send values over 20 bytes
Replies: 9
Views: 25139

Re: BLE arduino send values over 20 bytes

I am currently doing the android app in mit App inventor. I probably need to switch to android studios or something. When I try and set the mtu size uint16_t mtu = 128; BLEDevice::setMTU(128); I get this sketch\LBC.ino.cpp.o: In function `void std::__cxx11::basic_string<char, std::char_traits<char>,...
by zombodotcom
Wed Jan 31, 2018 3:17 pm
Forum: ESP32 Arduino
Topic: BLE arduino send values over 20 bytes
Replies: 9
Views: 25139

Re: BLE arduino send values over 20 bytes

Hi, the maximum size of single data packet determined by MTU size which is 23bytes for BLE 4.0 (20b of data + 3b protocol wrapper). The MTU size is usually set during connection establishment with "MTU Request" command. I don't know if IDF has the API for this setting but first of all check your an...
by zombodotcom
Wed Jan 31, 2018 4:06 am
Forum: ESP32 Arduino
Topic: BLE arduino send values over 20 bytes
Replies: 9
Views: 25139

BLE arduino send values over 20 bytes

I am trying to send values over 20 bytes to an android program, the values get cut off at 20 bytes, and I don't know how to implement write long or the other suggestions I have found on the internet. I am new to this so I don't really know how to fix this. class MyServerCallbacks: public BLEServerCa...