0.1.6 UUID

This commit is contained in:
Rob Tillaart 2023-11-23 14:08:41 +01:00
parent 9b91d277fc
commit 51ad74ccd7
6 changed files with 22 additions and 12 deletions

View File

@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [0.1.6] - 2023-11-23
- update readme.md
## [0.1.5] - 2022-11-26
- update GitHub actions
- update license 2023
@ -14,7 +18,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- move code to .cpp
- minor edits
## [0.1.4] - 2022-11-26
- Add RP2040 support to build-CI.
- Add CHANGELOG.md

View File

@ -2,8 +2,11 @@
[![Arduino CI](https://github.com/RobTillaart/UUID/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
[![Arduino-lint](https://github.com/RobTillaart/UUID/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/UUID/actions/workflows/arduino-lint.yml)
[![JSON check](https://github.com/RobTillaart/UUID/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/UUID/actions/workflows/jsoncheck.yml)
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/UUID.svg)](https://github.com/RobTillaart/UUID/issues)
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/UUID/blob/master/LICENSE)
[![GitHub release](https://img.shields.io/github/release/RobTillaart/UUID.svg?maxAge=3600)](https://github.com/RobTillaart/UUID/releases)
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/UUID.svg)](https://registry.platformio.org/libraries/robtillaart/UUID)
# UUID
@ -148,14 +151,12 @@ Other tasks need to be done too (listening, transfer etc.).
## Future
#### Must
- improve documentation
- background
- test other platforms
#### Should
- optimize
@ -165,7 +166,6 @@ Other tasks need to be done too (listening, transfer etc.).
(not shocking, impact ?)
- smaller / faster random generator?
#### Could
- investigate entropy harvesting
@ -187,7 +187,6 @@ Other tasks need to be done too (listening, transfer etc.).
- RTC for entropy
- EEPROM to store last seeds? (n)
### Won't
- support for { and }
@ -197,3 +196,11 @@ Other tasks need to be done too (listening, transfer etc.).
- **next()** add 1 to UUID to generate a continuous sequence ?
## Support
If you appreciate my libraries, you can support the development and maintenance.
Improve the quality of the libraries by providing issues and Pull Requests, or
donate through PayPal or GitHub sponsors.
Thank you,

View File

@ -1,7 +1,7 @@
//
// FILE: UUID.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.5
// VERSION: 0.1.6
// DATE: 2022-06-14
// PURPOSE: Arduino Library for generating UUID's
// URL: https://github.com/RobTillaart/UUID
@ -59,7 +59,7 @@ void UUID::generate()
// note we are processing 2 digits in one loop.
if ((i & 0x1) == 0)
{
if ((4 <= i) && (i <= 10))
if ((4 <= i) && (i <= 10))
{
_buffer[j++] = '-';
}

View File

@ -2,7 +2,7 @@
//
// FILE: UUID.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.5
// VERSION: 0.1.6
// DATE: 2022-06-14
// PURPOSE: Arduino Library for generating UUID's
// URL: https://github.com/RobTillaart/UUID
@ -15,7 +15,7 @@
#include "Printable.h"
#define UUID_LIB_VERSION (F("0.1.5"))
#define UUID_LIB_VERSION (F("0.1.6"))
// TODO an enum?
const uint8_t UUID_MODE_VARIANT4 = 0;

View File

@ -15,9 +15,9 @@
"type": "git",
"url": "https://github.com/RobTillaart/UUID.git"
},
"version": "0.1.5",
"version": "0.1.6",
"license": "MIT",
"frameworks": "arduino",
"frameworks": "*",
"platforms": "*",
"headers": "UUID.h"
}

View File

@ -1,5 +1,5 @@
name=UUID
version=0.1.5
version=0.1.6
author=Rob Tillaart <rob.tillaart@gmail.com>
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
sentence=Arduino library for generating UUID's. (experimental).