Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

ntoh / htoh sections wrong #11

Open
@spike411

Description

https://control4.github.io/docs-driverworks-api/#ntoh-1

ntoh 1
Function called from DriverWorks driver to get a capability from the driver’s .c4z file. This API should not be invoked during OnDriverInit.

The example also shows the GetCapability functions.

https://control4.github.io/docs-driverworks-api/#htoh-2

The title says htoh 2, the signature says C4:htoh_1(), the example shows nbo = C4:ntoh_l(0x34120000).

Does htoh (host to host) even make any sense?

I also had to read the whole description to figure out that 'h' means 'host' (I guessed that 'n' means 'network' because it's mentioned at the beginning).

Maybe it would be nice to spell out 'network to host' and 'host to network' somewhere at the beginning of the functions' respective descriptions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions