i followed this:
http://www.instructables.com/id/How-to- ... -a-custom/
but although the evo app connects, the led does not turn off/on
wiring is correct as i can turn it off/on using arduino code
using serial monitor i can see arduino doesnt seem to get any bluetooth messages once connected
the sketch is uploader using codebender : https://codebender.cc/sketch:311930
i also tried the redbear simple control app and again it connects ok, but if i try the high/low buttoms i get an error on the app that says "Alert - Failed to send data"
Any ideas?
Redbear ble test not working
Re: Redbear ble test not working
I should guess it something about the libraries for the board, did you load them via the "Tools > include library > manage libraries" in the Arduino SDK, or manually?
Can you please get the entire printout from the Arduino log, you can't see it all in the screen dump I guess,
best
Alex
Can you please get the entire printout from the Arduino log, you can't see it all in the screen dump I guess,
best
Alex
Re: Redbear ble test not working
i'm using the codender.cc site for arduino dev and the skwtch works as i tested it with th redbear android app
it's just the evothings apps do not work
i notice in the evo log i see the following when i try to turn led on/off
writeCharacteristic error: 128
i'm using LG G3 phone and have restarted ble and phone to no avail
serial log
Arduino EasyBLE example started
Serial rate set to 9600
ble_begin done!
Evt Device Started: Setup
Evt Device Started: Standby
Advertising started
Evt Connected
Evt Pipe Status
Evt Disconnected/Advertising timed out
thanks
it's just the evothings apps do not work
i notice in the evo log i see the following when i try to turn led on/off
writeCharacteristic error: 128
i'm using LG G3 phone and have restarted ble and phone to no avail
serial log
Arduino EasyBLE example started
Serial rate set to 9600
ble_begin done!
Evt Device Started: Setup
Evt Device Started: Standby
Advertising started
Evt Connected
Evt Pipe Status
Evt Disconnected/Advertising timed out
thanks
Re: Redbear ble test not working
OK, a little update...
I think the error is something to do with the android implementaion as I ran the same code on an ipad and it worked (sort of)
the write message i was getting is now gone and replaced with success msg
there is a bug in the instructables sketch such that it does not handle the incoming bytes correctly and so led goes on then off
i then tried redbear simple control sketch and that works fine!
so i would suggest that there is something amiss in the android implementation of evothings or cordova
i also noticed that when reading android bytes in the sketch a "0" reads as int 48 and not zero, which it does on the ipad
thanks
I think the error is something to do with the android implementaion as I ran the same code on an ipad and it worked (sort of)
the write message i was getting is now gone and replaced with success msg
there is a bug in the instructables sketch such that it does not handle the incoming bytes correctly and so led goes on then off
i then tried redbear simple control sketch and that works fine!
so i would suggest that there is something amiss in the android implementation of evothings or cordova
i also noticed that when reading android bytes in the sketch a "0" reads as int 48 and not zero, which it does on the ipad
thanks
Who is online
Users browsing this forum: No registered users and 2 guests