Go Down

Topic: what does a bluetooth module do if the computer (receiver ) side doesn't pull? (Read 23 times) previous topic - next topic

teddyyyy123

I let my arduino send through bluetooth module (SparkFun Smirf) to computer (Mac running a python code using python "serial" module):
Code: [Select]

ser = serial.Serial('/dev/cu.Bluetooth-Incoming-Port', 115200) #
while (True):
    ser.read(1)
    pass



what if I just remove the read() line and let the python code simply keep an open serial port open?

if the Arduino side and Smirf module keeps sending, what would happen? bytes are simply dropped? or Smirf would stop?
I'm asking this because I am getting some random connection drops on the Smirf, not sure if this is the reason

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy