Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP-C3-32S Error creating custom BLE Service #6136

Closed
rlangoy opened this issue Mar 10, 2022 · 5 comments
Closed

ESP-C3-32S Error creating custom BLE Service #6136

rlangoy opened this issue Mar 10, 2022 · 5 comments
Labels

Comments

@rlangoy
Copy link

rlangoy commented Mar 10, 2022

CircuitPython version

Adafruit CircuitPython 7.2.0 on 2022-02-24; AITHinker ESP32-C3S_Kit with ESP32-C3FN4

Code/REPL

from adafruit_ble.services import Service
from adafruit_ble.uuid import StandardUUID

class MyService(Service):
    uuid = StandardUUID(0xA000) # (0xA000 - my/Custom Service ID)
       
mySevice= MyService()

Behavior

Traceback (most recent call last):
File "", line 8, in
File "adafruit_ble/services/init.py", line 36, in init
NotImplementedError:

Description

Looks like StandardUUID is not working.
Code works on the nRF8240-Dongle

Additional information

Boot info:
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x1 (POWERON),boot:0xd (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:2
load:0x3fcd6100,len:0x1374
load:0x403ce000,len:0x8f0
load:0x403d0000,len:0x2c4c
entry 0x403ce000
Adafruit CircuitPython 7.2.0 on 2022-02-24; AITHinker ESP32-C3S_Kit with ESP32-C3FN4
Board ID:ai_thinker_esp32-c3s

@rlangoy rlangoy added the bug label Mar 10, 2022
@ladyada
Copy link
Member

ladyada commented Mar 10, 2022

not surprising because we haven't added native BLE support for the ESP32 series :)
#5926
closing as a duplicate, please subscribe to the above for updates!

@ladyada ladyada closed this as completed Mar 10, 2022
@rlangoy
Copy link
Author

rlangoy commented Mar 10, 2022

Sorry for reporting a known bug. But thanks for replying :)
I was confused du to the 7.2 release note

Notable additions to 7.2.0 since 7.1.1

  • Espressif ESP32-S3 and ESP32-C3 support, including BLE.

@tannewt
Copy link
Member

tannewt commented Mar 10, 2022

BLE support is not complete. It supports GATT client but not GATT server.

@casainho
Copy link

BLE support is not complete. It supports GATT client but not GATT server.

Is anyone working on this, to implement the GATT server to ESP3-S3 or C3? if so, I can help doing some tests.

@dhalbert
Copy link
Collaborator

See #5926 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants