by sascha » Tue Jul 03, 2007 9:05 pm
by sascha
Tue Jul 03, 2007 9:05 pm
Hi,
I run an RN1 connected to my PC via the BlueSMIRF Bluetooth Dongle.
I experience once in a while the problem, that a byte send from RN1 gets stuck. I could wait forever, but the byte is not being transmitted until I send another command which again sends an acknowledgment back to the PC. In this case I receive the previous as well as the new acknowledgment byte.
This happens only sometimes.
I assume the byte gets either stuck on the RN1 serial port buffer or the BlueSMIRF Dongle.
I tried to change the BlueSMIRF to "Fast Mode", but I'm not sure if it really works? I do not receive OK as a response.
Any ideas?
DELAY 5000
Character = "+"
ETX 9600, Character
DELAY 1000
Character = "+"
ETX 9600, Character
DELAY 1000
Character = "+"
ETX 9600, Character
DELAY 1000
Character = 13
ETX 9600, Character
DELAY 4000
Character = "A"
ETX 9600, Character
DELAY 1000
Character = "T"
ETX 9600, Character
DELAY 1000
Character = "M"
ETX 9600, Character
DELAY 1000
Character = "F"
ETX 9600, Character
DELAY 1000
Character = 13
ETX 9600, Character
DELAY 4000
Hi,
I run an RN1 connected to my PC via the BlueSMIRF Bluetooth Dongle.
I experience once in a while the problem, that a byte send from RN1 gets stuck. I could wait forever, but the byte is not being transmitted until I send another command which again sends an acknowledgment back to the PC. In this case I receive the previous as well as the new acknowledgment byte.
This happens only sometimes.
I assume the byte gets either stuck on the RN1 serial port buffer or the BlueSMIRF Dongle.
I tried to change the BlueSMIRF to "Fast Mode", but I'm not sure if it really works? I do not receive OK as a response.
Any ideas?
DELAY 5000
Character = "+"
ETX 9600, Character
DELAY 1000
Character = "+"
ETX 9600, Character
DELAY 1000
Character = "+"
ETX 9600, Character
DELAY 1000
Character = 13
ETX 9600, Character
DELAY 4000
Character = "A"
ETX 9600, Character
DELAY 1000
Character = "T"
ETX 9600, Character
DELAY 1000
Character = "M"
ETX 9600, Character
DELAY 1000
Character = "F"
ETX 9600, Character
DELAY 1000
Character = 13
ETX 9600, Character
DELAY 4000