Skip to content

nelcea/EmbeddedSwift-nRF52-BLEExamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Embedded Swift BLE examples on nRF52840

Introduction

Nordic Semiconductor have great resources about using their nRF Connect SDK (based on Zephyr) on their Nordic Developer Academy.
Their nRF Connect SDK Fundamentals course is a great introduction to developing with Zephyr.
And their Bluetooth Low Energy Fundamentals course is a great resource to learn about BLE, certainly on their board but also for learning about the protocol in general.
I would also recommend the Ellisys Bluetooth Video Series on YouTube for learning about BLE.

About these examples

The Bluetooth Low Energy Fundamentals course mentioned above contains quite a few code examples, all available on GitHub.
But of course, they're written in C, using the Zephyr SDK APIs.

This repository contains the same examples, converted to Swift.
My goal was to not have to write any custom C code to perform the same functionality as the original examples.
When I created custom Swift types, they usually implement the bare minimum for that specific example.
I have not tried to create a higher level abstraction Swift API (e.g. to offer a Core Bluetooth compatible API), this might be something I could tackle at a later stage.

Each example contains its own README file, describing some details about the specific example but considers that your have also read the information about the original Nordic example.

About

Embedded Swift version of the Nordic Dev Academy BLE examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors