GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - retsimx/tlsr8266_mesh: Collection of tools and code for reprogramming Tuya BLE smart lights (TYBT1) boards based on the TLSR8266 MCU with new Rust firmware.

BranchesTags
Open more actions menu

Latest commit

 

History

406 Commits
406 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
docs
docs
 
 
rust
rust
 
 
sdk
sdk
 
 
tests
tests
 
 
tools/probe
tools/probe
 
 
utilities
utilities
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 

Repository files navigation

TLSR8266 BLE Mesh Firmware in Rust

CI

A 100% Rust BLE mesh firmware for TLSR8266-based smart lights (such as the TYBT1), with a Rust SWire probe for initial flashing and Python utilities for BLE/UART OTA updates and mesh management. The firmware runs without any Telink proprietary library dependency, using a custom LLVM fork that emits TC32 objects directly (no Telink tc32-elf-* toolchain).

For the unmodified mesh SDK, see the project releases or the early commits of this repository.

Hardware

This project targets the following hardware:

  • TLSR8266-based devices — e.g. TYBT1 smart light bulbs
  • E104-BT05-TB — a TLSR8266 development board used for UART-based mesh management (product page)
  • Raspberry Pi Pico or Pico W — runs the Rust probe-pico SWire programmer firmware for initial flashing (physical access required)

Includes

  • Native LLVM TC32 backend (no vendor assembler, linker or C compiler)
  • 100% Rust BLE mesh firmware with Makefile (no libble or vendor library dependency)
  • Rust SWire probe — probe-pico RP2040 firmware plus the probe-tlsr host CLI, for direct flash programming, RTT logs and crash inspection
  • Original TYBT1 firmware backup
  • BLE OTA updater (compatible with OEM firmware and this firmware)
  • UART OTA updater (requires this firmware on the E104-BT05-TB)
  • Mesh adoption and management utilities

References

Heavily inspired by Raphael Baron's reverse-engineering work on the M6 fitness band (GitHub), and trust1995's improved TC32 processor specification for Ghidra.

Documentation

See the full documentation here.

About

Collection of tools and code for reprogramming Tuya BLE smart lights (TYBT1) boards based on the TLSR8266 MCU with new Rust firmware.

Topics

bluetooth-low-energyfirmwareopen-sourcerusttelinktlsrtlsr8266tuya

Resources

Readme
MIT license
Activity

Stars

23 stars

Watchers

3 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.