Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Bluetooth Mesh Distributed Provisioning: A Method for Speeding up Provisioning of Large Bluetooth Mesh Networks
KTH, School of Electrical Engineering and Computer Science (EECS).
2024 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Bluetooth Mesh Distribuerad Provisionering : En metod för att påskynda provisionering av stora Bluetooth Mesh-nätverk (Swedish)
Abstract [en]

Bluetooth Mesh, as the name implies, is an extension of the Bluetooth Low Energy (BLE) standard, which enables the creation of mesh networks using Bluetooth devices. Provisioning is the act of adding nodes to the Bluetooth mesh network. While it is possible to provision a small network manually using a smartphone, larger networks, both in terms of device count and physical size, need a different approach. Existing solutions such as using Remote Provisioning (RPR) uses the provisioned network to remotely scan networks out of range of the provisioner, however this solution is time consuming for large networks. The main research question of this thesis is: "is it possible to provision the network in parallel from many nodes by distributing the address space and provisioning data among devices as the provisioning process proceeds?" Improving the provisioning speed directly enhances the productivity of both industry and academia by enabling more frequent testing and reconfiguration and faster deployment. A layout of nodes modeling an office environment was made in Blender. Then it is used to simulate the Bluetooth Mesh network with traffic between nodes that is specific to the proposed distributed method. The aforementioned method was then implemented in the Zephyr real-time operating system (RTOS) using a custom vendor model on each device in the mesh network, which enables sharing of the necessary keys, address ranges and node information. Additionally, an implementation was done for provisioning nodes using the RPR method. Both implementations were tested in WSI’s office using NRF52840 development boards. The results of the simulation showed that specific geometries and relay node selection play a large role in the interference observed and consequently the performance of the network. Furthermore, the testing showed that the distributed approach is always around 2× to 4× faster than the RPR method. However, the current implementation’s performance boost comes at the cost of code and Random Access Memory (RAM) space, address space fragmentation as well as some reduction in the reliability of the provisioning process. The work done in this thesis project can be expanded with different mesh sizes and layouts as well as testing with different authentication methods to gauge its effects on provisioning time. Furthermore, the node information database implementation could be improved, which would reduce the size of the preallocated database size and save RAM space.

Abstract [sv]

Bluetooth Mesh är, som namnet antyder, en utökning av BLE-standarden, som gör det möjligt att skapa mesh-nätverk med hjälp av Bluetooth-enheter. Provisionering innebär att noder läggs till i Bluetooth Mesh-nätverket. Det är möjligt att provisionera ett litet nätverk manuellt med hjälp av en smartphone, men större nätverk, både vad gäller antal enheter och fysisk storlek, kräver ett annat tillvägagångssätt. Befintliga lösningar vid att använda RPR, använder det provisionerade nätverket för att fjärrskanna nätverk utanför provisionerarens räckvidd, men den här lösningen är tidskrävande för stora nätverk. Den huvudsakliga forskningsfrågan i denna avhandling är: ”Är det möjligt att provisionera nätverket parallellt från många noder genom att fördela adressutrymmet och provisioneringsdata mellan enheter under provisioneringsprocessens gång?” Vid förbättring av provisioneringshastigheten ökar direkt produktiviteten inom både industrin och den akademiska världen genom att möjliggöra mer frekventa tester och omkonfigurationer samt snabbare driftsättning. En layout med noder som modellerar en kontorsmiljö skapades i Blender. Sedan användes den för att simulera Bluetooth Mesh-nätverket med trafik mellan noderna som är specifikt för den föreslagna distribuerade metoden. Den ovan nämnda metoden implementerades sedan i Zephyr RTOS med hjälp av en anpassad leverantörsmodell på varje enhet i mesh-nätverket, vilket möjliggör delande av nödvändiga nycklar, adressområden och nodinformation. Dessutom gjordes en implementering för provisionering av noder med hjälp av RPR-metoden. Båda implementationerna testades på WSI:s kontor med hjälp av NRF52840- utvecklingskort. Resultaten av simuleringen visade att specifika geometrier och val av relänoder spelar en stor roll för de störningar som observeras och därmed för nätverkets prestanda. Vidare visade testerna att det distribuerade tillvägagångssättet alltid är cirka 2× till 4× snabbare än RPR-metoden. Den nuvarande implementeringens prestandaförbättring sker dock på bekostnad av kod- och RAM-utrymme, fragmentering av adressutrymmet samt en viss minskning av tillförlitligheten i provisioneringsprocessen. Det arbete som utförts i detta examensarbete kan utökas med olika mesh och layouter samt testning med olika autentiseringsmetoder för att mäta dess effekter på provisioneringstiden. Dessutom kan implementeringen av nodinformations- databasen förbättras, vilket skulle minska storleken på den förallokerade databasstorleken och spara RAM utrymme.

Place, publisher, year, edition, pages
2024. , p. 91
Series
TRITA-EECS-EX ; 2024:922
Keywords [en]
Bluetooth, Bluetooth Mesh, Provisioning, Distributed, NRF52840, Zephyr
Keywords [sv]
Bluetooth, Bluetooth Mesh, Provisionering, Distribuerat, NRF52840, Zephyr
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-361035OAI: oai:DiVA.org:kth-361035DiVA, id: diva2:1943530
External cooperation
Sigma Connectivity WSI AB
Supervisors
Examiners
Available from: 2025-03-17 Created: 2025-03-11 Last updated: 2025-03-19Bibliographically approved

Open Access in DiVA

fulltext(2568 kB)44 downloads
File information
File name FULLTEXT02.pdfFile size 2568 kBChecksum SHA-512
d735dc60bf15e7317584ae14a628238795ff1ce9da9b51bee44689da3fc295e6e2b5565f9612b7a0c85afa767fbc09543e83fef9641ecdeefe39da63ff134572
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 44 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 320 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf