Giter VIP home page Giter VIP logo

amarino's People

Watchers

 avatar

amarino's Issues

Error function pointer variable can point to arbitrary memory

What steps will reproduce the problem?
1. Initialize MeetAndroid with default constructor
2. Send data to arduino with unregistered flag

What is the expected output? What do you see instead?

Undefined. Since the there is not a default error function (nor is it 
initialized to zero and checked). The errorFunc is pointing to arbitrary memory 
which will cause undefined behavior depending on what it is pointing to.

What version of Amarino are you using?

2

Please provide any additional information below.

You can resolve this issue by doing any of the following:

* Provide a default error function
* Initialize the errorFunc to zero in default constructor and check it before 
invoking function (processCommand)

Original issue reported on code.google.com by [email protected] on 25 Oct 2010 at 11:30

Cannot receive/send data in my Arduino from my NexusOne

Hi,

I am using Amarino application in my Nexus One with Android 2.1 to connect to 
my Arduino Lilypad. I am using the TestEvent to check if it works, and in the 
Lilypad I have loaded this code:


#include <MeetAndroid.h>

MeetAndroid meetAndroid;
int onboardLed13 = 13;

void setup()  
{
  Serial.begin(57600); 

  meetAndroid.registerFunction(testEvent, 'A');  

  pinMode(onboardLed13, OUTPUT);
  //digitalWrite(onboardLed, HIGH);
}

void loop()
{
  meetAndroid.receive(); 
}


void testEvent(byte flag, byte numOfValues)
{

  int randomValue = meetAndroid.getInt();

  if (randomValue>=125){
    digitalWrite(onboardLed13, HIGH);
  }
  else { digitalWrite(onboardLed13, LOW);
          delay(100);
  }

In the Monitoring screen of the N1 I can see:
   AmarinoService: message to send: 167
   AmarinoService: send to Arduino: A167�
   .... (all the time random values are sent from N1 to Arduino)

But the Lilypad seems not to receive this values (the MeetAndroid.receive 
function always returns true) and doesnt blink led13...

Is it possible that the N1 is not set to 57600baud? why is he sending A167�? 

I also have tried to use the MeetAndroid.send("a") in the loop(), but nothing 
is received in the N1.

Can anyone help me? Thanks!

Original issue reported on code.google.com by [email protected] on 21 Jul 2010 at 2:23

Doesn't connect to RedBearLab's BLE MINI: Pairing Failure

What steps will reproduce the problem?
1. Use Amarino 2.0, scan for BLE mini module
2. Scan for BT device, select BLE mini
3. Press connect, drag notification drawer down to complete pairing.
4. There is no option to complete pairing.

What is the expected output? What do you see instead?

Expected output: option to pair with BLE Mini module in notification tray

Actual output: No option to pair with BLE Mini.

What version of Amarino are you using?

Amarino 2.0

Which Android version (build)?

4.4 (Kit-Kat)

Which phone model?

Samsung Galaxy S4


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 8 Apr 2014 at 3:41

Class 0 bluetooth devices not able to be 'seen' or connect to Android phone (Samsung Galaxy, 2.3.6, Gingerbread)

What steps will reproduce the problem?
1. Can't connect to bluetooth device
2. Used a purchased app- Bluepair from Google play which can connect to class 0 
BT devices using MAC addresses. Once paired, the phone's own Bluetooth app can 
sense the BT device, but Amarino 2.0 still tries to 'scan' for devices and 
doesn't pick up the already paired BT device
3. Use Amarino 2.0 and try and connect to BT device...not found

What is the expected output? What do you see instead?
Amarino 2.0 can't find the BT device (JY-MCU module)

What version of Amarino are you using?
2.0

Which Android version (build)?
2.3.6

Which phone model?
Samsung Galaxy Q

Please provide any additional information below.
If you can try and incorporate class 0 support into the Amarino (when you click 
add BT module in the software)...perhaps you can use this code and/or app- 
http://zornsoftware.codenature.info/blog/pairing-spp-bluetooth-devices-with-andr
oid-phones.html#comment-25752

Alternatively, if you can make the Amarino first 'see' the already paired 
devices (since I was able to use the Bluepair app to force my phone to pair 
based on MAC address, then for sure this problem will be solved.

The last option could be that you add the ability to add BT devices based on 
MAC addresses. The user can find the MAC address of his/her device through 
pairing with other phones, laptop, etc. and then enter them in the Amarino app 
for pairing and connection.

Thanks,
Nooman

Original issue reported on code.google.com by [email protected] on 14 Jan 2013 at 1:20

The message was sent but arduino don't work (with test app)

What steps will reproduce the problem?
1.Set the baudrate at 115200 with ArduinoBT
2.Load the test app on arduino
3.With HTC Desire and AMARINO_2 send test messages
4.I have set the flag 'A' in AMARINO and in Test App for ARDUINO.
5.In monitoring of amarino i have this:
   AmarinoService: message to send: 13
   AmarinoService: send to Arduino: A13□

What is the expected output? What do you see instead?
Led low and high=> message received

What version of Amarino are you using?
2

Which Android version (build)?
2.1

Which phone model?
Htc DESIRE

Please provide any additional information below.
So.. The message was sent?
it's a problem of baudrate?
I have to change the code in app test?
Thanks a lot, Rice

Original issue reported on code.google.com by rice103 on 17 Jun 2010 at 10:48

BT turns on when device is rebooted with airplane mode ON

What steps will reproduce the problem?
1. Turn ON wifi and BT 
2. Turn Airplane mode ON 
Observation: Both BT and wifi turns off- Expected. 
3. Now reboot the device when airplane mode is ON
Observation: Device booted witn airplane mode ON, wifi- OFF but BT- ON 

What is the expected output? What do you see instead?
After reboot airplane mode should be ON so BT and WIFI should also be OFF until 
user specifically turns it ON 

Which Android version (build)?
Android J

Which phone model?
Nexus 7

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 9 Feb 2013 at 10:47

process edu.mit.media.amarino.multicolorlamp)has stopped



What is the expected output? What do you see instead?
The application Multicolor lamp(process 
edu.mit.media.amarino.multicolorlamp)has stopped unexpectedly. Please try 
again. - I see this message when I clock on the app on my Android device.

What version of Amarino are you using?
AmarinoLibrary_v0_55.jar

Which Android version (build)?
2.3.4

Which phone model?
ST15i Sony Ericsson Xperia Mini


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 30 Sep 2012 at 6:54

BT module seems remain paired after app disconnect and do not reconnect

What steps will reproduce the problem?
1. Use SensorGraph app and connect to a BT module/Arduino
2. Exit from SensorGraph app
3. BT module remain with green led on (connected/paired). 
   The disconnect state is red led flashing
3. Relaunch SensorGraph app and wait for reconnect.

What is the expected output? What do you see instead?
The expected behavour is a succesfully reconnection.
Really seem BT module remain paired and no long accept reconnection.
Needs phisically switch off/on Bluetooth on Phone to be able reconnect.

What version of Amarino are you using?
Amarino 2.0 + plugins

Which Android version (build)?
Android 2.1 (rooted ROM)

Which phone model?
HTC Desire

Please provide any additional information below.
HW detail :
SparkFun Bluetooth Mate (BT-Serial-Bridge)
Arduino Duemilanove

Original issue reported on code.google.com by [email protected] on 16 Jun 2010 at 1:50

  • Merged into: #9

Examples do not compile on Arduino Version 22

What steps will reproduce the problem?
1. Install Arduino Version 022
2. Try to compile examples "Multicolorlamp" or "Sensorgraph"


What version of Amarino are you using?
latest version which can be downloaded from here


Please provide any additional information below.

The Arduino-IDE outputs the following errors:
C:\Program Files\arduino-0022\libraries\MeetAndroid\MeetAndroid.cpp:
In member function 'void MeetAndroid::processCommand()':
C:\Program Files\arduino-0022\libraries\MeetAndroid\MeetAndroid.cpp:
37: error: 'Serial' was not declared in this scope 
...

Original issue reported on code.google.com by [email protected] on 16 Jan 2011 at 12:49

Doesn't disconnect properly

What steps will reproduce the problem?
1. Using test event, connect all is OK
2. Disconnect
3. attempt to connect again
4. Note device is no longer in add device screen, device is discoverable 
through PC
5. Stop and restart bluetooth on phone
6. kill Amarino and restart
7. connect - all is fine again

What is the expected output? What do you see instead?
Expect disconnect followed by reconnect to work

What version of Amarino are you using?
2 build 04


Which Android version (build)?
2.1

Which phone model?
HTC Desire

Please provide any additional information below.
Repeatable - works fine first time every time.

Original issue reported on code.google.com by [email protected] on 23 Jun 2010 at 2:41

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.