From 66b9f5371b5fe3b9103a7d89ab0700ba02314989 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Fri, 17 Apr 2020 10:10:47 -0400 Subject: [PATCH] Updating Readme to include options array --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index daf85b9..e7547b0 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Define your company ID and broadcast your UUID with additional data. Start: ```js BLEAdvertiser.setCompanyId(0x00); // Your Company's Code -BLEAdvertiser.broadcast(UUID, [ManufacturerData]) // The UUID you would like to advertise and additional manufacturer data. +BLEAdvertiser.broadcast(UUID, [ManufacturerData], {}) // The UUID you would like to advertise and additional manufacturer data. .then(success => console.log('Broadcasting Sucessful', success)) .catch(error => console.log('Broadcasting Error', error)); ```