From a86b0c6beaa2aa7ba9dd6dd37e9a35bb19ce784d Mon Sep 17 00:00:00 2001 From: philips77 Date: Wed, 6 Nov 2019 14:10:41 +0100 Subject: [PATCH] Doc fix --- Documentation/GETTING_STARTED.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/GETTING_STARTED.md b/Documentation/GETTING_STARTED.md index 85e024610..cff0c4470 100644 --- a/Documentation/GETTING_STARTED.md +++ b/Documentation/GETTING_STARTED.md @@ -85,7 +85,7 @@ Without setting the local Model and specifying the message types, each message w let nordicCompanyId: UInt16 = 0x0059 let element = Element(name: "Primary Element", location: .unknown, models: [ Model(sigModelId: 0x1001, delegate: GenericOnOffClientDelegate()), - Model(vendorModelId: (UInt32(nordicCompanyId) << 16) | 0x0001, delegate: SimpleOnOffDelegate()) + Model(vendorModelId: 0x0001, companyId: nordicCompanyId, delegate: SimpleOnOffDelegate()) ]) meshNetworkManager.localElements = [element] ```