Search found 5 matches

by sporked
Mon May 18, 2020 7:47 am
Forum: ESP32 Arduino
Topic: connected = SerialBT.connect(address) return value
Replies: 4
Views: 5173

Re: connected = SerialBT.connect(address) return value

Thanks! It looks like that should do what I'm looking for. Using that as a Google search term I found this...

http://chiselapp.com/user/jschimpf/repo ... P32Lib.pdf

I haven't looked at it closely, but this might give us some more insight to the library.

Thanks again!
by sporked
Mon May 18, 2020 2:04 am
Forum: ESP32 Arduino
Topic: connected = SerialBT.connect(address) return value
Replies: 4
Views: 5173

connected = SerialBT.connect(address) return value

I'm calling SerialBT.connect(address) to connect to an HC-05 module by address (Bluetooth classic). It's working fine, but it always returns TRUE regardless of whether it successfully connected or not. I can also call connected() and get the same results. I can't find any way to determine whether I ...
by sporked
Sat May 09, 2020 4:05 pm
Forum: ESP32 Arduino
Topic: BluetoothSerial.connect(address) return value
Replies: 4
Views: 4200

Re: BluetoothSerial.connect(address) return value

You're probably right. I've only worked in the arduino api, so I don't know any different. Thanks.
by sporked
Sat May 09, 2020 9:24 am
Forum: ESP32 Arduino
Topic: BluetoothSerial.connect(address) return value
Replies: 4
Views: 4200

Re: BluetoothSerial.connect(address) return value

I'm curious as to why this would be moved to the arduino sub-forum. None of the hardware mentioned uses an arduino. Is it because this module is programmed through the arduino IDE or because it's an arduino-like module? Just asking so I can try to post in the appropriate area in the future. Thanks.
by sporked
Sat May 09, 2020 6:37 am
Forum: ESP32 Arduino
Topic: BluetoothSerial.connect(address) return value
Replies: 4
Views: 4200

BluetoothSerial.connect(address) return value

I'm using an ESP32 NodeMCU to connect to an HC-05 module. All is working well. But I have a question... The connect() method returns a bool value, but in my case it seems to return TRUE whether it connects or not. My apologies if I'm being dense, but would love some input on what the return value sh...