Skip to content

Implement GATT for Zephyr _bleio - #11179

Open
tannewt wants to merge 1 commit into
adafruit:mainfrom
tannewt:zephyr_gatt
Open

Implement GATT for Zephyr _bleio#11179
tannewt wants to merge 1 commit into
adafruit:mainfrom
tannewt:zephyr_gatt

Conversation

@tannewt

@tannewt tannewt commented Aug 5, 2026

Copy link
Copy Markdown
Member

Tested with BSIM and on nRF54LM20DK. CharacteristicBuffer and PacketBuffer are implemented as well. This hasn't been tested for BLE workflow so it may need allocation tweaks.

Includes many other small fixes:

  • bsim tests are done with nRF54LM20bsim too.
  • bsim exe binaries are saved.
  • nRF7002DK loses bleio because it doesn't have space.
  • Other boards have their slot1 removed in favor of slot0 growing.
  • Fix UUID length and byte order issues.
  • Remove extra common_hal function for remote services.

Code gen by DeepSeek V4 Pro. All prompted and reviewed by me.

This is a bunch of work towards #9904, implementing _bleio. Pairing and bonding remains.

@tannewt tannewt mentioned this pull request Aug 5, 2026
@dhalbert

dhalbert commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

BLE workflow issues can be examined in the context of the fixes in #11178. But fine to merge this first and not try to add to #11178 or this for any fixes.

Tested with BSIM and on nRF54LM20DK. CharacteristicBuffer and
PacketBuffer are implemented as well. This hasn't been tested for BLE
workflow so it may need allocation tweaks.

Includes many other small fixes:
* bsim tests are done with nRF54LM20bsim too.
* bsim exe binaries are saved.
* nRF7002DK loses bleio because it doesn't have space.
* Other boards have their slot1 removed in favor of slot0 growing.
* Fix UUID length and byte order issues.
* Remove extra common_hal function for remote services.

Code gen by DeepSeek V4 Pro. All prompted and reviewed by me.

This is a bunch of work towards micropython#9904, implementing _bleio. Pairing and
bonding remains.
@tannewt

tannewt commented Aug 6, 2026

Copy link
Copy Markdown
Member Author

Ok, I rebased this on top of the extmod stuff to remove the autogen changes here.

@tannewt
tannewt requested a review from dhalbert August 6, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants