Search found 26 matches
- Fri Dec 06, 2019 6:27 am
- Forum: ESP32 boards
- Topic: About BLE.gap_connect(esp32-based ubluetooth)
- Replies: 44
- Views: 30508
Re: About BLE.gap_connect(esp32-based ubluetooth)
Can you answer my question (is it (a) or (b) or something else) and post snippets that show what you're doing and what you expect to happen. So sorry, My question is (a). I have a real heart rate band, and can connect to from: ESP32 (arduino) Arduino 101 Android Phones Old MicroPython (2017-08) But...
- Thu Dec 05, 2019 1:03 pm
- Forum: ESP32 boards
- Topic: About BLE.gap_connect(esp32-based ubluetooth)
- Replies: 44
- Views: 30508
Re: About BLE.gap_connect(esp32-based ubluetooth)
If so, can you share code that worked (for both the band and the thing connecting to it), This is some posts I wrote before, please don't mind that it's Chinese, there's all the code and download links. thank. 1、https://www.arduino.cn/thread-85796-1-1.html Esp32 arduino get heart rate 2、https://www...
- Tue Dec 03, 2019 5:20 am
- Forum: ESP32 boards
- Topic: About BLE.gap_connect(esp32-based ubluetooth)
- Replies: 44
- Views: 30508
Re: About BLE.gap_connect(esp32-based ubluetooth)
I'm hoping to read data of BLE heart rate band from micropython.
I'm on a business trip to another city, and when I return next week, I'll share the code, or email you.
thanks.
I'm on a business trip to another city, and when I return next week, I'll share the code, or email you.
thanks.
- Mon Dec 02, 2019 2:11 pm
- Forum: ESP32 boards
- Topic: About BLE.gap_connect(esp32-based ubluetooth)
- Replies: 44
- Views: 30508
Re: About BLE.gap_connect(esp32-based ubluetooth)
I'm connecting it with ESP32(arduino) and arduino 101 and Android Phones.They all work normally.(if so, what are you using to connect to it?
For micropython,I used to connect with old firmware(2017-08) and was able to connect successfully.
So, heart rate sensors work normally, maybe I'll wait.
- Wed Nov 27, 2019 2:43 pm
- Forum: ESP32 boards
- Topic: About BLE.gap_connect(esp32-based ubluetooth)
- Replies: 44
- Views: 30508
Re: About BLE.gap_connect(esp32-based ubluetooth)
Do I need some bug to be fixed? thanks Hi net0040. Sorry I'm not quite sure I understand what you're asking. Can you explain in a bit more detail what the issue you're seeing is? Hi jimmo, When I try to connect a ble thermometer using your code, the code runs as false. _ENV_SENSE_UUID in decode_ser...
- Wed Nov 27, 2019 5:31 am
- Forum: ESP32 boards
- Topic: About BLE.gap_connect(esp32-based ubluetooth)
- Replies: 44
- Views: 30508
Re: About BLE.gap_connect(esp32-based ubluetooth)
# org.bluetooth.characteristic.gap.appearance.xml _ADV_APPEARANCE_GENERIC_THERMOMETER = const(768) 1.Is this code necessary, please?When I deleted this code, I found that I could still read the data on the ble thermometer. 2.By looking at the data sheet,If I'm used for heart rate band reading, i sh...
- Wed Nov 27, 2019 5:14 am
- Forum: ESP32 boards
- Topic: About BLE.gap_connect(esp32-based ubluetooth)
- Replies: 44
- Views: 30508
Re: About BLE.gap_connect(esp32-based ubluetooth)
Do I need some bug to be fixed? thanks Hi net0040. Sorry I'm not quite sure I understand what you're asking. Can you explain in a bit more detail what the issue you're seeing is? Hi jimmo, When I try to connect a ble thermometer using your code, the code runs as false. _ENV_SENSE_UUID in decode_ser...
- Thu Nov 21, 2019 1:30 pm
- Forum: ESP32 boards
- Topic: If Bluetooth and ubluetooth modules coexist.
- Replies: 2
- Views: 1804
Re: If Bluetooth and ubluetooth modules coexist.
Simple version: The module is called "ublueooth", but "import bluetooth" and "import ubluetooth" are the same thing. You should use "import bluetooth" (same as "import machine, time, json, os") Longer version: In MicroPython most of the core libraries are named ufoo (including umachine, ubluetooth,...
- Thu Nov 21, 2019 9:28 am
- Forum: ESP32 boards
- Topic: If Bluetooth and ubluetooth modules coexist.
- Replies: 2
- Views: 1804
If Bluetooth and ubluetooth modules coexist.
In esp32 micropython firmware,such as v.20191121.
I want to know if Bluetooth and ubluetooth modules coexist. I see that the example is based on Bluetooth module.
And How long will this co-existence last?
thanks
I want to know if Bluetooth and ubluetooth modules coexist. I see that the example is based on Bluetooth module.
And How long will this co-existence last?
thanks
Code: Select all
import ubluetooth
import bluetooth
- Wed Nov 20, 2019 3:53 pm
- Forum: ESP32 boards
- Topic: About BLE.gap_connect(esp32-based ubluetooth)
- Replies: 44
- Views: 30508
Re: About BLE.gap_connect(esp32-based ubluetooth)
I used two examples of you, one is ble thermometer(another esp32), the other is reading thermometer data as central role. During the test, two problems were encountered: 1、 def _irq(self, event, data): if event == _IRQ_SCAN_RESULT: addr_type, addr, connectable, rssi, adv_data = data print(addr_type,...